View Single Post
  (#12 (permalink)) Old
pa4o85 Offline
Thumbs Must Hurt
 
Posts: 146
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Default 05-15-2008, 10:17 AM

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 !
   
Reply With Quote