Questions tagged [samsung-galaxy]

This tag refers to the Samsung Galaxy range of phones. Several models have fingerprint readers for example. Here is an abbreviated hardware spec for the Samsung Galaxy S5 - GPS, Glonass, Beidou, Gesture Sensor, Fingerprint Sensor, HR Sensor, Hall Sensor, Accelerometer, Geomagnetic Sensor, Gyro Sensor, Light Sensor, Barometer, Proximity Sensor, Samsung Gear Manager, Samsung Voice. The phone runs android but posts should refer to a hardware feature.

350 questions
41
votes
1 answer

'App is scanning too frequently' with ScanSettings.SCAN_MODE_OPPORTUNISTIC

I noticed an issue on Samsung S8, Android 7.0 (upd. This also happens on Android 7.0: Samsung S7, Nexus 5x) which tells (after couple of tests) that app is scanning too frequently: 08-14 12:44:20.693 25329-25329/com.my.app D/BluetoothAdapter:…
33
votes
2 answers

INSTALL_FAILED_DUPLICATE_PERMISSION with Samsung Galaxy S8

I am attempting to install my app on my new Samsung Galaxy S8 for the first time from Android Studio. When I do so, I get the following error message: Installation failed with message Failed to finalize session :…
Code-Apprentice
  • 81,660
  • 23
  • 145
  • 268
25
votes
1 answer

Samsung system image for Android emulator?

Is there any way to get the Android emulator to run a system image other than vanilla Android? I'm developing an app that works fine on the emulator, a physical Huawei device and a physical Motorola device, but experiences some weird issues on a…
Magnus
  • 17,157
  • 19
  • 104
  • 189
21
votes
0 answers

java.lang.RuntimeException:Illegal meta data value: the child service doesn't exist

The crash occurs on Samsung Galaxy J6+, S7, S8+ and Note9. Android 8 and 9. implementation 'androidx.appcompat:appcompat:1.1.0-rc01' implementation 'com.google.android.gms:play-services-ads:18.1.0' Stack trace Fatal Exception:…
Andriy D.
  • 1,801
  • 12
  • 19
19
votes
3 answers

Samsung Galaxy S8 full screen mode

Latest Samsung's smartphone has interesting feature called full screen (or in marketing terms infinity display). In this mode app covers also part of display where home/back buttons are. Usual apps don't cover this area, leaving it black. But…
Barmaley
  • 16,638
  • 18
  • 73
  • 146
17
votes
3 answers

Is it possible to read data from TOF (time-of-flight) sensor on Android?

Recent models of Android phones (Honor View 20, Huawei P30 Pro, Samsung Galaxy 10 5g) have TOF (time-of-flight) sensor. Is it possible to read it through some API or manufacturer SDK?
Alexander Ponomarev
  • 2,598
  • 3
  • 24
  • 31
17
votes
2 answers

tgkill - native error on Android 8.0 Samsung S8

Recently I started getting Android native crashes (reported in Google Play vitals). They happen only on Samsung Galaxy S8 or S8+ phones with Android 8. According to the stack trace it is related to the UI renderer thread. However I don't know how to…
petrsyn
  • 5,054
  • 3
  • 45
  • 48
14
votes
3 answers

DownloadManager fails to download to external storage on Samsung with Pie

Downloading a file using the Android DownloadManager to the external storage fails on Samsung Galaxy S9, S9+ on Android 9 (Pie). Download works for Samsung Devices with Android 8 or other devices with Android 9( e.g. Pixel 2) I have added to the…
12
votes
1 answer

Why Alarm icon is not shown ONLY on Samsung Android 9 devices when set with AlarmManager.setAlarmClock()?

I use AlarmManager.setAlarmClock() to set an alarm. Alarm is fired on all devices, including Samsung, but the small alarm icon near the clock (top right corner of the screen) is missing on Samsung devices with Android 9. What am I missing here? I…
12
votes
0 answers

Samsung Devices OS 9.0 throw 'android.security.KeyStoreException: Key user not authenticated', when the "Preferred Biometric" is 'Face recognition'

We implemented new android.hardware.biometrics.BiometricPrompt replacing the existing android.hardware.fingerprint. The new Biometrics API works as expected until we have the 'Preferred Biometric' as 'Fingerprint'. When we set the 'Preferred…
Ganga
  • 121
  • 4
12
votes
5 answers

Photo rotated from camera (SAMSUNG device)

i hate this company. All them devices have a lot of bugs. Ok question : Im trying to fix stupid problem (which as i know exist more than 5 years) Its photo taken from camera - rotated on 90 degree. I have two devices : Nexus 5p and Samsung j2 …
Peter
  • 2,480
  • 6
  • 39
  • 60
11
votes
3 answers

sms: link with alphabetical parameters interpreted as numbers on Samsung Galaxy S7

I have a link on my website to open up a text with a new message. The following link works on most Android phones: sms:5555555555?body=JOIN But on the Galaxy S7, the ?body=JOIN parameter is interpreted to be a part of the phone number itself, as if…
D-Nice
  • 4,772
  • 14
  • 52
  • 86
11
votes
4 answers

Android 6: App uses more memory each time it's started

Samsung Galaxy S6 with Android 6.0.0 and 6.0.1 My app runs fine, code analysis shows no mem leaks. SmartManager shows that the app uses ~40MB of memory. I kill the app (using the "currently running apps" overview--- not sure how that's called in…
Robin
  • 1,658
  • 15
  • 26
10
votes
3 answers

Android local notifications not working for samsung galaxy

I'm struggling with complex local notifications on Android for a long time now. I have a list of events. The user is able to choose when he/she would like to be notified: on the same day of the event one day before the event starts two days before…
novas1r1
  • 1,803
  • 21
  • 28
10
votes
0 answers

Samsung Oreo BLE connection issue

We are working on Android BLE & implemented successfully and it’s working fine with all OS version and devices. We are able to connect successfully using below code: mBluetoothDevice.connectGatt(this, true, mGattCallback); connectGatt But recently…
1
2 3
23 24