Welcome!

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

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

How to Develop the Web Application for BlackBerry

Hi,

 

       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...

Please use plain text.
New Developer
christianmce
Posts: 3
Registered: ‎08-07-2013
My Device: BLACKBERRY 9300
My Carrier: 529626251723114

Re: How to Develop the Web Application for BlackBerry

Hi,

 

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

 

https://developer.blackberry.com/html5/api/blackberry.invoke.html

 

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

 

or

 

Push

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

https://developer.blackberry.com/html5/api/blackberry.push.html

 

 

Regards

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 822
Registered: ‎07-15-2008
My Device: Z10
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
Application Development Advisor II
Please use plain text.
New Contributor
kielsoft
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.

 

http://coenraets.org/blog/phonegap-tutorial/

 

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.

Please use plain text.