Do you have the correct permissions ?? I little bit og Logcat output
will help us a lot... :)

Thanks and Regards,
Kumar Bibek


On Jan 1, 9:13 pm, Nishant <[email protected]> wrote:
> Hello All,
>
> I have developed application which runs when SMS is received.
> At that time I have started thread and passed the object of the
> Context in thread.
>
> In thread, I am accessing Lat-long by implementing LocationListner and
> also set :
>
> LocationManager locationManager = (LocationManager)
> context.getSystemService(Context.LOCATION_SERVICE);
>
> locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
> 1000L, 500.0f, this);
>
> And it's onLocationChanged(), i have fetched lat-long.
> But onLocationChanged() is not able to call this function.
>
> Can anyone has any suggestion what i have made mistake?
>
> Regards,
> Nishant Shah

-- 
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

Reply via email to