Click here to Skip to main content
15,891,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Am Anandraj, Am new to Android, I created one appllication , In that I want to Use automatic update time. I wants to use automatic update time for every five sec in my application using android coding.. Please any one help me immediately to achieve this target..
Posted

1 solution

Well, use Chronometer[^].!!

As per the doucmentation (if I'm not wrong ;)):
It is a class that implements a simple timer.

You can use elapsedRealtime()[^] of this class.

-KR
 
Share this answer
 
Comments
Member 10556609 10-Mar-14 3:03am    
thank you Friend i used click event to refresh the page but now i want to add display automatic update time for every 5 secds or 10 secds..in my application..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900