pingboo23
pingboo23

Reputation: 137

Timer in Eclipse for Android Game

I'm making this android game of mine for our Programming 3 course. And I don't have any idea how can I make a timer that will not stop until the user finished all the 3 levels of the game? Please help me :(

Upvotes: 0

Views: 592

Answers (1)

Sushil
Sushil

Reputation: 8488

You can start the time in a service. So it will continue to run in the background irresoective of anythings. After completing 3 levels you can stop the timer by stopping the service.

Upvotes: 2

Related Questions