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


ETERFANT Dental LED Flash Photography Oral Cell Phone Camera Filling Light Tools picture

ETERFANT Dental LED Flash Photography Oral Cell Phone Camera Filling Light Tools

$63.89



1 PCS New For Flash relay 5 Pin 24V  JQ608A /215C picture

1 PCS New For Flash relay 5 Pin 24V JQ608A /215C

$18.12



REVELPROG-IS SERIAL FLASH & EEPROM PROGRAMMER (1.8V - 5V + ISP, USB) picture

REVELPROG-IS SERIAL FLASH & EEPROM PROGRAMMER (1.8V - 5V + ISP, USB)

$139.00



Point Lighting PFB-37002-R-1-F4-K FAA L864 Red Flashing Medium Intensity Beacon picture

Point Lighting PFB-37002-R-1-F4-K FAA L864 Red Flashing Medium Intensity Beacon

$200.00



REVELPROG-IS PROGRAMMER (SERIAL FLASH BIOS SPI 1.0V - 5.0V) USB + SOIC-8 200mil picture

REVELPROG-IS PROGRAMMER (SERIAL FLASH BIOS SPI 1.0V - 5.0V) USB + SOIC-8 200mil

$159.00



Schneider Electric Harmony XVBL4M3 Univeral Green Flashing Beacon 230 VAC picture

Schneider Electric Harmony XVBL4M3 Univeral Green Flashing Beacon 230 VAC

$153.59







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