I would like read the file and upload to server in the background which is not require any interaction with the user.which concept is suitable for this?
1.IntentService
2.Async Task
3.Service
please suggest me.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think service is better option because it runs in background and suitable for long running background process such as I/O Operation . Service might handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background without user interaction.