BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-25-2013, 10:23 AM   #1 (permalink)
New Member
 
Join Date: Jul 2013
Model: z10
PIN: N/A
Carrier: Rogers / Bell
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to properly close a BB10 app after an error.

Please Login to Remove!

I am creating a app that goes to a network and pulls down a simple XML file. If everything goes okay, then the file (which contains some names) is displayed in a ListView control.

On the other hand, if there is an error (like a network error etc..) then I would like to show the user something, such as a message in a toast that lets them know that an error occurred, and then I want to close the app.

Can someone please show me how to do this correctly?

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

Similar Threads for: How to properly close a BB10 app after an error.
Thread Thread Starter Forum Replies Last Post
Can someone decipher the pttrace.log file ? twirlspin BlackBerry Help 1 05-02-2011 08:16 PM
Cal entries not synching twirlspin General BlackBerry Discussion 0 04-25-2011 12:20 PM
App 523 error - no access to phone amirh1 General 9600 Series Discussion - Tour 6 10-26-2009 07:25 PM

Okuma OPus 5000 II E4809-032-496-F Servo Processor Timing Cnc Milling Vmc
$195.0
Okuma OPus 5000 II E4809-032-496-F Servo Processor Timing Cnc Milling Vmc pictureOMRON SYSMAC CV1000-CPU01-EV1 PROGRAMMABLE CONTROLLER
$499.9
OMRON SYSMAC CV1000-CPU01-EV1 PROGRAMMABLE CONTROLLER pictureGE Fanuc IC697CPX772-CD 90-70 Series Single slot CPU 3 Serial Ports 96MHz 512Kb
$4449.0
GE Fanuc IC697CPX772-CD 90-70 Series Single slot CPU 3 Serial Ports 96MHz 512Kb picture- SPC Mini Processor, Mitutoyo, 264-504-5A
$456.67
- SPC Mini Processor, Mitutoyo, 264-504-5A picture(1PCS) CAT1021WI-30-GT3 IC SUPERVISR CPU 2K EEPROM 8SOIC 1021 CAT1021
$1.84
(1PCS) CAT1021WI-30-GT3 IC SUPERVISR CPU 2K EEPROM 8SOIC 1021 CAT1021 picture






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