BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-30-2008, 06:57 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: AT
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Allowing application to open itself automatically

Please Login to Remove!

Hi,

Is there any way to allow the application to open itself in a particular time like Alaram.
Offline  
Old 10-30-2008, 06:57 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: AT
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any idea?
Offline  
Old 10-30-2008, 07:44 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Sure:

ApplicationDescriptor thisApp = ApplicationDescriptor.currentApplicationDescriptor ();
ApplicationManager.getApplicationManager().schedul eApplication(thisApp, System.currentTimeMillis() + 60100, true);


This particular example restarts the application in 1 minute. You can set the time for any time required.
Offline  
Old 11-04-2008, 04:37 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: AT
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

But i want my application should open at incoming call or call is connected then where will i have to place the below peice of code.

ApplicationDescriptor thisApp = ApplicationDescriptor.currentApplicationDescriptor ();
ApplicationManager.getApplicationManager().schedul eApplication(thisApp, System.currentTimeMillis() + 60100, true);
Offline  
Old 11-04-2008, 07:30 AM   #5 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

take a look at the API of ApplicationManager.
__________________
java developer, Devinto, hamburg/germany
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

8x FUJITSU MB8264A -15 DRAM 64kx1 164 4864 IC Apple IIe Commodore 64 Oric IBM PC
$6.95
8x FUJITSU MB8264A -15 DRAM 64kx1 164 4864 IC Apple IIe Commodore 64 Oric IBM PC pictureWindsor Commodore 20 Commercial Walk Behind Small-Area Carpet Extractor Cleaner
$100.0
Windsor Commodore 20 Commercial Walk Behind Small-Area Carpet Extractor Cleaner pictureComfort Products 60-5800T Commodore II Leather Chair Adjustable Headrest
$255.79
Comfort Products 60-5800T Commodore II Leather Chair Adjustable Headrest pictureJelenko Commodore II VPF Porcelain Furnace - Model 311400
$585.0
Jelenko Commodore II VPF Porcelain Furnace - Model 311400 pictureCommodore Banner Sign Wappen Emblem Logo Schild Werbebanner Poster Flag New
$22.95
Commodore Banner Sign Wappen Emblem Logo Schild Werbebanner Poster Flag New picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.