On Wed, Aug 11, 2010 at 1:00 AM, Ajmer singh <ajmer.si...@evontech.com> wrote: > Thanks for your reply.However can you please let me know how we can do that > in android i mean is there any code that you can send or a link to that code > packet.
http://developer.android.com Look up LocationManager and the NETWORK_PROVIDER source of location data. Most sample code is set up to use GPS_PROVIDER, because that is what DDMS emulates, but switching that code to NETWORK_PROVIDER is only a handful of keystrokes. Be sure to request the ACCESS_COARSE_LOCATION permission. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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