Android Service Multiple Thread Design

Posted by Gernot on Stack Overflow See other posts from Stack Overflow or by Gernot
Published on 2010-05-28T09:07:27Z Indexed on 2010/05/28 9:12 UTC
Read the original article Hit count: 268

Filed under:
|
|

Hello,

A new question about android and services. Currently I'm developing a App that should send images to a server. It should also be possible to send more images parallel.

I made a service that creates for every image a new image. The activity can bind to that service and gather information about the progress. I want to show the current status for every image in a notification (and when the user clicks a notification, an activity with the progress for that image should be shown).

But I get several problems with that approach. There are errors with binding, the notification pending event starts the activity completly new, so I lose information about currently sending images and so on.

Can someone plase tell me, how I could design such a problem in a appropriate way.

thx

© Stack Overflow or respective owner

Related posts about android

Related posts about design