I have used the SoundPool to load around 100 .mp3s into an application. This, however increases the load of the app from 3 seconds to 12 seconds.
I have MainActivity which does some Work before it Executes an AsyncTask called \"Datensammlung\". This task starts some other Threads via different classes. All of Them implement Runnable and work co
I have a problem. I\'m trying to retrieve an image from a online source and the set the image into the ListView\'s ImageView. However, I can\'t do that because I can\'t link my ImageView within the 开
I have to call a Async Task with listener from the TimerTask eack 1.5 seconds.When I tried to do that I\'m getting an exception \"java.lang.RuntimeException: Can\'t create handler inside thread that h
So, after making all of my calculations an AsyncTask for my app and leaving the UI changes until the onPostExicute method I realized that my app gets a ANR from even just initializing all of the开发者
I am using AsyncTask on button click to refresh the screen. Following is the sequence of events that happen on btn click
I have the following code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
During onCreate() I\'m trying to insert about 20 rows into the SQLite database (开发者_JAVA百科these are just test values. For the final version I\'ll have to insert about 1000).
I have the following code in which I read some data from a database(longitude,latitude) and try to draw a line between those points in the UI thread:
I have a design issue. I need to implement a listener. I saw the following SO question: How to create our own Listener interface in android?