Questions tagged [samsung-mobile]

This tag is for questions related to application development issues affecting just Samsung Mobile devices.

This tag is for questions related to application development issues affecting just Samsung Mobile devices.

1611 questions
2
votes
0 answers

Unable to debug Threads on Samsung Galaxy S5 (Android 5.0)

Since I have updated Galaxy S5 to Lollipop I'm unable to debug only part of the code that is run in the background. In cases i put breakpoint somewhere on UI code, execution will normally halt there. Prior to update debugging threads was…
Drago
  • 141
  • 1
  • 6
2
votes
0 answers

Could not allocate CursorWindow '/data/data/com.app/databases/appName.db' of size 123456 due to error -12

I get those error every time on SGS4 while using sqlite, and on other devices like SGS3 it works pretty good (with no issues). Regards
Jacob
  • 14,949
  • 19
  • 51
  • 74
2
votes
0 answers

UnsatisfiedLinkError when installing APK on Note 4 through ADB

I recently got a new phone the Samsung Galaxy Note 4 (SM-910F) when I use the phone for app development when a install a debug build via Android Studio or ADB or with the gradle build tools. I'm getting the following error when trying to install the…
Aegis
  • 5,761
  • 2
  • 33
  • 42
2
votes
3 answers

Android phone "DCD ON" error, constantly running in Logcat

I am trying to run and test my app, but in my LogCat (besides the usual stacktrace from my app), I get all this weird extra red errors, and have no idea what it is from. It is frustrating because it keeps adding more lines, when I am just trying to…
Azurespot
  • 3,066
  • 3
  • 45
  • 73
2
votes
1 answer

SecurityException: Permission Denial

Background I'm working on an Android app that controls the screen rotation. The app is available on the Google Play store. To control the screen rotation, the app disables system auto rotation and changes the values of USER_ROTATION. The source code…
Sam
  • 40,644
  • 36
  • 176
  • 219
2
votes
2 answers

Galaxy Note 4 CSS Pixels

Does anyone know what the CSS pixel resolution for the Galaxy Note 4 is? I can't seem to find this or the device pixel ratio anywhere. A couple places I've looked that I thought would have this information but…
ghodges
  • 35
  • 1
  • 6
2
votes
1 answer

Android GPS Location Request Failed for Some Phones

I am currently developing an android app using the android.location.API. Usually the GPS location request succeeded in some phones(Galaxy Note2) but failed(getLastKnownLocation() returns null) in others(Galaxy S3 and S4). It was weird that the GPS…
GilbertLee
  • 654
  • 1
  • 6
  • 21
2
votes
0 answers

NPE on menu creation for certain devices

On a live app, I'm receiving the following crash report: java.lang.NullPointerException at android.support.v7.app.ActionBarImplICS.getThemedContext(ActionBarImplICS.java:302) at…
Running Turtle
  • 12,360
  • 20
  • 55
  • 73
2
votes
1 answer

Custom layout redraw issue on Galaxy S2,S3, and S4

I have a custom Layout (extends FrameLayout) with a few items in it. Each item is a custom View that can load the corresponding object (Let's say a user's profile, display picture, etc.). These views are contained inside a few LinearLayouts (rows)…
copolii
  • 14,208
  • 10
  • 51
  • 80
2
votes
1 answer

Gear SDK SAFileTransfer FILE_IO error

I'm trying to send file from Android host to Samsung Gear device using Samsung Mobile SDK no matter how had I try, always get FILE_IO error. I was trying all available permissions (on both sides). Could anyone send me any hint? Android…
2
votes
1 answer

App Theme not applied when entering search mode on Samsung

I have a strange behaviour on Samsung devices (Galaxy S4, Galaxy Note, ...). In our App we have a themed Actionbar (using ActionbarCompat) with a search interface. Basically we followed the tutorial here:…
Christopher
  • 9,682
  • 7
  • 47
  • 76
2
votes
2 answers

EditText input is cached for auto-completion even if disabled

I use an EditText widget to get user input which is sensitive, i.e., the input should not be stored for auto-completion lateron. In the code I tried several combinations of…
EricJobs
  • 153
  • 2
  • 7
2
votes
1 answer

Getting a class not found exception / noclassdeffound error on some Android devices

I have a class that implements Parcelable, which is throwing me a NoClassDefFoundError with class not found exception on some devices. Currently I have only gotten this error on Samsung Android devices. On Nexus 5, Nexus 4 and Android emulators it…
tsj
  • 21
  • 2
2
votes
0 answers

Is the Samsung BLE SDK supported on a Galaxy Gear?

I've created a simple application to scan for BLE devices using the Samsung BLE SDK http://developer.samsung.com/ble# following the hints guide: public void onCreate() { if (mBtAdapter == null) { mBtAdapter =…
2
votes
1 answer

native notification Samsung Gear 2 Watch

I want to integrate with the native Samsung Gear 2 Notifications such that when my consumer app in the Samsgung Gear 2 Watch receives a certain data from my host provider, the User will get a Notification in the Native notifications app. How can I…