Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i upload data on server at that time incoming call received ,so my uploading is running in background or not?
if Not than how to resume my application with current state.
Posted

1 solution

you can use AsyncTask .AsyncTask enables proper and easy use of the UI thread.

check this links:
AsyncTask[^]

AsyncTask[^]
 
Share this answer
 
Comments
Patel Rajesh 28-Jun-13 8:21am    
You do not understood my question,my question related to when incoming call receive ,uploading data on server process is continue or stop?
If uploading process stop than how to resume?
josh-jw 28-Jun-13 8:39am    
if you did the upload functionality in AyncTask , then uploading will done in background and if any call come , it will not interrupt the uploading.
Patel Rajesh 29-Jun-13 0:36am    
Thank you,so after call ending my application resume with current state,no extra coding coding need.am i write?
josh-jw 29-Jun-13 0:58am    
fi you did it in AsyncTask, then no extra code needed.check it with your application and let me know if any pbm.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900