On Thu, Jul 7, 2011 at 9:43 AM, Raghav Sood <[email protected]> wrote: > Coming back to the point. Is there any way to make sure that the app does > not use GPS? That is even if GPS is on the app only uses the cell network? > The whole point of my app was to provide the location without the GPS being > used. Can I set the provider of the location?
Don't use Criteria. Use LocationManager.NETWORK_PROVIDER. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

