I don't think an Intent is the solution, but it's hard to tell because the code contains no onClick method. Which value do you want to pass from where to where?
There are all sorts of weird and wonderful things about that code; the loop in lines 20‑30 looks very peculiar, almost certainly incorrect.
Why are you calling Thread#sleep? I don't know enough Android, but why can't you use a timer and a timer task object instead?
Why have you got public fields? Why are you using one‑letter indentifiers? Does anybody know what R means?
Mike Hussey wrote:Want to change the ImageView's picture at runtime dynamically, after 1 sec, 3 sec and 5 sec. but i don't how to pass a vlaue in onClickListener.
That doesn't answer the question of which value you want to pass from where to where.