Top "Postdelayed" questions

How to get an Android widget's size after layout is calculated?

I have a layout which specifies sizes of widgets in relative dimension, for example: <LinearLayout ... layout_height="fill_parent"&…

android layout handler android-linearlayout postdelayed
How to delay execution android

I am building an android board game which features AI. The AI gets a turn and has to invoke a …

android multithreading postdelayed
When exactly is onUserInteraction() called?

in my app I got a thrad that checks every 60s data from a webservice (defined in onCreate()): new Thread(…

android multithreading sleep user-interaction postdelayed
Handler.postDelayed(...) does not delay the Runnable

i've implemented an OnCompletionListener by myself which looks like this: public class SongEndCompletionListener implements OnCompletionListener{ String nextView; Context actualActivity; int …

android android-mediaplayer runnable android-handler postdelayed
How to stop Runnable in Android that's looping using postDelayed()?

I need to stop a Runnable from running when an image is clicked in my Android app. I'm running this …

java android multithreading postdelayed
How to change/reset handler post delayed time?

I'm using postDelayed method of the Handler in order to perform an action after certain amount of time: private static …

android handler postdelayed
handler.postDelayed is not working in onHandleIntent method of IntentService

final Handler handler = new Handler(); LOG.d("delay"); handler.postDelayed(new Runnable() { @Override public void run() { LOG.d("notify!"); //calling …

android intentservice android-handler android-intentservice postdelayed
Android Testing Handler.postDelayed

I'm newbie on Android and get stuck on testing a SplashScreen, basically what I'm doing is trying to test that …

android unit-testing handler robolectric postdelayed
Running a task at a specific time using postDelayed

I would like to start a task at a specific time. For that I use runnable and postDelayed method as …

android runnable postdelayed
Android - Question on postDelayed and Threads

I have a question about postDelayed. The android docs say that it adds the runnable to the queue and it …

android multithreading runnable postdelayed