I\'m trying to execute a chunk of Java code in my Android program every two seconds. My code currently looks like this:
LinearLayout.postDelayed(new R
Put your code in a loop. Or you could look into Alarms.