02-07-2011 07:35 AM
Hi team Kindly let us know how to use the global variables in BlackBerry development. I am using the BB Web plugin v2.5 for visual studio. Though can use the global variables in dparameters to send data from one page to other page.
02-07-2011 01:59 PM
If you have structured your WebWorks application such that different "screens" are in fact separate HTML files, then you can pass information between these pages during HTTP navigation using the query string. Here is an example:
<a href="page2.html?parm1=abc&parm2=def">Link to Page 2</a>
Otherwise, you can save name-value pairs in a cookie which is transferred between page requests.
Finally, I'd encourage you to look into using HTML5 LocalStorage to save name-value pairs. LocalStorage is supported on BlackBerry 6 and BlackBerry PlayBook Tablet OS.