samsung-mobile

Unable to receive SMS receive broadcast on Galaxy SIII running 4.1.1

早过忘川 提交于 2019-12-04 22:27:59
I have this problem only on Samsung Galaxy SIII running Android 4.1.1. There is no problem on Samsung Galaxy Ace and Samsung Galaxy Y. The broadcast SMS received is not firing up, when SMS is received. No other SMS app is installed on the phone. I am using the following code to receive the SMS broadcast smsReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "Inside onReceive of smsReceiver"); Bundle bundle = intent.getExtras(); Object[] messages = (Object[]) bundle.get("pdus"); SmsMessage[] sms = new SmsMessage[messages.length]; //

DragEventListener not working on Samsung S7 (6.0)

╄→гoц情女王★ 提交于 2019-12-04 20:15:36
I'm looking for a direction to go with this one. I have a card melding game ( Five Kings ) which has been up for about 6 months; my latest version 0.9.22 has been stable since March. However, recently I have been getting reports of users unable to drag discards to the discard pile, and the common thread seems to be Samsung S7 with Android 6.0 . When you drag a card from your hand, the places you can drag turn transparent and when you drag over them they go back to normal (alpha=1). Other places you can drag seem to be working ok, but the discard pile doesn't go dim or bright, which makes me

How to find the gps in the android device is correctly working or not?

二次信任 提交于 2019-12-04 19:57:00
I'm developing an android application for mobiles and tablets. I'm using android version 2.2 , API 8. In my application, I want to capture the location co-ordinates via gps and send to server. It's working fine . When I working in my office (near to my office) the gps - co-ordinates captured correctly in android devices But in only one device the co-ordinates captured wrongly. I'm in Alwarpet,chennai,india .But, I run that device it shows " Andra pradesh" or bay of "bengal ".But all other device shows correct location. I think there is a fault in device. But I'm not sure. How to find the gps

Android MediaPlayer not playing on Galaxy S6 with Android 5.1.1

流过昼夜 提交于 2019-12-04 19:29:14
问题 I'm seeing an issue that is specific to the Galaxy S6 running Android 5.1.1. I'm using MediaPlayer to play audio streams and on this specific configuration of device and Android version, it fails to ever reach the onPrepared method, and therefore never plays. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mAndroidPlayer = new MediaPlayer(); mAndroidPlayer.setOnErrorListener(new MediaPlayer

Native crashes received in Samsung devices only with Lollipop 5.0 & 5.1 versions

纵饮孤独 提交于 2019-12-04 18:22:13
问题 Since past 2 months, we have started receiving native crashes in our developer console only for some Samsung devices. Here is the crash trace *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung/ha3gjv/ha3g:5.0/LRX21V/N9000QXXUEBOG3:user/release-keys' Revision: '11' ABI: 'arm' pid: 10422, tid: 10478, name: AsyncTask #2 >>> com.sample.app <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c r0 131413a0 r1 131413a0 r2 b1687070 r3 00262827 r4

Samsung android 6.0 how to get dual sim call logs with sim slot id?

蓝咒 提交于 2019-12-04 17:24:51
Samsung(dual sim) before offical android 6.0(not cm) device, I could get call logs with sim slot id, but Samsung(dual sim) android 6.0+ device I get an issue: String slotId = cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ID)); <i>slotId</i> = null; but in another device (Huawei mate 8) is work fine Did samsung modify the com.android.providers.contacts and contacts2.db? Can someone guide through the solution for this? Update news : I find one solution boolean s_bSamsung; if (Build.VERSION_CODES.M <= Build.VERSION.SDK_INT && s_bSamsung){ uri = Uri.parse("content://logs/call"

GIF doesn't display on Samsung Galaxy Note 2

主宰稳场 提交于 2019-12-04 15:52:46
I have problem with displaying GIF on Samsung Galaxy Note 2 (Android 4.1.1) in my app. Everything is fine on Galaxy Nexus 7 emulator and others. Here is my source code: public class ShouldersEx1 extends Activity { View view; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); view = findViewById(R.id.image_arms_ex1); setContentView(R.layout.shoulders_ex1); } } public class GIFView extends View { private Movie movie; private long moviestart; public GIFView(Context context) throws IOException { super(context); movie = Movie.decodeStream(getResources

Android marshmallow : Galaxy Note 4 Screen Overlay Detected

前提是你 提交于 2019-12-04 14:07:30
I have a Samsung note 4 phone. I am facing error of Screen Overlay Detected message. Please tell me how to solve this error. I ran into this issue with my Samsung Note 4. In my case it was the Side key panel which was causing this problem. I turned it off and the problem went away. Settings -> Display and Wallpaper -> One-handed operation. Uncheck Side key panel. If this doesn't apply to you or doesn't solve the issue, please check other apps that have 'Draw over other apps' or 'Apps that can appear on top' setting enabled. Try disabling the setting for each app and see if it resolves the

Native window rendering issue on Samsung Galaxy S3

邮差的信 提交于 2019-12-04 12:43:06
I am using Skia (prebuilt) to draw in an android native window, that i get from a java surface. The code performs well on every device I could test it on, except for a Samsung Galaxy S3 (with android 4.0.4 on it). The first image is what I should see, and the second what appears on the Galaxy S3: The jni function that draws the rectangle is: JNIEXPORT void JNICALL Java_com_test_TestSkia_InitializeWindow(JNIEnv* env, jobject thiz, jobject surface) { ANativeWindow* window = ANativeWindow_fromSurface(env, surface); ANativeWindow_Buffer buffer; ANativeWindow_lock(window, &buffer, NULL); SkBitmap

How to fix section mismatch errors during cross compile of android

别来无恙 提交于 2019-12-04 12:07:39
I am using the google ndk toolchain to cross compile an image for my Samsung Note 3 SM-N900P model. I downloaded the Kitkat version of Samsung Source code, and believe I have followed the instructions in the Kernel Readme file. It stated to use 4.7 toolchain, and I found it in NDK version 8d. But I get the following error: ERROR: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' To build the kernel despite the mismatches, build with: 'make CONFIG_NO_ERROR_ON_MISMATCH=y' (NOTE: This is not recommended) /home/sansari/android