开发者

Android: static status bar notification

How to create a static status bar notification? Like in skype app or others... It must be visible while app is running, even if it runs in bac开发者_开发技巧kground.


Create a notification and include FLAG_ONGOING_EVENT in the set of flags. Note that when your application is finished, you should cancel the notification.


http://developer.android.com/guide/topics/ui/notifiers/notifications.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜