Click Download source code
I recently implemented a simple and practical application that can be used as notebooks, memos, and notes. After we save a note and set a notification ringtone, at that time, the app will wake up the mobile phone system like an alarm to remind us that we will not miss every important appointment...
In fact, it is easy to implement. You can use the database to save the notes and ringtone information and enable the alarm service (if you have set the notification ringtone to be enabled). At that time, you will automatically wake up the mobile phone system, sound and vibration are triggered, and the note information will be displayed in the notification bar. It is simple and practical. You are welcome to download the experience. If you have any suggestions or criticisms, please point it out. Thank you! Because the code is too many and relatively simple, I will not post the code here. If you need the code, you can download the source code. Well, I will not talk much about it. I will share the test below.
1. Desktop shortcuts 2. Enter the application's first Interface
3. Click the plus sign in the upper right corner or press the menu key to enter the new tab editing page. 4. I created a new test tab.
5. Long and press the note. In the pop-up menu, set the note to make an alarm. Go to the settings tab and set the alarm.
7. When the time is reached, the bell rings and vibrations will be triggered and displayed in the notification bar. 8. If the alarm is canceled, it will return to normal. At the same time, the alarm image for this tab will disappear.
9. 10. The notification bar is displayed.
11. Edit the interface menu 12. Exit the application and press the return key twice in two seconds.
OK. Now we can test some functions. You can download them and try them.