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

Measurement Computing PCI-DAS1602/16 Analog and Digital I/O Board
$349.99
Measurement Computing PCI-DAS1602/16 Analog and Digital I/O Board pictureExtron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface *NEW In Open Box*
$49.99
Extron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface *NEW In Open Box* pictureComputer Boards, INC. CIO-DAS48-PGA // 94-3435 Rev.A Analog Input Board
$279.9
Computer Boards, INC. CIO-DAS48-PGA // 94-3435 Rev.A Analog Input Board pictureExtron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface **NEW In Box**
$110.0
Extron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface **NEW In Box** pictureCIO-DAS08 Analog Input Board Computer Boards
$54.99
CIO-DAS08 Analog Input Board Computer Boards picture






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