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

Lot (4) Cisco CP-7940G 7940 IP VoIP Phones with handsets & stands
$23.99
Lot (4) Cisco CP-7940G 7940 IP VoIP Phones with handsets & stands pictureLot of 90- Avaya 9620 VoIP Black Business Telephone 70042711 9620D01A
$609.99
Lot of 90- Avaya 9620 VoIP Black Business Telephone 70042711 9620D01A pictureAudiocodes MP118 8FXS 3AC MP 118 Analog Gateway SIP VoIP 1 Year Warranty
$155.0
Audiocodes MP118 8FXS 3AC  MP 118 Analog Gateway SIP VoIP 1 Year Warranty picturePOLYCOM SOUNDSTATION IP 6000 (2201-15600-001) POE VOIP CONFERENCE PHONE
$149.99
POLYCOM SOUNDSTATION IP 6000 (2201-15600-001) POE VOIP CONFERENCE PHONE picture3 Avaya 4621SW IP Office VoIP Business Telephones
$55.0
3 Avaya 4621SW IP Office VoIP Business Telephones  picture






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