11-23-2010 12:25 PM
You have a few options:
1) Save them in cookies
2) Pass them as query string parameters. Then in the onload of the new screen you can grab the parameters using our URL parsing utility http://www.blackberry.com/developers/docs/widgetap
11-23-2010 03:33 PM - edited 11-23-2010 03:34 PM
Can you describe further what you mean by the transition effect becoming unpleasant?
11-23-2010 03:35 PM
1. You can use property cookies,
c. To load the data, read the json string and convert it in an object again.
This is useful when need just to store few data
2 Server sessions
3. You can use Frames/Iframes
Create 2 frames (or iframes) one for navigation and the other to store the data
although the use of this technique is not considered as a good practice
4 If your target devices are html5 compatible, then yo can use web storage to store the data with the object localstorage
11-23-2010 03:38 PM
You can also decide not to transition between pages by changing the location of the document... You can create a framework for your application where you are only ever on one page and then dynamically pull in your other pages and nest them in <div>'s using AJAX
Then the state always stays withing one context.
12-17-2012 06:59 AM
But in my phonegap app, passing the parameters using window.location = url?key=value shows invalid character in name error. how to use query params in webworks based apps?