BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-25-2013, 10:23 AM   #1
ggrosso
New Member
 
Join Date: Jul 2013
Model: z10
PIN: N/A
Carrier: Rogers / Bell
Posts: 1
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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


1000W Stainless Steel Welding Bead Processor,Brush Type Weld Cleaning Machine picture

1000W Stainless Steel Welding Bead Processor,Brush Type Weld Cleaning Machine

$214.20



Siemens 6ES7214-1HG40-0XB0 Compact Processor picture

Siemens 6ES7214-1HG40-0XB0 Compact Processor

$225.00



1pcs New Siemens 6ES7314-1AG14-0AB0 6ES7 314-1AG14-0AB0 fast delivery picture

1pcs New Siemens 6ES7314-1AG14-0AB0 6ES7 314-1AG14-0AB0 fast delivery

$309.00



NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US picture

NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US

$310.93



AB 1747-L542 /B SLC 500 5/04 CPU PROCESSOR UNIT New Factory Sealed AB 1747L542 picture

AB 1747-L542 /B SLC 500 5/04 CPU PROCESSOR UNIT New Factory Sealed AB 1747L542

$334.57



New Factory Sealed AB 1747-L532 SER E SLC 500 PLC Processor Unit Module 1747L532 picture

New Factory Sealed AB 1747-L532 SER E SLC 500 PLC Processor Unit Module 1747L532

$382.39







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