Your location variable is null. On Thu, Jul 7, 2011 at 1:45 PM, Raghav Sood <raghavs...@gmail.com> wrote: > Double latitude = location.getLatitude()*1E6; > > It is a NullPointerException so I suppose it is returning null.
-- 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 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