Re: [android-developers] GPS Fix Status
I release a tool to dumping all classes (includes disclosed and undocumented) at device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get it by URL below. https://play.google.com/store/apps/details?id=com.twrd.yulin.classminer Kristopher Micinski於 2012年1月6日星期五UTC+8上午9時13分33秒寫道: http://stackoverflow.com/questions/2021176/how-can-i-check-the-current-status-of-the-gps-receiver Maybe it's stupid to point you at that, because you've probably already seen it? If nobody has a good answer for this (I suspect somebody does, though I don't know) it probably wouldn't too hard to dig through the system and see how it's happening (the blinking / solid thing). It looks like this isn't a standard intent. It isn't documented, it looks like it's declared as GPS_FIX_CHANGE_ACTION, but using undocumented API features is a bad idea. Kris P.s., off the top of my head, would it be possible to register a passive listener, and listen for locations from that? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] GPS Fix Status
http://stackoverflow.com/questions/2021176/how-can-i-check-the-current-status-of-the-gps-receiver Maybe it's stupid to point you at that, because you've probably already seen it? If nobody has a good answer for this (I suspect somebody does, though I don't know) it probably wouldn't too hard to dig through the system and see how it's happening (the blinking / solid thing). It looks like this isn't a standard intent. It isn't documented, it looks like it's declared as GPS_FIX_CHANGE_ACTION, but using undocumented API features is a bad idea. Kris P.s., off the top of my head, would it be possible to register a passive listener, and listen for locations from that? On Thu, Jan 5, 2012 at 6:31 PM, gotok ken0g...@gmail.com wrote: I am trying to detect when a GPS fix is made (i.e. when the gps icon changes from blinking to solid) and when it is lost (i.e. when the gps icon changes from solid to blinking). The system obviously knows when these changes occur. I have tried using a broadcast receiver to catch the intent: IntentFilter filter = new IntentFilter(android.location.GPS_FIX_CHANGE); But I have not been able to get it to work. The intent seems to get fired on GPS fix changes, but I don't know how to determine if the intent means that the fix is good or bad or something else. Is this a legitimate intent (I found from a web search) for this purpose? If not, what is the best way of detecting GPS Fix changes? thanks... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] GPS Fix Status
On the network provider you will implement onstatuschange and then you can detect. You can look at http://stackoverflow.com/questions/2021176/how-can-i-check-the-current-status-of-the-gps-receiver On Jan 5, 2012 6:32 PM, gotok ken0g...@gmail.com wrote: I am trying to detect when a GPS fix is made (i.e. when the gps icon changes from blinking to solid) and when it is lost (i.e. when the gps icon changes from solid to blinking). The system obviously knows when these changes occur. I have tried using a broadcast receiver to catch the intent: IntentFilter filter = new IntentFilter(android.location.GPS_FIX_CHANGE); But I have not been able to get it to work. The intent seems to get fired on GPS fix changes, but I don't know how to determine if the intent means that the fix is good or bad or something else. Is this a legitimate intent (I found from a web search) for this purpose? If not, what is the best way of detecting GPS Fix changes? thanks... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en