I have been developing app that uses location client class to get user location. I have tested it on my Nexus devices, some Sony xperia devices and it works no problem. But then there is sammy S3 mini. It just does not even kick in to try to get location... Also I had to reboot it to get geocoder to work, but still no locations. Is there a different path to get locations on Samsung devices to work?
Related
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 Samsung Galaxy S7.
Since I don't have physical access to a Galaxy S7, is there any way to run an emulator that actually runs the Samsung official ROM? Note that I'm not talking about an emulator skin, I'm talking about the actual system image.
While there might not be any Samsung system images to download and install on the Android Studio emulator, there is another option.
Samsung has something called Remote Test Lab, which lets you access and control a real Samsung device online. You have to join the Samsung Developers programme, and then you can use these test devices. Samsung uses a credit-based system for this, and you get 20 free credits every day, which you can then use to run test devices. Running a Galaxy S7 for 30 minutes cost me 2 credits.
This actually works surprisingly well, and only slightly more lagging than the AVD. It is even possible to get Logcat output by connecting to the device with ADB (right click on the device window for options).
I am using Android 6.0.1 and I am facing BLE Scan issue. The problem is sometimes the scan results return no device and sometimes it returns device. It means I have a remote device by name 'A'. 'A' is discovered and shown in my app once and again after few seconds, 'A' disappears in my discovered window and again re-appears after few seconds. This is the problem which I am facing in Samsung S5. But the same app running in Samsung S6 and S7 works fine with scanning.
I have given necessary permission for Location Services too and my GPS is ON. What could be the problem stil?
I'm having a problem trying to get locations in a Geocatching app on Android.
For some devices my app caches all the locations and for others devices only get locations on WiFi network. Despite on this, I checked on https://maps.google.com/locationhistory and Google got all locations.
I want to get data from both, mobile and WiFi. Is there anything I'm doing wrong? How can I make it work in all devices?
I'm using ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION permissions btw.
This is an example the device that works ok, it collects mobile data as it follows the correct path:
And this, an example of the device that only works on WiFi. It links three points where I had WiFi connection.
Thanks in advance for your time!
EDIT: More info.
I get correct behaviour with HTC One, Android 4.2.2 and Nexus 5, Android 6.0.
With Sony Xperia Z3, Android 5.1.1 I only get locations when connected to WiFi.
I am having a problem to fire onGeolocationPermissionsShowPrompt() method when my apps needs location permission. It is working almost all devices but not working only Sony xperia 4.1.2. So what can I do now? Any suggestion please? And see the location setting screen of my device.
I'm currently facing problems trying to get my android device to connect to Eclipse in order for me to push files into the folders as well as push apk files into my device. I've recently just downloaded Samsung Kies and have tried until now i still cant see my device in the ddms page under the devices view. All i can see right now is only my emulator. Any Suggestions? the device i'm using is samsung galaxy s2 i1900G. Hope u guys can help me out.
The main problems I face when I try to connect a new phone with USB debugging connection is that :
* USB debugging isn't activated.
* The OS on any phones except the Nexus phones are Android with modifications. Samsung and a lot of other brands modify android to get in their own bloatware and own system updates.
I had a sony xperia z1 that did not connect with USB debugging untill I went from android 4 to android 5.1.1
There is a question where someone had a similar problem and solved it: https://stackoverflow.com/a/38171690/6296561