BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-02-2007, 12:50 AM   #1 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry Functionality

Please Login to Remove!

Hi,

I was wondering if anyone knew for a fact whether the following things can be done by a developer. Simple yes or no is fine, but if it is yes, some direction into the class or examples would be greatly appreciated.

1. Can you auto-restart your own application if it is closed (ovbiously can't within the same app, cause it is closed)? Is there any way to do this at all?

2. Is there anyway to assign a key to launch an application, or bring it to the foreground?

3. With GPS, is there any way to trigger on an event, such as going over a certain speed, changing heading by a certain amount, etc?

That is all. Thanks heaps for any help, much appreciated.

Dan.
Offline  
Old 07-07-2007, 08:59 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

1) I know 2 solutions for tthis:
you can not to give user functionality to close your app - minimize it instead exit. I did it myself in my apps couple of times.
you can run another small application in background, which will check, if first application is running, and restart it.

2) Question is not clear to me. You can programmatically launch application or request foreground for it using net.rim.device.api.system.ApplicationManager

3) No. but you can acquire a fix every defined period of time and check if some condition is met yourself.

Hope it will help!
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

LIA3420, This IC is found on Commodore Amiga 2000 board And is a Buster Chip
$11.0
LIA3420, This IC is found on Commodore Amiga 2000 board And is a Buster Chip  pictureMOS MPS 6520 Commodore Amiga Atari PIA 40-Pin PDIP Used
$10.0
MOS MPS 6520 Commodore Amiga Atari PIA 40-Pin PDIP Used  pictureGenuine Noches Latinas UR3 Amiga Parala La Palma Vagina Mastrubator + Cream Gift
$29.99
Genuine Noches Latinas UR3 Amiga Parala La Palma Vagina Mastrubator + Cream Gift pictureGenuine Noches Latinas UR3 Amiga Para La Palma Culo Mastrubator + Cream Gift
$29.99
Genuine Noches Latinas UR3 Amiga Para La Palma Culo Mastrubator + Cream Gift pictureCSG/AMIGA 391077-01 PLCC
$14.2
CSG/AMIGA 391077-01 PLCC picture






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