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

A lot of 2 Genuine Apple A1105 OEM Power Adapters Mac mini 85W 18.5V 4.6A ~
$14.99
A lot of 2 Genuine Apple A1105 OEM Power Adapters Mac mini 85W 18.5V 4.6A ~ picture2x Genuine Apple A1105 OEM Power Supply/Adapter Mac mini 85W 18.5V 4.6A ~
$14.99
2x Genuine Apple A1105 OEM Power Supply/Adapter Mac mini 85W 18.5V 4.6A ~ pictureOEM Apple iPod iMac Power Supply Cable 25A 125V
$10.0
OEM Apple iPod iMac Power Supply Cable 25A 125V picture Vintage OEM Apple Design Powered Speakers M2497 Rainbow Logo Used Works
$39.0
 Vintage OEM Apple Design Powered Speakers M2497 Rainbow Logo Used Works picture(C21) Genuine OEM Apple AC Cord
$25.0
(C21) Genuine OEM Apple AC Cord picture






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