samsung-mobile

Android :android:configChanges value for Font Style change in Samsung Device

家住魔仙堡 提交于 2019-11-29 08:08:57
Want to handle the Font Style Change myself.what will be the value? Using the below values now.But the system kills the app and restarts . android:configChanges="orientation|keyboardHidden|fontScale|locale|layoutDirection|screenSize|screenLayout|mnc|mcc|uiMode|navigation|smallestScreenSize" Thanks Nitz I don't think this is possible, unfortunately. This seems to be using a different mechanism instead of configuration changes. Setting up a service to listen for android.intent.action.CONFIGURATION_CHANGED does not receive an Intent when a new font is selected in the dialog (but it does when the

DatePicker crash in samsung with android 5.0

萝らか妹 提交于 2019-11-29 05:27:35
问题 I am having trouble with creating a datepicker in samsung note 2 device with lollipop 5.0. The exception is: java.util.IllegalFormatConversionException: %d can not format java.lang.String arguments at java.util.Formatter.badArgumentType(Formatter.java:1489) at java.util.Formatter.transformFromInteger(Formatter.java:1689) at java.util.Formatter.transform(Formatter.java:1461) at java.util.Formatter.doFormat(Formatter.java:1081) at java.util.Formatter.format(Formatter.java:1042) at java.util

Samsung Galaxy bluetooth drivers

↘锁芯ラ 提交于 2019-11-29 04:12:24
问题 I have written an application for Android. the main part being that it communicates via bluetooth. I have four devices: 1. Samsung Galaxy S2 2. Samsung Galaxy Gio 3. Netsurfer touch (A REALLY low end locally [South Africa] produced android tablet) 4. A Motorolla ET1 Now I have written my app - I need to test the complete structure. I first wrote the bluetooth side (since that was what I had the least experience in) - and the only device I can get to work is the Netsurfer touch. It uses

Creating Galaxy S4 emulator

China☆狼群 提交于 2019-11-29 00:47:16
问题 I am trying to run my app specifically on Galaxy S4. But I do not have the real time device. So, I'm trying to create the emulator for Galaxy S4. I have a normal Core I3 system with 4GB RAM. It doesn't have any graphics card and all. I am finding the ways for installing the Samsung Galaxy S4 add-ons to my sdk. But I am not getting it. I referred these links, Android Galaxy S4 Emulator Not Opening How to test android app in Galaxy S4 configuration using emulator? http://developer.samsung.com

RuntimeException with Dagger 2 on Android 7.0 and Samsung devices

北战南征 提交于 2019-11-28 17:51:31
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.handleMessage (ActivityThread.java:1642) at android.os.Handler.dispatchMessage (Handler.java:102) at android.os

sendUserActionEvent() mView==null on Samsung Tab3

烈酒焚心 提交于 2019-11-28 11:39:15
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. KyleCrowley In regards to the sendUserActionEvent() mView==null , it is a know bug with Samsung devices (see this and this ). If it works on non-Samsung devices, then it is not your fault, it is Samsung's. However, you should try and find a workaround if you can.

Android proximity sensor issue only in Samsung devices

核能气质少年 提交于 2019-11-28 11:13:44
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 on the mentioned devices. UPDATE: What is mentioned below is not the only issue, the proximity sensor

Android FingerPrint API isHardwareDetected returns false for Samsung Note 4

允我心安 提交于 2019-11-28 11:03:44
问题 I am trying to implement FingerPrint Scanner in my app. I followed below tutorial: http://www.techotopia.com/index.php/An_Android_Fingerprint_Authentication_Tutorial In Samsung Note 4, FingerPrintManager's isHardwareDetected() is returned as false even though I successfully registered two fingerprints from Settings. Does anyone of you know what might be the reason? Thanks. 回答1: I'm afraid the Note 4 doesn't support the Fingerprint API (just the Samsung Fingerprint). You should try your code

SGS-3 bug related to SMS conversations list?

你。 提交于 2019-11-28 09:28:02
This issue was reported several times, but still not resolved yet. I read all messages/thread which somehow related to this topic either in Samsung's developers site or in StackOverflow Let me again describe whole problem just in few words: Developers used to get list of SMS conversations through simple query like: Uri.parse("content://mms-sms/conversations/"); Cursor cursor = context.getApplicationContext().getContentResolver().query(uri, null, null, null, null); or something like this. Key point here's URI address: content://mms-sms/conversations Everyone knows that it's unofficial and one's

Android app crash NoClassDefFoundError on Samsung Lollipop devices

烂漫一生 提交于 2019-11-28 09:02:23
问题 We recently bumped the minSdkVersion of our app from 16 (Jellybean) to 21 (Lollipop). Although we did extensive testing with our app predominantly using debug builds, we are now facing a slew of production crashes at app startup, predominantly on older Samsung devices - (Note3 and S4 are the top crashers) and always on Lollipop. The error is Fatal Exception: java.lang.NoClassDefFoundError: com.retailconvergence.ruelala.delegate.GoogleLoginDelegate at com.retailconvergence.ruelala.delegate