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
3
votes
1 answer

USB/RS232 communcation security exception android.permission.sec.MDM_APP_MGMT

I have created an Android app that runs on a Samsung Galaxy Tab Pro (SM-T900). The main feature of this app is RS232/USB communication using the USB host mode and the USB-to-Serial library. This app has been working perfectly without the need for…
Frank D.
  • 1,306
  • 1
  • 13
  • 23
3
votes
2 answers

What actual viewport size are the Samsung S6 and Samsung S7 mobile phones?

I am trying to optimise for the latest and newest Samsung models. For the S5 the Display is 1080x1920 with a 432 dpi resolution, this is 3dppx. This translates to a 360x640w viewport. Is there a way to work out the viewport if you only have the…
flint781
  • 61
  • 1
  • 4
3
votes
3 answers

Camera setParameters failing on Samsung - Android

I'm facing an issue with Camera.setParameters, below is what I noticed, On Nexus the SurfaceView(w, h) is 1080-1776 and the optimal size is W:1600-H:1200, it's working fine when I set the parameters …
3
votes
1 answer

Wrong element sizes on Samsung's browser

We have a sticky cookie notification at the bottom of a site. It looks fine on all other browsers, but Samsung's default browser called "Internet" displays it wrong, causing the text element to be much narrower than it should be. This results in an…
Kaivosukeltaja
  • 15,541
  • 4
  • 40
  • 70
3
votes
0 answers

HTML5 Video Won't Play on Android Devices, But Plays on All Browsers and iPhone

I've been trying to solve this issue for days now, and I've Googled and researched as much as I can, but no answer has solved the problem yet. I have put a video on a web page I'm working on using the HTML5 video tag. It works in all the desktop…
XYZSauce
  • 31
  • 1
  • 6
3
votes
1 answer

Error: MountEmulatedStorage()

I'm working on a webapp, which do a login on a server and get some data back. Everything was fine until yesterday evening. Now the app does nothing. The startpage is loaded with the buttons and the inputs, but if I klikk on one nothing happened. I…
3
votes
1 answer

How to handle "SQLiteException: null" from ContentResolver.applyBatch?

I have implemented a SyncAdapter which writes data to the Android Contacts Provider. Mostly, this appears to be working fine, except for a small percentage of my users, who see the app crash every time the SyncAdapter fires! When I recover the logs…
3
votes
2 answers

Android Create vibration pattern like Samsung

I'm trying to create a View with touch events to create a vibration pattern like samsung does. I use CountDownTimer to start recording during 5 seconds. I want to catch ACTION_DOWN and ACTION_UP events from touch. Are there a library to create…
jzafrilla
  • 1,416
  • 3
  • 18
  • 41
3
votes
3 answers

Retrieving Fingerprint data?

I am looking for retrieving Fingerprint data to be sent to server backend. My application is used by sales team and whenever there is new customer, the sales will ask customer to scan his fingerprint (and eventually send them to corporate…
Rendy
  • 5,572
  • 15
  • 52
  • 95
3
votes
1 answer

Gallery images taken on Samsung androids always in landscape even if taken in portrait

Picking images from gallery with the following code: Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("*/*"); intent.addCategory(Intent.CATEGORY_OPENABLE); startActivityForResult(intent, PICK_FILE_RESULT_CODE); Getting result…
user1354603
  • 4,034
  • 4
  • 31
  • 43
3
votes
0 answers

App force stopped(proc killed) by ActivityManager immediately after it started, only on Lollipop(Samsung GALAXY Note III)

The Samsung GALAXY Note III is running Lollipop and my app's proc is stopped without any crash immediately after it started,. Only on Samsung GALAXY Note III, only on Lollipop. Other phone running Lollipop is ok. Samsung GALAXY Note III running…
Stephenmjm
  • 111
  • 1
  • 5
3
votes
1 answer

Get Samsung warranty bit programmatically

I would like to get, among other things, the status of the warranty bit on Samsung devices programmatically. Much like the information that is displayed in Odin mode. I understand that the bit is not meant for polling, but I would like to know if…
3
votes
1 answer

android.provider.Settings.ACTION_BLUETOOTH_SETTINGS crashes on Samsung

Anybody have any idea why Intent pairIntent = new Intent(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS); startActivityForResult(pairIntent, 0); Crashes on all Samsung devices, but works fine on emulator, HTC, Sony, LG etc. EDITED…
3
votes
2 answers

Couldn't create directory for SharedPreferences

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…
Nitish
  • 13,845
  • 28
  • 135
  • 263
3
votes
0 answers

Can you programmatically release all wakelocks on a Samsung mobile device

I am writing a Samsung mobile device kiosk application where it resumes itself, if it has been paused, after the screen turns off. The application itself can be paused to allow user's to explore the phone and user's can even install apps and try…