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

How to stop excessive Object creation on Samsung phones?

I am have problems with animations slowing down on many Android Samsung phones. I have traced the problem and it is too much garbage collection. However, none of the objects are being created directly by my code. This is the stack trace from the…
theJosh
  • 2,894
  • 1
  • 28
  • 50
9
votes
2 answers

localStorage html5 feature not working in WebView on Samsung Android device

I have a html5 application that I wrap with a WebView. To store and retrieve user input values between pages, I use the localStorage html5 feature. It works fine on my Nexus 4 (Android 4.4.4), but it does not work on Samsung Galaxy Tab 2 (Android…
Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
9
votes
4 answers

Open ServiceMode menu programmatically in Android

How to open the Android ServiceMode menu programmatically on Samsung Phones ? Manually, I can do it by dialing the ussd code *#0011#.
Pedro Lobito
  • 94,083
  • 31
  • 258
  • 268
9
votes
1 answer

Trigger galaxy S4 Infrared sensor App Development?

Hello I'am an complete noob in Android development and since i have the galaxy S4 with the IR sensor i thaught of start developping an remote wich works with almost every tv without configourtion. I know it is probably not the easyest app for a…
LoremIpsum
  • 505
  • 4
  • 8
  • 20
9
votes
2 answers

Background processes randomly dying while app is running on Samsung S3

I wrote an Android app which runs without problems on every phone I tried except Samsung S3. What happens is that, while my app is running, other background processes (other apps, that is) will start dying. For example, after some time of using my…
kolufild
  • 712
  • 1
  • 9
  • 20
8
votes
1 answer

Problem with CSS media query to detect if Samsung device supports hover

I'd like to use pure css to provide different behavior for devices that do not support hover. This is easily achievable on iOS and Google devices with: @media (hover: none) { } However, Android devices do not seem to support this in the way that I…
Karptonite
  • 1,490
  • 2
  • 14
  • 30
8
votes
2 answers

Unable to create layer for WebView, size 640x7040 max size 8192 color type 4 has context 1

I am using WebView inside ScrollView, and it is giving IllegalStateException on Samsung SM-J610F. It is working fine on the rest of the devices that I have tested this code on. When I take out WebView out of ScrollView it works fine. But the problem…
mughi198
  • 81
  • 3
8
votes
4 answers

How to check user's Bio-Metric Preference through Biometric api?

As we all know, from android 9.0, android introduced BiometricPrompt Api to provide standard authentication experience across growing range of biometric sensors (E.g Fingerprint,Face ID etc). Now with this new BiometricPrompt Api user can get…
8
votes
3 answers

Intent filter for opening app from a link not working in Samsung Browser/Firefox etc. but working in Chrome

I have been experimenting with the Intent Filters for the past few hours, and I am really confused as to why the Google tutorial code for Handling App Links via Intent Filters is not working on my physical Samsung S8 devices's default Samsung…
Sash Sinha
  • 18,743
  • 3
  • 23
  • 40
8
votes
2 answers

Is there a way to set and app icon for Samsung devices specifically?

I noticed that the Samsung apps have a specific shape; for example, the Gallery, Camera, Phone, Messages and Internet app icons below. Is there a way to specify an icon for Samsung devices only? Something similar to how the new Google Pixel uses…
Bryan
  • 14,756
  • 10
  • 70
  • 125
8
votes
1 answer

Samsung devices automatically set default application for share Intent

I have a function in my app that let's people share content. The way it usually works is: Device asks user to choose an app to handle the Intent. The user can choose between 'just once' or 'always'. On some Samsung devices, e.g. Galaxy S6, the…
fweigl
  • 21,278
  • 20
  • 114
  • 205
8
votes
2 answers

LocationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER) always returns NULL on Galaxy S7 (ONLY)

Just received a Galaxy S7 (Edge) running Marshmallow (6.0.1) and find that it has an issue with my app that uses android.permission.ACCESS_COARSE_LOCATION and targets Sdk Version 22 (Lollipop). When I call locationManager.getLastKnownLocation() it…
GaryAmundson
  • 199
  • 9
8
votes
2 answers

Will Samsung support Google's fingerprint API from Marshmallow?

Is there any information available on whether Samsung's Marshmallow update will use Google's new fingerprint API or keep to using their custom SDK or both? I see that they have started rolling updates to beta testers, but these are not available in…
8
votes
1 answer

access both front and back camera simultaneously on samsung galaxy devices

I know this question has been asked before but its been a long time. Asking this question again to gather any new hacks/thoughts/approaches. I need to access both front and back camera simultaneously. So far I have tried implementations using…
vishnu narayanan
  • 3,813
  • 2
  • 24
  • 28
8
votes
1 answer

AlarmManager not working as expected in sleep mode on S5 Neo

I am using an AlarmManager in a Service to be triggered every minute. PendingIntent pendingIntent = PendingIntent.getService(getApplicationContext(), 0, getUpdateServiceIntent(mContext), PendingIntent.FLAG_UPDATE_CURRENT); …
Mathieu H.
  • 800
  • 8
  • 21