BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 02-12-2009, 06:37 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Enable/ disable CLDC application launch upon device startup.

Please Login to Remove!

Hi,

I would like to add an option to my blackberry CLDC application ( no MIDlet) to
enable/ disable application launch upon device startup.

I have tried the Auto-run on start-up option from project properties. But it will always enable my choice.

My requirement is to add an option field to my GUI screen and user can select this feature.

Please Help...

Thanks in advance.

Jo
Offline  
Old 02-19-2009, 09:28 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have handled this by checking a boolean variable stored at the record store and ApplicationManager.getApplicationManager().inStart up().

That implementation help me to handle the above scenario in Hard Reset only.
For Soft reset, i'm using powerOn() method of SystemListener with the help of a background thread.


My application will start @ device startup and trying to open a bluetooth connection. The BT connection was failed bcz the BT radio is OFF @ device start up.

Do anybody have any idea about enable bluetooth option programatically?
Or how can we check that the BT radio is turned on @ device startup.

Jo
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

Reduced WinBridge WB001 Rechargeable Ultralight Portable Voice Amplifier
$27.5
Reduced  WinBridge WB001 Rechargeable Ultralight Portable Voice Amplifier pictureFanuc A06B-6076-H106 A Servo Amplifier Module 230 V A06B6076H106
$4499.99
Fanuc A06B-6076-H106 A Servo Amplifier Module 230 V A06B6076H106 pictureNIB BALDOR AC Servo Drive SD26M1A02-TR / SD29M1A02-PR, 115V input, output 2.5A
$890.0
NIB BALDOR AC Servo Drive SD26M1A02-TR / SD29M1A02-PR, 115V input, output 2.5A  pictureAlpha Industries 4H04-001FHA, IC Amplifiers, AC453 Gold Case Collectable
$25.0
Alpha Industries 4H04-001FHA, IC Amplifiers, AC453 Gold Case Collectable picturePLANTRONICS M10 Headset Adapter/Amplifier 29196-01P NEW
$8.99
PLANTRONICS M10 Headset Adapter/Amplifier 29196-01P NEW picture






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