samsung-mobile

Unable to receive SMS receive broadcast on Galaxy SIII running 4.1.1

霸气de小男生 提交于 2019-12-12 09:27:51
问题 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();

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

北城余情 提交于 2019-12-12 09:11:23
问题 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? 回答1: Update news : I find one solution boolean s

How can I address the Samsung Android browser?

本秂侑毒 提交于 2019-12-12 08:39:15
问题 I'm working on a responsive website and I have a weird CSS/JS issue with the default touchwiz browser of Android Samsung devices . I've searched on StackOverflow, finding some unhelpful answers like this. I have the physical devices to test on , but since it's not possible to do remote debugging on these browsers it's really time consuming to make changes, deploy them a QA server, test, and retry. Any idea on how can I speed up my testing or targeting that specific browsers? Useragent is not

How to stop excessive Object creation on Samsung phones?

不羁岁月 提交于 2019-12-12 08:29:55
问题 I am have problems with animations slowing down on many Android Samsung phones. I have traced the problem and it is too much garbage collection. However, none of the objects are being created directly by my code. This is the stack trace from the Allocation Tracker in DDMS. at com.samsung.android.multiwindow.MultiWindowStyle$1.createFromParcel(MultiWindowStyle.java:493) at com.samsung.android.multiwindow.MultiWindowStyle$1.createFromParcel(MultiWindowStyle.java:491) at com.samsung.android

android httpclient.execute exception

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 08:08:42
问题 When I test on simulator, it works, but when test with my device (galaxy s3), it keeps throwing errors, when during the following code: HttpResponse response; response = httpclient.execute(httppost); the exceptions: 09-03 08:16:49.018: E/AndroidRuntime(24254): java.lang.RuntimeException: Unable to start activity ComponentInfo{sg.dianping/sg.dianping.activity.ItemListActivity}: android.os.NetworkOnMainThreadException 09-03 08:16:49.018: E/AndroidRuntime(24254): at android.app.ActivityThread

GCM doesn't work on samsung tablets

删除回忆录丶 提交于 2019-12-12 06:29:09
问题 I verified that the app can receive notifications on galaxy nexus tablet (4.2)and samsung galaxy s3 phone(4.1.1), but cannot work on samsung galaxy tab 10.1 (4.0.4) and samsung 7 inch tablet(4.0.4) There is more than one google account signed in to the tablet. I received the registration ID, and while I send the notifications I get the error Error log, 05-22 14:40:47.220: W/GTalkService(10357): [DataMsgMgr] broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm

Can WiFi Direct do device to device communication other than file sharing?

*爱你&永不变心* 提交于 2019-12-12 03:54:45
问题 I am playing with WiFi Direct on a Samsung Galaxy S3 smartphone and a Galaxy tablet. I can share pictures and files between the two using WiFi Direct, either from the Android built-in Share option or some third party apps. But what I am really interested is to do some real time communication programmatically between the two. Is it true that an Android app can do any kind of normal WiFi communication once I have a working WiFi Direct connection? If yes, any references(ideally some example code

App inventor displaying html code instead of dynamic table

五迷三道 提交于 2019-12-12 02:59:09
问题 I have an app that needs to collect data in a csv format from google sheets into app inventor also the html code is supposed to load the table to make the data downloaded more presentable. My results in app screen: 回答1: After looking at your project, I found out, that the end-of-line characters of your asset table.html somehow disappeared. And after uploading the correct asset table.html including the end-of-line characters, everything works fine again. 来源: https://stackoverflow.com/questions

AlarmManager doesn't work on samsung device with Android lollipop 5.0.2

流过昼夜 提交于 2019-12-12 02:57:39
问题 I have an issue with the AlarmManager API, it doesn't fire at all on my samsung device, but it works on other Android device... My code is like that: public void setAlarm(int hourAlarm, int minutesAlarm, int numeroAlarm, boolean yesOrNoRepeatAlarm) { PendingIntent pendingIntent = PendingIntent.getBroadcast(this, numeroAlarm, broadcastIntent, PendingIntent.FLAG_UPDATE_CURRENT); Log.i("numeroAlarm", numeroAlarm + ""); Calendar calendar = Calendar.getInstance(); if( (calendar.get(Calendar.HOUR

Android GLES20 works on bionic 4.1.2 but not on Samsung 4.4.2

懵懂的女人 提交于 2019-12-12 02:56:12
问题 I have an app that I'm working on that uses openGL ES 2.0 on an android device. The app contains some buttons that are displayed using programmatic layout controls. This button pad is superimposed on a OpenGl Surface View. When I run the app on the tablet the buttons appear but the Surface View is grey, the color of the background for the 3d model I've created. This leads me to believe there's something wrong with my shaders. I use many uniform vec2's in my fragment shader. I'm looking at