Hi all.
I need to create reminder that will remind to the user to clock out from his shift (my app does clock in / clock out check).
I check the forum and I found the libraries GoogleCalender and calendar2 ver. 1.13
So my question is - is it possible to create a reminder if the user doesn't have a Google account at all?
I think there would still be a calendar database in the device even without a google account.
To test this, just run the calendar app and create a new scheduled item (that should create a database if there was not one already). Then use a calendar lib to enumerate the available databases and then your app could access it.
Does the reminder have to come from a calendar app? If not you can use a service and call StartServiceAt to issue a notification at the required time. Then you don't have to make any assumptions about which apps the user has on their 'phone.
Does the reminder have to come from a calendar app? If not you can use a service and call StartServiceAt to issue a notification at the required time. Then you don't have to make any assumptions about which apps the user has on their 'phone.
public Sub ExitApp ' intentional exit
Try
Dim jo As JavaObject
jo.InitializeContext
jo.RunMethod("finishAffinity", Null)
ExitApplication
Catch
Log("ExitApp " & LastException.Message)
ShowError("modFun_ExitApp " & LastException.Message)
End Try
End Sub