Android Question Launching the application at the required time

Sergey_New

Well-Known Member
Licensed User
Longtime User
Couldn't figure out how to do it right.
In the attached example, an error occurs. Please help and fix the code.
 

Attachments

  • test.zip
    82.9 KB · Views: 95

DonManfred

Expert
Licensed User
Longtime User
1.
B4X:
StartServiceAt(Me, NextTimeInstance(21, 50) ,True)
Is a code to start A SERVICE! You CAN NOT start an activity as a Service.

FORGET about Activities: Switch to B4XPages. And use a SERVICE to start with StartServiceAt
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
Thanks, but I'm not ready to move on to B4XPages yet. Please fix my example to make it work.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
Thank you for not refusing.
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
Maybe one of the forum participants will be able to fulfill my request, and not answer what I need to read?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top