BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-12-2009, 09:16 AM   #1
RyanRitten
Knows Where the Search Button Is
 
Join Date: Jun 2009
Model: 8300
PIN: N/A
Carrier: Rogers
Posts: 43
Unhappy Application not starting fresh when loading?

Please Login to Remove!

Hey all,

I've made a simple application that when initially loaded, it goes out to the web and pulls down some data and displays it. This works 90% of the time on my blackberry. But every now and then when i run the app, it just shows the data it displayed the previous time the app was loaded (it for some reason didn't go out to the web to pull the latest data).

I won't post any code at this point.... I'm just curious if there is something obvious I am missing? (ie. the blackberry app caches the old data and uses it).

Thanks
Offline  
Old 08-12-2009, 09:45 AM   #2
murpheous
CrackBerry Addict
 
Join Date: Sep 2005
Location: Boston, MA
Model: 9800
OS: 6.0.0.246
Carrier: AT&T
Posts: 852
Default

I am not a developer, but just wanted to throw this out there...

How is the app being closed? Via menu, using escape key or are you pressing the red end key?

First two will close the app out. While the red key leaves the app running in the background.
__________________
-Chris
Domino 7.0.3/BES 4.1.6 on w2k3 sp2
Offline  
Old 08-12-2009, 09:59 AM   #3
RyanRitten
Knows Where the Search Button Is
 
Join Date: Jun 2009
Model: 8300
PIN: N/A
Carrier: Rogers
Posts: 43
Default

Hmm, thanks for the info. My guess is you are right and the app is still running in the background.

Is there a way I can prevent the app from being exited the improper way? (ie. I don't want the app to continue to run in the background).

Thanks!
Offline  
Old 08-14-2009, 03:05 PM   #4
pfowler
Knows Where the Search Button Is
 
pfowler's Avatar
 
Join Date: May 2008
Location: Palo Alto, CA
Model: 8310
PIN: N/A
Carrier: ATT
Posts: 39
Default

I've found that occasionally exiting my app using the escape key, and then relaunching immediately will preserve the state in the same way that hitting the end key does.
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


1pcs used TSXMFPP128K Memory Card picture

1pcs used TSXMFPP128K Memory Card

$175.00



Memory Stick RAM Shipping Box - 5 Trays fits 250 DDR5 DDR4 DDR3 DIMM Modules New picture

Memory Stick RAM Shipping Box - 5 Trays fits 250 DDR5 DDR4 DDR3 DIMM Modules New

$41.50



Memory Blister Pack Box for DDR DIMM Module Anti Static - Lot of 6 18 35 100 200 picture

Memory Blister Pack Box for DDR DIMM Module Anti Static - Lot of 6 18 35 100 200

$17.95



2 - RAM DRAM Tray-Container Box For Server PC Memory DIMM Modules - Fits 100 NEW picture

2 - RAM DRAM Tray-Container Box For Server PC Memory DIMM Modules - Fits 100 NEW

$21.90



Dental Endodontic Endo Memory Engine Rotary Root Canal NiTi File 25mm files 6PCS picture

Dental Endodontic Endo Memory Engine Rotary Root Canal NiTi File 25mm files 6PCS

$349.50



1PC Omron HMC-EF183 HMCEF183 PLC Memory card New Expedited Shipping picture

1PC Omron HMC-EF183 HMCEF183 PLC Memory card New Expedited Shipping

$267.00







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