The location API only seems to work for me when I warm up the GPS by opening Nokia Maps or Google Maps.
The Google Maps app has a status balloon which shows the number of satellites and lets the user know when the connection is active, however I have not found anything in the J2ME Location API docs which specifies how to do this.
It seems like these apps are calling some function which kick-starts the GPS. Without opening them the Location API will just time out in my app.
使用LocationListener ... :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.