Yes the onCreate is called always when the application starts (I've
even tried to uninstall application and install again), but the
getLastKnownLocation does not return the previous positions taken by
my application (positions captured by the activity listener), one
workaround could be to store last position in a preferences file but,
why is not returning getLastKnownLocation  the last position recorded
by the mobile? do I have to do anythimg with the position when it
arrives to my listener so getLastKnownLocation knows about it? what am
I missing?

Best regards.


On 12 nov, 17:20, Frank Weiss <fewe...@gmail.com> wrote:
> How is the position being passed from the onCreate method to your
> application? I suspect when you "restart" you app, onCreate is not being
> called. You may need to save it in the savedInstanceState.

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

Reply via email to