-1

我想在“睡眠模式/待机”的终端显示通知/警报。就像 WhatsApp、Handcensms ... 或简单的闹钟一样。

例如,在 IOS 中称为“本地通知”,看起来像: http ://www.remotenotification.com/wp-content/uploads/2011/08/PushNotification1.jpg

我正在阅读有关 AlarmManager、WindowManager 的信息。但我不明白。

任何人都可以帮助我或指导我吗?

我不知道需要什么使用许可。

问候和感谢

4

1 回答 1

0

也许这是一个相当愚蠢的回应,但你的意思是祝酒消息吗?http://developer.android.com/guide/topics/ui/notifiers/toasts.html

Toast.makeText(context, "This text will be displayed", 100).show();
于 2012-01-10T11:34:56.183 回答