Re: [android-developers] Best place to call a service upon Activity load / restart

2011-07-29 Thread TreKing
On Fri, Jul 29, 2011 at 10:19 AM, Chris wrote: > Would overriding onStart() and onResume() be the best candidate locations > for this AsyncTask? > Yes. - TreKing

[android-developers] Best place to call a service upon Activity load / restart

2011-07-29 Thread Chris
All, When a certain Activity loads, I'd like to make an AsyncTask call; I'd like this call to take place the first time the Activity is loaded, and each time that it is "opened"/viewed. Would overriding onStart() and onResume() be the best candidate locations for this AsyncTask? Thanks. -- You