samsung-mobile

While connecting to BLE113 from android 4.3 is logging “Client registered, waiting for callback”

北战南征 提交于 2019-12-06 13:44:47
问题 I'm trying to connect to a BlueGiga BLE113 device and my Samsung Galaxy S4(Android 4.3). I can successfully discover the device but unable to connect and discover services. This is the log after pushing the button to connect. 12-30 16:38:34.012: D/BluetoothGatt(11280): registerApp() 12-30 16:38:34.012: D/BluetoothGatt(11280): registerApp() - UUID=5a5ac8ad-7583-457f-ba60-373c3beaf1b2 12-30 16:38:34.022: D/BluetoothGatt(11280): onClientRegistered() - status=0 clientIf=8 12-30 16:38:34.022: I

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

荒凉一梦 提交于 2019-12-06 12:47:25
问题 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

GIF doesn't display on Samsung Galaxy Note 2

为君一笑 提交于 2019-12-06 09:55:10
问题 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;

Android device is not recognized in adb

痞子三分冷 提交于 2019-12-06 09:10:58
I'm having a huge problem with my android samsung galaxy tab 7". Whenever I try to connect it to my computer, instead of showing normally in my adb devices, the name of the device is : ????? and it status is online or device. I really don't know what is the problem, any help would be really appreciated. If you need more info, I would be happy to give it. Ubuntu : 11.04 Device : Samsung galaxy tab 7" Android version : 3.2 HoneyComb I also added the rules in /etc/udev/rules.d/51-android.rules Thank you very much! When this happens to me, I have to restart adb as follows: $ adb kill-server $ sudo

Native window rendering issue on Samsung Galaxy S3

不问归期 提交于 2019-12-06 06:36:45
问题 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

Android Download Manager Issue in Samsung Tab GT-P3100

为君一笑 提交于 2019-12-06 06:29:06
问题 I am not able to download files using DownloadManager in the aforementioned device. The same code works for all other devices. The question is why is it not working only in this device. If it's a Samsung specific issue, is there a workaround for this? I have tried changing directories to which the download should happen but that didn't work either. Android OS: 4.1.2 Crash Logs: 09-24 15:48:34.298: E/ActivityThread(19843): Failed to find provider info for downloads 09-24 15:48:34.306: D

Samsung Galaxy S5 media query

↘锁芯ラ 提交于 2019-12-06 04:14:29
I've done a bit of searching and have tried a few different things, but for the life of me I cannot seem to specifically target the Samsung Galaxy S5. I'm just playing around with a few things while working on a site but nothing I try seems to target the specific device. Here is what I have tried so far: @media only screen (min-resolution: 144dpi) and (device-width: 1920px) and (orientation: landscape) {/*styles here*/} @media screen (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) and (device-width: 1920px) and (orientation: landscape) {/*styles here*/} @media only screen

Getting neighboring cells information using android Samsung galaxy smartphones

无人久伴 提交于 2019-12-06 00:24:33
My target is to get all neighboring cell towers information like cell id, cell lac and RSS values, I used the class telephonyManager.getNeighboringCellInfo() to get required information but it return null every time. But, I succeeded to get the nearest single cell tower information which connected to mobile (i.e serving cell) using telephonyManager.getCellLocation() . I tried to fix this problem and searched on every thing related it, then we found that all samsung devices can not support telephonyManager.getNeighboringCellInfo() class and it does not apply on Samsung but its working on HTC

Galaxy S4 SupportActionBar covers whole screen in ActionMode

北城以北 提交于 2019-12-05 20:58:44
The Samsung Galaxy S4 shows a very weird behavior when going into ACtionMode on my app which is using SupportActionBar from Support-v7. Has anyone an idea how to fix this? I guess the issue comes from Samsung custom Android-Rom. I solved this changing the parent of my custom actionmode theme from: <style name="MyApp.Widget.ActionMode" parent="@style/Widget.AppCompat.ActionMode"> to: <style name="Apo.Widget.ActionMode" parent="@style/Widget.AppCompat.Light.ActionMode.Inverse"> For some reason those themes don't seem valid in the latest AppCompat libraries (I tried Widget.AppCompat.ActionMode

Couldn't create directory for SharedPreferences

坚强是说给别人听的谎言 提交于 2019-12-05 18:22:56
I am getting the following error only on Samsung device. Went through this but it doesn't really provide a solution. Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml To be specific: This is how I have declared SharedPreferences in onCreate settings = getSharedPreferences("preferences", MODE_PRIVATE); Willis Based on a similar post it looks as if this error is specific to Samsung devices; this was confirmed by multiple users - Error creating SharedPreferences - couldn't create directory for SharedPreferences file It might be worthwhile to open an issue. Follow the