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

Daniel Industries 3-2500-202 I/O Expansion Memory Module
$50.0
Daniel Industries 3-2500-202 I/O Expansion Memory Module pictureCanon IR5070 copier mainboard FM2-3793 FK20445 w/memory
$76.52
Canon IR5070 copier mainboard FM2-3793 FK20445 w/memory picture1Pcs DS3231 AT24C32 IIC precision Real time clock memory module for Arduino AI1F
$1.01
1Pcs DS3231 AT24C32 IIC precision Real time clock memory module for Arduino AI1F pictureDIY DS3231 Precision RTC Clock Module Memory Module for Arduino Raspberry Pi
$0.99
DIY DS3231 Precision RTC Clock Module Memory Module for Arduino Raspberry Pi pictureAllen-Bradley 1775-MED B ERROR CORRECTING RAM Memory Card Module 128K
$185.0
Allen-Bradley 1775-MED B ERROR CORRECTING RAM Memory Card Module 128K picture






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