您好,我如何创建永久性的通知,如第一个为电池指示?
Hello, How do i create the permanent notification like the first one for Battery Indicator?
指定 Notification.FLAG_ONGOING_EVENT
标记你的通知
。
样品code:
yourNotification.flags = Notification.FLAG_ONGOING_EVENT;
// Notify...
如果您不熟悉的通知
API,读的