-1

In my app I want to check system time every second and then take the time compare it with an array of number and return the value until the user closes the application. So plz can anyone help me out thanks....

Bhavesh
  • 88
  • 12

1 Answers1

0

You should try this intent:

android.intent.action.TIME_TICK

Make broadcast-receiver and handle every second what you want.

Help link

Close application is impossiable on Android, you should either close whole and all UIs or just make application background such as service etc.

Good luck!

TeeTracker
  • 7,064
  • 8
  • 40
  • 46