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

DT2239B Digital Non-Contact Flash Stroboscope Tachometer Revolution Meter VP
$36.9
DT2239B Digital Non-Contact Flash Stroboscope Tachometer Revolution Meter VP picture5 PCS - ATMEGA329V-8AU 8-bit AVR RISC 32KB Flash 2.5V/3.3V/5V 64-Pin NEW
$14.99
5 PCS - ATMEGA329V-8AU 8-bit AVR RISC 32KB Flash 2.5V/3.3V/5V 64-Pin NEW pictureAdvantech SQFlash Industrial Grade 16GB SQ flash CF Card SQF-P10S2-16G-ETE
$64.95
Advantech SQFlash Industrial Grade 16GB SQ flash CF Card SQF-P10S2-16G-ETE picture2 PCS New NXP PN# P89C660HBBD MCU 8-bit 80C51 CISC 16KB Flash 5V 44-Pin LQFP
$19.5
2 PCS New NXP PN# P89C660HBBD MCU 8-bit 80C51 CISC 16KB Flash 5V 44-Pin LQFP picture5 PCS - ATMEGA64L-8AU Microcontroller AVR Flash MCU TQFP64 ATMEGA64L 8bit NEW
$14.99
5 PCS - ATMEGA64L-8AU Microcontroller AVR Flash MCU TQFP64 ATMEGA64L 8bit NEW picture






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