On Mon, Mar 19, 2012 at 10:01 AM, RedBullet <[email protected]>wrote:

> So, is there an example that shows how an Application class interacts with
> activities?
>

Application doesn't really "interact" with Activities. You can of course
add your own logic that does, but it's not necessary, particularly for what
you've described as your use case.


> My app to date is just activity based. Do I need to do anything aside from
> create a class derived from Application, store my own application state
> info in it, an update my manifest?
>
> Or do I need to more than that?
>

Yes. I really sounds like you need a Service, not an Application. See the
Google Navigation app for a prime example.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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