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

DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101
$60.0
DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101  picture* VINTAGE REPRINT DEC. 10, 1951 AMERICAN MACHINIST BROCHURE *
$1.99
* VINTAGE REPRINT DEC. 10, 1951 AMERICAN MACHINIST BROCHURE * pictureVintage SIGNODE Crimping W14 Tool 17.5" long pat#1784123 dec9 1930 /N12167
$61.22
Vintage SIGNODE Crimping W14 Tool  17.5(VTG) 1984 P & H Harnischfeger yellow hard hat Dec 1st birthday bash milwaukee
$24.99
(VTG) 1984 P & H Harnischfeger yellow hard hat Dec 1st birthday bash milwaukee pictureVINTAGE DIGITAL EQUIPMENT CORPORATION(DEC) 32MB PC MEMORY BOARD 5017155-01 E1P1
$149.0
VINTAGE DIGITAL EQUIPMENT CORPORATION(DEC) 32MB PC MEMORY BOARD 5017155-01 E1P1  picture






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