Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-26-2013 12:20 PM
If I understand it correctly then "eveything" I put in the folder I use to package gets packaged into the "bar" file.
The "bar" file is what starts the app and displays the "index.html". This obviously implies that to get the start page displayed does not require an internet connection. If I also put "dependent" pages in the same folder they also seems to be "reachable" offline. How is this "internal" navigation within the "bar" file implemented? Is it 100% transparent with using server access for the dependant pages. I know there is an alternative using the "appcache". The difference being that appcache requires at least one internt access.
Solved! Go to Solution.
04-26-2013 01:48 PM
Navigation behaves the same way it would if you run a local .html file on your PC. Scripts and styles are loaded by their relative path to the index.html. The only difference is that the local file also has access to content hosted on a server (on another domain), as long as the URL is whitelisted.
If your local .html file references external resources, an internet connection is required every time the application launches. Using appCache, like you've said will only need to download these files once, and fetch from cache on every subsequent use.
Let me know if this answers your question.