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

ACTION_GET_CONTENT to get image returns null URI

I have an published app that uses an ACTION_GET_CONTENT intent to let the user select one of his/her pictures. Here's the code that launches the intent: Intent intent = new…
Josemafuen
  • 682
  • 2
  • 16
  • 41
4
votes
0 answers

Android Camera2 ImageReader is not working with MediaRecorder on Samsung S21 family

For new Samsung S21 devices Image analysis is not working together with video recording. If I'm adding surfaces for my capture session: //surface of TextureView for preview addTarget(previewSurface) //surface of media recorder for video…
Denis Nek
  • 1,874
  • 3
  • 19
  • 21
4
votes
2 answers

Android keep screen on on Samsung devices

I have a streaming app and I want to avoid that the screen turns off while streaming. It works on most of my devices but it doesn't on certain Samsung devices (Samsung Galaxy S21 Ultra, Samsung Galaxy S10 etc). What I tried so far: Add this to the…
grill2010
  • 574
  • 6
  • 23
4
votes
0 answers

How can I prevent BiometricPrompt from opening over a black screen window on Samsung devices?

I am implementing the BiometricPrompt API and running into undesirable behavior on Samsung Galaxy S10e with OS 10. The BiometricPrompt dialog displays over a black screen rather than having my Login page in the background. If I tap the Overview…
4
votes
0 answers

is_pending update is crashing for samsung device in Android 11

I'm facing a weird crash in the Samsung device only. See the stacktrace below, Fatal Exception: com.pilabs.musicplayer.tageditor.TagEditFailedException: Tag edit failed : Changing volume from /storage/3964-3431/Music/Bujji-MassTamilan.io.mp3 to…
4
votes
1 answer

Android Studio in macOS does not recognize physical device after hitting 'run'

I have been testing my Android app in my Samsung Galaxy S8 for the past few weeks from Android Studio's ADB without any issues. After a while a switched to test the app in Android Studio's built-in emulators. Then I swiched back to test it in my…
4
votes
1 answer

Samsung keyboard backspace not working with SearchView

When using SearchView in my android app, Samsung devices users with samsung keyboard only can't use the backspace button. Backspace button in samsung keyboard is working fine with EditText and any other input view, except SearchView. I have tried to…
Ansshkki
  • 760
  • 8
  • 14
4
votes
1 answer

Samsung: Provider for ContactDirectory not supported

I did some tested related to the providers. My goal is to display a contact name stored in my app when you receive a call from this number that is not present on your phone. So the implementation is pretty easy, it works well on different brands…
TheOnlyYam
  • 193
  • 2
  • 4
4
votes
0 answers

Scan filter with BLE scan

I worked on an application which use a BLE scan into a foreground service. I used the library RxBle Android to perform the scan.

 private fun scanBleDevices(): Observable? { val rxBleClient = RxBleClient.create(this) val…
yozzy
  • 344
  • 2
  • 15
4
votes
1 answer

Android requestPinAppWidget returns false after recent installation

I'm having issues with AppWidgetManager::requestPinAppWidget Sometimes the method requestPinAppWidget returns false. We reproduce it by uninstalling the app and installing again from fresh using android studio. We can consistently reproduce it on…
user1708860
  • 1,683
  • 13
  • 32
4
votes
1 answer

Android TextView.setText() is not changing on recent Samsung phones with SurfaceView Overlay

In my app I have a TextView and an ImageView that I update based on sensor information. This works perfectly on emulators and most of the handsets I have tried it on, however on Samsung handsets from the S7 to the S9 for some reason neither of them…
glenatron
  • 11,018
  • 13
  • 64
  • 112
4
votes
0 answers

Check if device is Samsung S7 and higher programmatically

I need to run an piece of functionality in my android app, only if the device is Samsung and s7 and higher, is there a way to do it programmatically? I know how to get device manufacturer and model using val deviceMan =…
David
  • 37,109
  • 32
  • 120
  • 141
4
votes
1 answer

Samsung Biometrics

I've been looking around for some docs about using Samsung Facial Recognition, Iris, and Fingerprint scanner but all the information is just about Fingerprint. Can anyone point me to where I can find info about this ?
TheJudge
  • 576
  • 1
  • 9
  • 30
4
votes
0 answers

Difference between Android Battery Optimization and Samsung's Unmonitored Apps

My app was put to deep sleep, just like force killed when Samsung ask to fix the battery drain apps, even my sticky backend service got killed. Looks like there is some way to bring user to the battery optimization feature to disable battery…
Ziwei Zeng
  • 691
  • 5
  • 21
4
votes
1 answer

How I can avoid battery optimization of Samsung devices? (S6, S7 and S8)

I have a GPS tracking Android app that receives continuous push messages when someone requires user's position. Everytime that I receive a push, I start the location service that send positions during X time while he is receiving push messages. The…
Xose
  • 544
  • 1
  • 4
  • 12