BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-01-2008, 09:35 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100i
PIN: N/A
Carrier: nextel
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default closing application

Please Login to Remove!

hello

I'm trying to close a application through code and the system.exit(0) doesn't work. any suggestions.
Offline  
Old 08-01-2008, 10:27 AM   #2 (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

maybe you are not in your applications context, for example because you are trying to do so from a listener?
you can use invokelater on your application object to get into the context and call system.exit then
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 08-01-2008, 10:36 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100i
PIN: N/A
Carrier: nextel
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default using listener

i'm new to j2me because usually i code web pages in vb.net so yes i'm a newbie. i'm using a location listener and getting coordinates of phone when user enters in info and clicks button (using fieldlistener for button). the location listener listens every 30 seconds and i just want to grab coordinates once and be done. if could help me to get back out of listeners or how to make location listener only listen once would be great.

thanks
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

New Magnatron Emergency Light M1 Dual Voltage 120/277V Adjustable Lighting Heads
$19.99
New Magnatron Emergency Light M1 Dual Voltage 120/277V Adjustable Lighting Heads picture5x BZXC16 Voltage Robust Izer Epitaxial Planar Zener Diode Do-35 16v 500mw
$1.45
5x BZXC16 Voltage Robust Izer Epitaxial Planar Zener Diode Do-35 16v 500mw pictureAmprobe 4700987 VP-1000 Non-Contact Voltage Probe
$18.81
Amprobe 4700987 VP-1000 Non-Contact Voltage Probe pictureHoldwell Voltage Reducer Converter Regulator 48 Volt to 12V 10A Waterproof fo...
$22.37
Holdwell Voltage Reducer Converter Regulator 48 Volt to 12V 10A Waterproof fo... pictureFluke T5600 Electrical Voltage, Continuity and Current Tester
$113.32
Fluke T5600 Electrical Voltage, Continuity and Current Tester picture






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