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.
Related
I was developing an app that collects wifi scans, it was getting 0 length list of results in any android device running android 6 or higher, after that I realized that I have to ask for permission to use GPS or Location, so I have implemented it in my app, now the app only works if the GPS is on, else it gets 0 length list of ScanResults, I have read the following discussion:
https://issuetracker.google.com/issues/37060483 that is full with complaining of
a lot of Android developers.
I knew that the same problem exists at Bluetooth by the way.
My Questions:
Have they at Android Team solved the problem, or they have a viewpoint I couldn't find? Have they fixed it in android 7.1 cuz they haven't in android 7.0? or Have they announced any news about this issue in the new Android 8.0?
Thank You?
To get wifiscans without the GPS being turned on the only way as of now is to set the app's
targetSDKVersion to 21 or lower
You will get scan results even if the GPS is turned off for lolipop and above.
As for the Android Team solving this issue, I don't think they intend to fix this as most of the devs keep saying this is an intended behavior.
Hey guys am buiding an android app that makes use of GPS Satellite but my android device does not have any GPS Satellite settings. It only shows turn on/off location and apps that recently requested location. I have tried to traverse all settings but all in vain. Where can I find this settings? or How can I solve this problem?? HTC One android 4.4 api 19. Please help me solve this problem
Click on Mode option. You will see three options with explanations
High accuracy
Battery saving
Device only (Using GPS only, which you are looking for)
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 know it sounds weird. It happens that those Locating APIs regarding WiFi/celluar assistance are disabled in most Android handsets in China. That is, I could hear the callbacks of GPS_PROVIDER when I was out of the building. But if I was in the building, I would never hear the callbacks of NETWORK_PROVIDER. As a result, my app won't be able to locate if put indoor. (I did some experiments with handsets shipped from the states. My app located perfectly well with the NETWORK_PROVIDER if put indoor.)
My guess is that those Chinese Android handsets have sort of castrated the Android OS so that any API related to WiFi/celluar assistance locating has been removed.
But my app still needs to locate. A city-level accuracy will do.
So my question is, is there any possible solution for my situation. Right now I'm considering:
IP address reverse-lookup. But the accuracy is far worse than city-level.
Let my app collect any necessary information (such as router MAC address, celluar tower info) and send them to a third-party server. That server would locate and send back location info to me.
Find (magically) a third-party SDK and hopefully that SDK would do the trick.
Thanks in advance!
IP lookup is fine. You can also try skyhook wireless's location SDK: here
iOS in the early days are using them, and they are actually better/more accurate than Google's location service.
It is definetly possible. You look at the services of Imere's ULaP.