>>>>> "MM" == Mark Murphy <[email protected]> writes:

   MM> On Wed, Feb 23, 2011 at 10:30 AM, Jake Colman <[email protected]> wrote:
   >> An "IntentService" as opposed to what?

   MM> As opposed to a Service. IntentService is a class.

Dumb question: Which one did I use in the code snippet that I showed you
in my prior post?

   >>  Feel free to tell me RTFM and point me to the right place.

   MM> http://developer.android.com/reference/android/app/IntentService.html

   >> How do I set up the service "to do a little bit of work, then get
   >> the heck out of RAM"?  I have the "little bit of work" part down
   >> pat since the service does seem to do its job.  But what else are
   >> you suggesting?

   MM> IntentService has two key features:

   MM> 1. You do your work on a background thread, not on the main
   MM> application thread, with the thread being managed by Android.

   MM> 2. The service shuts down (via stopSelf()) when there is no more work
   MM> to be done.

That works.  Thanks.

What do you suggest I look into for persisting three simple variables?
Would a database or a file be the better way to go?  I am asking in
terms of Android best practice.

Thanks.

-- 
Jake Colman -- Android Tinkerer

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