Pages

Thursday, June 23, 2011

Build a simple BlackBerry Application using BlackBerry WebWorks!

This week, I learn how to develop a BlackBerry application using BlackBerry WebWorks. Why using BlackBerry WebWorks?
BlackBerry® WebWorks™ applications are stand-alone web applications that use HTML, CSS and JavaScript®. They look, behave and have the same security mechanisms as a native BlackBerry smartphone application. BlackBerry WebWorks applications can be installed on a BlackBerry smartphone like any native BlackBerry smartphone app and extended to use device-specific information and data with BlackBerry WebWorks APIs.
I'm not an expert Java programmer, so I spent a lot of my time to learn and build BlackBerry application using Java code. Now with BlackBerry WebWorks, I can develop BlackBerry application using HTML, CSS and JavaScript.

Hello World application

My first BlackBerry application is "Hello World" application! Yeah, "Hello World"  is a must for a beginner programmer :p .The word "Hello World" is generated only from a simple HTML file like this one:
<html> 
  <head> 
    <style type="text/css"> 
        body { font-size: 5em; } 
    </style> 
  </head> 
  <body> 
    <p> Hello World </p> 
  </body> 
</html>
Don't believe? Then, try it yourself.
Here, you can go to http://us.blackberry.com/developers/browserdev/ to learn about BlackBerry WebWorks and to create yout first "Hello World" application, you can find the tutorial here "Hello World" BlackBerry application . God luck guys :)

No comments:

Post a Comment