简体   繁体   中英

Rhomobile: Updating Notification/Status Bar

I am writing an app where I have an item with an expiry date. I want to check the expiry date and if it is in the past, put a message in the notification/status bar (icon and message).

This sounds trivial, but I am struggling to find any code snippets that demonstrate how to update the notification/status bar.

Does anyone have any code or a walkthrough on how to achieve this?

Many thanks

You can use Vibrate, Beeper, LED Flash or a popup. Please refer the link http://docs.rhomobile.com/en/4.0.0/guide/device_hardware_key_handling for further details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM