开发者

Display an alert in Android while screen is locked

I am looking for a way to show the user a message开发者_JAVA技巧 on an Android device even when the screen is locked. What I've found is that most of the popup examples, such as SMS popups, appear only once - but won't display again the second time the user presses the power-button to turn the screen on (but leaves it locked).

I'd love any advice the community can provide on how to display a persistent message on the lock-screen.


Tyr to use LayoutInflater and PopUpWindow class for this purpose

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜