Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 65
Registered: ‎08-07-2013
My Device: Blackberry Torch 9800
My Carrier: Mobile App Development

How to Develop the Web Application for BlackBerry



       I am new to Blackberry Web development. Now i don't know how to develop the web apps for blackberry. But i have executed the Helloworld Web app in blackberry by the Blackberry Tutorial website. still i don't have clear idea about the web development. What is my specific problem is....


while developing the web app for blackberry..just i am using only (HTML,config.xml,CSS) pages  whether we need to associate with native code or not...while using HTML page..i can't pass the value from one page to another...


so please help me to develop web apps..Thanks in Advance...

New Developer
Posts: 3
Registered: ‎08-07-2013
My Device: BLACKBERRY 9300
My Carrier: 529626251723114

Re: How to Develop the Web Application for BlackBerry



Of course, you can pass values from one page to another using JavaScript. I recommend you, check this information:




Also, you can use XMLHttpRequest.send() https://developer.blackberry.com/html5/documentation/xmlhttprequest_send_620055_11.html





The Push object allows you to leverage the BlackBerry push architecture to receive push data in your application.





Posts: 856
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: How to Develop the Web Application for BlackBerry

In many cases, modern web applications don't have more than one actual page - index.html. Instead of changing which page is loaded, they will dynamically change the content displayed using JavaScript. This means that you have easy access to global data objects.


Another way to do this is using one of the HTML5 data storage methods, like LocalStorage, or IndexedDB.

Tim Windsor
Open Source Technical Lead
New Contributor
Posts: 3
Registered: ‎03-11-2013
My Device: Blackberry 9520
My Carrier: *

Re: How to Develop the Web Application for BlackBerry

This is real fundamental tutorial of a basic web application on mobile, although this tutorial made use of Phonegap with can help u to use same code for Blackberry, iOS, Android and more.




Asides the platform used in the tutorial, you can still gain more knowledge of how to develop a single page application for a complex mobile app.


Hope this helps you start well.