Hi,
I'd like to create some sort of Thread which can be accessed by my
main program..
Specifically I'd like two classes, both with their own thread, one for
parsing XML data and one for doing database operations, without
actually interfering with the main UI-thread (slowdowns for
example)...
I was wondering if those should just extend Runnable, and maybe make
them some sort of Singleton, or if these should be implemented as a
Service ? Or maybe they shouldnt be implemented at all as an
individual Thread ? Are there any known better approaches ?
Also I'd like to know how to communicate data (for example requesting
or saving some data from the database Service) inbetween my nain app
and a Service, and if this is a smart idea in it's whole ?
Thanks in advance for any tips, pointers, help or code :D

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