You need to make a reminder at the set date and time through the web interface (with bridges in java). Also make it possible to delete or change the text, the date of the reminder. Provide download reminders (imitation). All script work is based on id of reminders in webview.
Algorithm for adding and clicking on a reminder in the notification bar / bar (example):
Open the first of May (click on "May 1"). The text of one of the reminders is changed to an arbitrary one. Choose the current date, the current time + 5 min. Click save. (see Save Algorithm) Close the program (kill the process) or reboot the phone. We wait. After 5 minutes in the notification blind, on the lock screen, a reminder with long text (BigTextStyle (). BigText ()) appears with the sound (arbitrary) and vibration in the upper bar. A very large amount of text should not cause errors. Duration of sound and vibration, if not click on the notification - 30 seconds. We click on the notification (at this point the reminder is erased from the native): the program opens and the day in which we saved the notification occurs - we have it on the first of May. Opening occurs by selecting an element by id (see the "Save" item) and clicking on the propel ([login to view URL] ()).
If you save a reminder, in addition to manipulation in the on-die, to <divcontenteditable = "true"> Reminder </ div> add an id of the form: "01052018_18: 00" (example), i.e. date and time of reminder. This id we use later for:
- Day openings (when you click on a reminder in the bar / notification bar) in which a reminder is saved (see Algorithm for adding and clicking on a reminder)
- Download reminders and set the date and time of activation natively ("Download reminders" button)
- Delete reminders - Change date or reminder text
- Insert the date and time of the reminder in <inputtype = "datetime-local"> when loading or unloading into the document ([login to view URL] = [login to view URL] ('ls')) the saved reminders. If the reminder already has an id (it was saved earlier), when changing the text or the date (time) of triggering and saving - there should not be a new reminder - we are editing the existing one.
If you saved by mistake for the past tense - do nothing (I'll handle it myself).
Algorithm for loading reminders (imitation download from the cloud):
When clicking on "Download reminders", we download reminders and go through them to set the dates and times of the activation of reminders in the native. We use id for this. In the example, there is only one id, so in practice there may be more. If, for some reason, there is the same reminder on the nape as in the downloaded ones - this should not cause an error or stop the script.
Work with past reminders
It may be that a person has sat down the phone and turned it on after the reminder time - in this case the reminder should still work, however long it takes. If the reminder worked, but it did not click and the phone sat down - it should work again when the phone is turned on.
Work on Android 5 and beyond
When you turn off / on the phone - or what does not go wrong
The structure of the application with webview: the file [login to view URL] at the base.
The basic operations in Java should be commented on
You can use Jquery.
Payment after the test personally
10 freelancer đang chào giá trung bình $1018 cho công việc này
Hi, I can definitely help you with Reminder app. I am a full time developer working "8 hours a day" 40 hours per week. Lets discuss the project further on chat before start. Thanks