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

WifiManager.is5GHzBandSupported() lying?

I am using new method is5GHzBandSupported() available in WifiManager since API level 21. http://developer.android.com/reference/android/net/wifi/WifiManager.html#is5GHzBandSupported%28%29 On my Nexus 5 it is working fine (returning yes as expected),…
8
votes
4 answers

How can I address the Samsung Android browser?

I'm working on a responsive website and I have a weird CSS/JS issue with the default touchwiz browser of Android Samsung devices. I've searched on StackOverflow, finding some unhelpful answers like this. I have the physical devices to test on, but…
napolux
  • 15,574
  • 9
  • 51
  • 70
8
votes
1 answer

SPH-L710 (Sprint Galaxy S III) running 4.4.2 misreports xdpi and ydpi

We've noticed a data anomaly recently in that a number of devices are misreporting their xdpi and ydpi via DisplayMetrics. As a specific example, all SPH-L710 Sprint Galaxy S III devices running 4.4.2 are reporting an xdpi and ydpi of ~160. With a…
bread
  • 280
  • 1
  • 7
8
votes
1 answer

S-View cover detection [magnetic sensor]

I want to write an app for the Samsung S-View cover. To find out if the cover is closed I want to use the magnet which is in the cover and not the light sensor. I tried for my own with the deafult Android magnetic API: SensorManager manager =…
Cilenco
  • 6,951
  • 17
  • 72
  • 152
8
votes
6 answers

Samsung Galaxy Devices can't use geolocation.getCurrentPosition

OK, so I've been looking for an adequate response to this issue for quite some time. I have a web application that uses navigator.geolocation.getCurrentPosition to get a user's position. The native browser on the Samsung Galaxy devices nearly always…
Brandon
  • 2,163
  • 6
  • 40
  • 64
8
votes
1 answer

options menu locks up on galaxy s4

My app uses the old-style options menu. Currently we target API 9. On the Galaxy S4 I notice the following behavior: User taps on the menu button. Menu is displayed as expected. User taps on "more" to access the overflow section. Overflow…
jph
  • 2,181
  • 3
  • 30
  • 55
8
votes
2 answers

Android Socket Issue on Samsung Galaxy S4 (SGS4)

We have recently been receiving reports of audio not playing in our Android apps, on the Samsung Galaxy S4. The app is fine on other devices. The audio is streamed using the MediaPlayer. It is saved locally using the Android Socket method. The…
SteveEdson
  • 2,485
  • 2
  • 28
  • 46
8
votes
3 answers

Cordova / Samsung Galaxy SIII - Camera Crashes app

Fixed: "Do not keep activities" is default on SG3 Samsung Galaxy S3 ships with "Do not keep Activities" on by default (test models in two locations were both having this fault out the box) Of course this means that as soon as any other activity is…
ocodo
  • 29,401
  • 18
  • 105
  • 117
8
votes
2 answers

Toast is not shown on Samsung Galaxy S3 (latest update 4.1.2)

I have a toast that is displayed in the following way: Toast.makeText(context, "The message", Toast.LENGTH_LONG).show(); I am absolutely certain I am displaying the toast from the UI thread, and I can add that it worked fine for many devices…
Tobias Lindberg
  • 152
  • 1
  • 11
7
votes
1 answer

i am having so many logs with the tag IMGMapper. Idont know how to solve or disable this log showing in my android studio for Flutter

E/IMGMapper(21086): set:488 set: Unset optional value from type SMPTE2086 E/IMGMapper(21086): set:488 set: Unset optional value from type CTA861_3 E/IMGMapper(21086): set:488 set: Unset optional value from type SMPTE2086 E/IMGMapper(21086): set:488…
Devendiran
  • 99
  • 9
7
votes
1 answer

Samsung phones ignore Captive Portal intent (android.net.conn.CAPTIVE_PORTAL)

I want to setup an Activity that can be chosen to navigate a captive portal. When I select a WiFi network that is captive I want to be able to choose my app as the handler instead of starting the CaptivePortalLogin app that's preinstalled on every…
7
votes
1 answer

Can't initialise keystore on Samsung android

EDIT: I have now seen this error on a non-Samsung KitKat 4.4.3 device (Gigabyte/Zebra TC55). I am trying to initialise a null KeyStore in my custom X509TrustManager class. In the constructor, I do the following: public EasyX509TrustManager(KeyStore…
eoinzy
  • 2,152
  • 4
  • 36
  • 67
7
votes
1 answer

Progress line of standard Seekbar doesn't appear

I have found a problem with SeekBar. On devices with Android 4,5,6 I do not have such problem, but on Samsung S8 with Android 7 problem with progress line occurs. If I remove rotation parameter, SeekBar becomes horizontal and problem disappears,…
Anton
  • 907
  • 1
  • 10
  • 31
7
votes
1 answer

Attempt to invoke virtual method 'void android.widget.Editor$SelectionModifierCursorController.hide()' on a null object reference

This error seems to be happening only on Samsung phones using Android 6.0.1. or 7.0: Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'void android.widget.Editor$SelectionModifierCursorController.hide()' on a null…
7
votes
0 answers

Samsung S4 history.back not working for first time

When user clicks some cancel action in hybrid (Angular JS) application, for the first time the history.back not working in my application. If once I press device back button and try again then it works well. I tried all below possibilities…
Sampath Kumar
  • 4,433
  • 2
  • 27
  • 42