android-asynctask
Android Thread & ASynTask
I want to implement the thread in my application first requirement is: Each activity access the local database that time it take some time to load.So I am planning to give progress-dialog.I want t[详细]
2023-04-01 10:50 分类:问答Can we create two ThreadPoolExecutor running on android?
AsyncTask is managing a thread pool with 5 core thread. Once we start to use AsyncTask, it wil开发者_如何学编程l start to set up this thread pool on android phone.[详细]
2023-04-01 04:34 分类:问答Is passing interface to AsyncTask a good practice
I have an interface class public interface AsyncTaskExecuteCommand { public Object executeCommand(String jsonLocation) throws IOException,JSONException;[详细]
2023-04-01 02:48 分类:问答Launch an activity from a different class
I am trying to launch an activity in the onPostExecute method of an AsyncTask. This async class is implemented in another class which dosent extends an activity. But I am passing application context a[详细]
2023-03-31 20:52 分类:问答Help! App Waits until Force Close on Second Run
I am very new to android, and I have thrown together a simple app to test out multi-casting packets in an AsyncTask.[详细]
2023-03-31 20:01 分类:问答How to implement AsyncTask from the following example?
I try to fix it but the list data doesn\'t show up..also, there is some red line in my code. onPostExecute it inform thatThe constructor SimpleAdapter(EventsActivity.syncEvent, ArrayList<HashMap<[详细]
2023-03-31 18:11 分类:问答How to compare the caught exception against standard exceptions in asynchronous task android?
I am a beginner in both java and android. I am using asynchronous task in my project to fetch some data from a web service, faced some problems in exception handling. I referred this 开发者_高级运维SO[详细]
2023-03-31 17:19 分类:问答communication with AsyncTask thread? Handler not working?
I have my main UI, and I have an AsyncTask running.I want to communicate to the AsyncTask to have it run something on the non-UI thread.So what I tried doing was:[详细]
2023-03-31 15:22 分类:问答Cancel AsyncTask
Is it possible to cancel AsyncTask that has one line command in doInBackground that performs a 开发者_StackOverflow中文版very long operation,like[详细]
2023-03-31 02:15 分类:问答Android: Create MapView on Asynctask doesn't work
I\'m trying to create a MapView on another thread since it takes too long to load an Activity. class MapCreation extends AsyncTask<Integer, Void, MapView>[详细]
2023-03-30 21:15 分类:问答