开发者

Android App Timed Pop Up from Background Service

How can an Android A开发者_如何学Gopp be set on a timer to popup from the background?

Basically, a countdown is setup within the application, user then clicks HOME button, and then when the timer goes off, it returns the user back to the program.

I found a function moveToBack() but moveToFront or Foreground doesn't work.

This should be exactly like an alarm clock program, but I can't seem to find how to do it.

Thanks


AlarmManager is your friend. You can set it up to start an intent after a certain amount of time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜