samsung-mobile

Android: AVD-Settings for Galaxy S3-Like AVD

谁都会走 提交于 2019-11-27 12:05:23
问题 I need help with the AVD-Settings for my new Virtual Device. I need the settings for an AVD that has the same size like the new Samsung Galaxy S3. 回答1: I just saw a detailed description here: http://forum.xda-developers.com/showthread.php?t=2365104 : Name: Samsung_Galaxy_S3_IceCream Target: Android 4.0 (Api level 14) SDCard: 16 Gb Skin: WVGA800 Hardware: Size 4.8 inches (~65.9% screen-to-body ratio) Resolution 720 x 1280 pixels (~306 ppi pixel density) Device Ram Size: 1024 Hardware Back/Home

Camera : setDisplayOrientation function is not working for Samsung Galaxy ACE with Android 2.3.6

為{幸葍}努か 提交于 2019-11-27 11:57:36
I was trying to create a simple camera application for research. I Read Android Camera Official Document and then started coding. so I did some steps to get it work 1.Added required permissions for Camera feature in app. 2.locked my activity to PORTRAIT mode only. setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 3.Added several camera callbacks to get my camera works. SurfaceHolder.Callback, Camera.PreviewCallback AutoFocusCallback ShutterCallback PictureCallback for RAW image data PictureCallback for JPG image data 4.In surfaceChanged method I am customizing camera settings.

RuntimeException with Dagger 2 on Android 7.0 and Samsung devices

喜欢而已 提交于 2019-11-27 11:03:20
问题 On my Google Play console I see quite a lot crash reports since I started to use Dagger 2, but only on Android 7.0 and mainly on Samsung devices, some Huawai and Motorola devices and some rare Xperia devices: java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2984) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3045) at android.app.ActivityThread.-wrap14 (ActivityThread.java) at android.app.ActivityThread$H

Chrome's remote debugging (USB debugging) not working for Samsung Galaxy S3 running android 4.3

末鹿安然 提交于 2019-11-27 10:04:49
Ever since I upgraded my Samsung Galaxy S3 to android 4.3 (from 4.1.2) I am unable to use Chrome's remote debugging for android (more details here ). I have the developer options and USB debugging enabled on my phone, and this worked perfectly fine on android 4.1.2. Now, when I connect my phone to my PC, it simply connects as a media storage device and is not discovered as a USB device by chrome. I am ruling out any problems with chrome as I could USB debug with a Google Nexus4, also, looking at some other thread (here and elsewhere) it seems to be a problem with Samsung's 4.3 upgrade. Any

Can you inspect element on a Samsung tablet's default Internet application

会有一股神秘感。 提交于 2019-11-27 08:13:43
问题 Is there any way of inspecting element on a Samsung tablet using the default Internet Application? I have some bugs that need sorting that only appear in the native Samsung / Android 'Internet' application. 回答1: Samsung Internet can be debugged remotely using Chrome on the desktop. Any pages you have open in Samsung Internet should be listed for inspection under chrome://inspect : As Ada shared here, you can also enable port forwarding and connect to a server running on your desktop machine.

Turn ON/OFF Camera LED/flash light in Samsung Galaxy Ace 2.2.1 & Galaxy Tab

巧了我就是萌 提交于 2019-11-27 07:39:49
I am turning ON Camera LED light using FLASH_MODE_ON . Samsung Galaxy Ace have only three flash modes : on, off and auto. FLASH_MODE_TORCH not working in Samsung Galaxy Tab & Samsung Galaxy Ace 2.2.1 Here is my code how i am turning ON my Camera LED Camera cam; cam = Camera.open(); Parameters params = cam.getParameters(); params.setFlashMode(Parameters.FLASH_MODE_ON); cam.setParameters(params); cam.startPreview(); cam.autoFocus(new AutoFocusCallback() { public void onAutoFocus(boolean success, Camera camera) { } }); And turning it off by using : cam.stopPreview(); cam.release(); Code Reference

samsung note 2 and note 3 screen bucket

我的梦境 提交于 2019-11-27 07:07:45
问题 What screen bucket do the Samsung Note 2 and Note 3 report? "Normal" or "Large"? Here are stats on the two phones: Model Dimensions Density Density Bucket DP Dimensions note2 720px x 1280px 265dpi hdpi 480dp x 853dp note3 1080px x 1920px 386dpi xhdpi 540dp x 960dp This post from Diane Hackborn: http://android-developers.blogspot.com/2011/07/new-tools-for-managing-screen-sizes.html ...says that "large" screens are at least 480dp x 640dp, so both these phones would qualify. What I'd like to

sendUserActionEvent() mView==null on Samsung Tab3

孤街醉人 提交于 2019-11-27 06:22:18
问题 I am trying to preview an image after capturing it using camera from inside my app, I am sure the path is not null but I am receiving this error in this line of code Bitmap bitmap = BitmapFactory.decodeFile(fileUri.getPath(),options); and there is no image view. Note: I tested the code on another device (not Samsung) and it works. 回答1: I found a fix for this problem. Unfortunately, on some Samsung devices there is a problem with the built-in camera app that it causes screen rotation which

Android proximity sensor issue only in Samsung devices

浪尽此生 提交于 2019-11-27 06:02:43
问题 Specific scenario to avoid problems: Behaviour for Activity in Samsung devices was different in the manner that every time there was a change detected, for proximity, it resulted in a call to onPause()/onResume() ONLY on SAMSUNG devices. I was clearing the proximity sensors in onPause() which resulted in a behaviour unique to Samsung devices. Hope this saves some time for anybody who's facing this. I removed the call of clearing proximity listeners from onPause() and now it works as expected

Camera : setDisplayOrientation function is not working for Samsung Galaxy ACE with Android 2.3.6

梦想的初衷 提交于 2019-11-27 04:04:30
问题 I was trying to create a simple camera application for research. I Read Android Camera Official Document and then started coding. so I did some steps to get it work 1.Added required permissions for Camera feature in app. 2.locked my activity to PORTRAIT mode only. setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 3.Added several camera callbacks to get my camera works. SurfaceHolder.Callback, Camera.PreviewCallback AutoFocusCallback ShutterCallback PictureCallback for RAW