How To Properly Use Asynctask
I want to capture a frame buffer from a camera surface preview and send those buffers to another function to be processed / POSTed somewhere on the web. The Android Dev guide give
Solution 1:
It will be a single thread, taken from a managed thread pool. The argument ellipsis is simply the input to your doInBackground
method. As you can see from the example, no threads are spawned in there. If you want to use one thread per URL, you'll have to create a new AsyncTask
for each of them.
Post a Comment for "How To Properly Use Asynctask"