I have read couple of articles about location updates and getting user's location on android, but still I am getting confused, when I am going to implement as per my requirement, considering all the facts of performance, battery consumes and accuracy. below is my requirement. I want to get the user's current location using GPS, if the GPS is not available then prompt to user regarding the same & provide the location based on Network location (ex, based on triangulation of cell towers or any other which gives the most accurate result ).
When ever user changes his location it should update the location & inform user.
I'll be very thank full if can any one suggest me some appropriate solution with some sample code.
Thanks Regards
Ashish