I'm doing a app to collect pure GPS locations.
So I choice use locationmanager whit ACCESS_FINE_LOCATION.
I don't want use google play services to locations because, I believe, it joins locations from various providers without user control.
I want a specific app to test the device GPS chipset, so I want only GPS locations no matters what time it become ready.
I do a app as described and it works fine in my cellphone Xiaomi Redmi S2 whit android 8.
But in a cellphone Quantum MUV with android 7 it don't get any locations.
Somebody knows some specific issue about location manager running in android 7 or in Quantum MUV cellphone?
Related
If I am not wrong, the only way Google can know my location is through my cellphone. This means that if my cellphone is showing the correct location for me, there seems to be no reason for computer to show the different location. (Synchronization across devices, refreshing etc has been done several times) However, what I see is strange to me. My location on mobile phone is different (and inaccurate) than my location on the desktop computer. The locations show the same area of city but they are separated by around 100-200 meters. My question is, if the Google map is anyway fetching my location using my cellphone, why is it showing incorrect location on my pc? Thanks in advance.
Most smartphones are equipped with a gps devices.
This allow accuracy unlike PC which most don't have a gps device.
Google Maps website uses permissions to your location and most likely other web browser location information, but they will never get as accurate as devices.
I've found the opposite to be true. I have a more accurate location reading using google maps through my PC than on my smart phone. The location, time last online etc . . is more accurate on PC.
I am looking for device's location, I used the code provided by google (https://github.com/googlesamples/android-play-location/tree/master/BasicLocationSample) but it seems working differently if in different devices. The two devices are Samsung Galaxy Ace Plus 7500 (S7500) and HUAWEI Y530-U00, I used GPS and 3G, the result was a very big location difference (about 300 or 400 meters). I used FINE location to perform my location but it seems the same.
Another problem is about S7500 which seems to update his location only if an app require internet, so I have to open an app and after check again location.
I would know if 2 people are near but with an approximation of about 50 meters, how could I get it?
Thanks in advance!
I'm using the Genymotion emulator to test my android application that needs location with GPS.
When I launch the Google Maps application, it gives me an incorrect location. Anyone have any idea about that?
There is several solutions for your problem:
You can choose the GPS position of a Genymotion emulator thanks to the GPS widget on the right side of the screen.
You can also do it by shell commmand, look at the documentation here
Or, if you have a pro license, you can do it by the Java API (for unit test for example).
You need both the GPS on in Genymotion (where you can set the location it reports to the device as above) PLUS you need to turn on location services on the virtual device itself (under Settings/Location Services for 4.1.1 - may vary a little depending on which version of Android you are emulating).
I have a android device without GPS, but i want to run apps that need GPS.
For example i want to make an app like these to use bluetooth gps but instead of using BT im using Android Open Accesory to make an USB GPS, so my problem is not how to comunicate the GPS to Android, my problem is how to make a service/provider that is recognised by android an the rest of the apps could use.
it could be made?
Everything is possible, but maybe not worth:
write a driver to your usb gps and map it at android os level. JNI level and core OS.
use it in your app.
probably it worth to buy a new phone with GPS instead.
I am using SonyEricsson X10i phone. I have developend an application that just shows the current location of a user. Now the problem is When i turn on my application it just keep searching. It is not showing anything. Even if i try to use built in navigation system it does not work. I have turned on GPS receiver. My firmware version is 1.6 and kernel version is 2.6. I am not sure but i came to know from some resource that 1.6 firmware does not support GPS. Let me know if someone knows the solution.
Are you indoor or outdoor? GPS
usually only works well outdoor.
Do you
have turned 'network' as a data
source on in your location settings?
Allowing triangulation/cell
towers/wifi networks to get the
location if GPS/satellite is not
available.