¡@

Home 

2014/10/16 ¤W¤È 08:10:22

android Programming Glossary: authtask

Android calling AsyncTask right after an another finished

http://stackoverflow.com/questions/10048958/android-calling-asynctask-right-after-an-another-finished

. Then I want to start another asyntask to get the picture. So I made an inner class AsyncTask String Void JSONObject authTask new AsyncTask String Void JSONObject @Override protected JSONObject doInBackground String... params call the rest api @Override.. make another asynctask AsyncTask String Void Bitmap imageTask new Async.... get image imageTask.execute and I call authTask.execute from the UI thread. I have a bad feeling about this especially it seems doesn't work it's ok few times but suddenly.. way to get an information and when it's finished immediately start another task UDPATE I working with api level 10. In authTask I get some information which is needed to start imageTask some id so I have to call these tasks in a row. In api level 10..