How to time an activity in androidHow to time an activity in android

How can I time a voting activity, such that when the time of voting ends the users cannot vote anymore. (using php and mysql)

SUBMIT YOUR ANSWER

  |  
 
 
 

Preview :