w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Turn ON Flash light every second in Android?

Creating the loop is bad idea. Try to use handler http://developer.android.com/reference/android/os/Handler.html

handler.postDelayed(Runnable r, long delayMillis)

use this at the and of runnable code.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.