Hello! I made it like this. Not exactly the same code but kind of. I just give you the main idea.
I used this piece of code:
Code:
ApplicationDescriptor descriptor = new ApplicationDescriptor(ApplicationDescriptor.currentApplicationDescriptor(), new String[] {"autoStart"});
Then:
Code:
ApplicationManager.getApplicationManager().scheduleApplication(descriptor, time, true);
The time variable in this code is long value and that is the specific date and time you want the application to be started. So when the time is come, the application will starts itself with the "autoStart" arguments, or whatever you need. Good Luck !