android-asynctask
How to set Orientation Lock In Async Task during runtime
My app shows diffent views for landscape and portrait for that I defined 2 views one in 开发者_开发百科layout and one in layout-land. After clicking some button I will start one async task, which will[详细]
2023-03-29 15:43 分类:问答How do I cancel an Android http request?
开发者_如何学PythonI\'m using AsyncTask to initalize AndroidHttpClient and execute a POST request in doInBackground(). I\'d like the user to be able to cancel the request by pressing the back button.[详细]
2023-03-29 11:06 分类:问答AsyncTask kill task when back button pressed
I am having a little problems with AsyncTask. I have it implemented as follows private class MakeConnection extends AsyncTask<String, Void, String> implements OnDismissListener{[详细]
2023-03-29 06:32 分类:问答How to make threads synchronize in a loop statement?
I am new to threads. I am trying to load a small array of photos. Right now I am using Async tasks/ threads, but how do I make the outcome sequential? Below is an illustration:[详细]
2023-03-29 02:30 分类:问答android dynamic TableRow with doInBackground not working?
//////SeatLayout.java /////////// public class SeatLayoutActivityextends Activity { private TableLayout mineField; // table layout to add mines to[详细]
2023-03-29 02:01 分类:问答how to clear the reference of AsyncTask
in my app i have stored some images in drawable and i am showing those images in custom list view. When the activity gets opened and closed, the images are been allocated. When i do this continuously[详细]
2023-03-28 22:47 分类:问答Show 'please wait' during web service call
I have an activity which checks username availability via .net web services, I need to show a \'please wait\' message during the call as it can take a second or two - I have experimented with AsyncTas[详细]
2023-03-28 20:25 分类:问答Looking for good example of using get() with an AsyncTask in android
I\'m curious about the get(long, java.util.concurrent.TimeUnit) function in AsyncTask, but I\'m having开发者_如何学编程 a hard time locating an example of it\'s usage.[详细]
2023-03-28 19:28 分类:问答Android: How to make UI thread to wait till AsycTask completes
Currently, I\'m executing 开发者_JAVA百科a heavy task inside AsycTask which uploads images. When I do it via AsycTask, the application closes and no error message appear in the logcat.[详细]
2023-03-28 17:56 分类:问答Processing of Microphone Input
I am trying to get audio data from the microphone. I have achieved this by using the AudioRecord class which fills a buffer with type shorts.[详细]
2023-03-28 13:24 分类:问答