I am confusing about normal threading and service. I am doing a form application which sending data to the server on each activity. Some area may need to upload images.
If I am using normal thread to send the data to server and at the same time I may have a progress bar showing on the screen. During uploading, user may decide to do something else before coming back to the same form of the application. Will the activity be destroyed when user when off using other application while the phone in low memory state? if so, the activity of my application will re-create when it comes back to the foreground. Then the progress bar supposed to be visible while still uploading will be gone.
Or am I going to the wrong direction.