[android-developers] Show a producer-consumer queue inside a Listview
I've a service which consume some tasks queued by an activity (this service uploads each queued video to a http server). I want to show the upload status in an activity (with a listview, like Youtube). What can I do to keep in sync the listview with the service progress?
I don't know if it's a best practice to store data to a SQLite db, then, when I open the activity containing the listview, I'll register a broadcast receiver which listen service changes notifications.
-- 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home