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
19
votes
3 answers

Serial number from Samsung Device running Android

I have a Samsung Galaxy Tab 2.0 (7") On the back of this device is a serial number of the format RF3C6000MNA When I go into settings on my device, and choose About Device->Status->Serial Number, this number also appears. I can't, however, find a way…
Rich S
  • 3,248
  • 3
  • 28
  • 49
18
votes
1 answer

Turn ON/OFF Camera LED/flash light in Samsung Galaxy Ace 2.2.1 & Galaxy Tab

I am turning ON Camera LED light using FLASH_MODE_ON. Samsung Galaxy Ace have only three flash modes : on, off and auto. FLASH_MODE_TORCH not working in Samsung Galaxy Tab & Samsung Galaxy Ace 2.2.1 Here is my code how i am turning ON my Camera…
Kartik Domadiya
  • 29,868
  • 19
  • 93
  • 104
18
votes
3 answers

java.lang.NullPointerException with Nougat

My app has been humming along nicely through various Android versions. I have users running it on Android 4.3, 5.0, 5.1 and 6.0 with no problems. However a user with a S7 Edge has just updated with Android 7.0 and the app is crashing when text is…
Gavin
  • 460
  • 4
  • 11
18
votes
2 answers

Android: variable has incorrect value in while loop

When developing an Android app in Android Studio, a variable used within a while loop has an incorrect value. I reduced it in a test case to a very simple case: Create a new project in Android Studio, blank Activity Add the following code to the…
Hielko
  • 243
  • 1
  • 10
18
votes
2 answers

Resources$NotFoundException on Samsung

One of my app is crashing on Samsung S5 (SM G900V to be precise) with this exception: android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/common_signin_btn_icon_disabled_focus_light.9.png from drawable resource ID…
M-Wajeeh
  • 17,204
  • 10
  • 66
  • 103
17
votes
2 answers

Layout on Samsung Galaxy Note

I have a weird issue that only occurs on the Samsung Galaxy Note. I have landscape and portrait layouts , in normal and large , as per : http://developer.android.com/guide/practices/screens_support.html On all phone so far it uses the normal and the…
Chris
  • 1,637
  • 1
  • 14
  • 20
17
votes
0 answers

IndexOutOfBoundsException on Samsung devices

I'm getting an IndexOutOfBoundsException on Samsung Galaxy S5 and Note 3 and 4. It doesn't reference my code. Has anyone encountered this? I haven't been able to find anything on here. It appears to be occasionally happening when try to long-click…
ono
  • 2,984
  • 9
  • 43
  • 85
17
votes
3 answers

http://seller.samsungapps.com/ - Choosing a Category?

How can I choose a category when submitting a new app in http://seller.samsungapps.com/ Under the Category menu all I see is "Main Category" or "Galaxy Specials" When I choose Main Category, then I get no submenu, and it won't let me submit the…
Ginger
  • 8,320
  • 12
  • 56
  • 99
17
votes
1 answer

Samsung Multiwindow crash

I have an app on the play store which supports Samsung's multiwindow mode, before the 4.4.2 version of the Samsung ROM, everything was fine, however, I noticed that the crash reports started to rise as the OS version is pushed to devices. I cannot…
17
votes
3 answers

YouTube iframe embeds cannot autoplay on Android

I'm using a webView in my Android app to load YouTube iframe player and auto play videos. It works fine on Samsung Galaxy S2 & S3, but when runs on Samsung Galaxy S4, it always results in gray screen when trying to auto play. On Galaxy S4, it works…
iForests
  • 6,757
  • 10
  • 42
  • 75
17
votes
9 answers

jquery ajax GET request executing twice

I have the following ajax request that is executed at a click of a button: function test(){ console.debug("*"); $.ajax({ type: "GET", dataType: "json", …
gmh04
  • 1,351
  • 9
  • 24
16
votes
1 answer

BiometricPrompt crashes on Samsung S9 with Face unlock

I am using the new BiometricPrompt API in Android P (API 28) in my application. (I am actually using it inside a wrapper based on this project so that it functions on older devices too, but that is not relevant to the question.) This is working very…
Moshe Katz
  • 15,992
  • 7
  • 69
  • 116
16
votes
8 answers

Non-game App gets treated as game by Samsung game launcher

Whenever I open my android app it triggers the game mode/game launcher on samsung galaxy s8. But the app isn't a game. In a previous version the app used opengl and it seems like samsung treats an app as game if it uses opengl. I already removed the…
Ascot Harris
  • 904
  • 8
  • 7
16
votes
1 answer

Disabling or detecting the app specific power saving mode

Samsung devices (well, at least some of them) add all installed apps to an "App Power Saving Mode" list which affects the background services listening to some crucial info for the app. Some apps, somehow, disable this mode after installation…
iamkaan
  • 1,495
  • 2
  • 23
  • 43
16
votes
1 answer

Activity won't render randomly, shows only white screen on Samsung

So, I acknowledge that this is a truly vague question. What happens is that very randomly and rarely on only Samsung devices (2x S3 and 1xS4 mini) the starting activity (basically any activity, I have not found common ground) won't render and shows…
splangi
  • 683
  • 7
  • 17