I am trying this for few days. Blackberry web works says its support Blackberry OS 5+. So i taught i create something with JQuery Mobile. After few hours of code my App is done.
but the result is really different than the result in the simulator. simulator is using Ripple on the Google Chrome. the result was its seems the CSS for the JQuery Mobile is not working. and the first loading of the app took forever.
thats why i am going to write a few tutorial, a very simple tutorial of Blackberry OS 5+. this tutorial will begin from simple to complex. i hope i can add few jquery on it.
i once try to create webworks app to use the camera and capture a snapshot. but the camera is not event firing.
For the very first app its always HelloWorld App.
HelloWorld
this is the result image got from Ripple Emulator from Google Chrome.
this is my index.html.
this is my config.xml
with additional 2 image with 4 Kb each so the file size no more than 8 Kb. but the end result after packaging and all the file become 250 Kb. after installed on my phone, im tryin to execute the app. the loading is doesn't really long its only took about 2~3 sec.
and still with hello world. im gonna try to attach jquery.min.js. which have less then 100kb in size
this is now my index.html
The Files for OTAinstall become 350kb. and after installing it in my Javelin Blackberry 8900 the loading become a lil bit longer its around 10 ~ 12 secs.
if you using OS 7.1 Device 9860 the loading just took 3 sec. so if you want to create WebWorks app just make sure that your client will be using a new generation of BlackBerry. if you just using BlackBerry OS 5 Device such as Javelin 8900 and Torch 1. you should create with JAVA Native.
So right now i will be creating 2 App for BlackBerry. The Native Way and The WebWorks Way.
I think its for the best.
but the result is really different than the result in the simulator. simulator is using Ripple on the Google Chrome. the result was its seems the CSS for the JQuery Mobile is not working. and the first loading of the app took forever.
thats why i am going to write a few tutorial, a very simple tutorial of Blackberry OS 5+. this tutorial will begin from simple to complex. i hope i can add few jquery on it.
i once try to create webworks app to use the camera and capture a snapshot. but the camera is not event firing.
For the very first app its always HelloWorld App.
HelloWorld
this is the result image got from Ripple Emulator from Google Chrome.
this is my index.html.
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> BlackBerry Webworks Tutorial for OS 5</title> </head> <body> <div id="content"> <h1>BlackBerry Webworks Tutorial for OS 5</h1> <p> This will be home for every test that i made for blackberry os 5. i don't know why the webworks cant be use for OS 5. so this is my hello world. </p> </div> </body> </html>
this is my config.xml
<?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0"> <name>BlackBerry Webworks 5.0 Tutorial</name> <author>Riza Nurhadi</author> <description>Tutorial App</description> <icon src="images/riza_logo.png"/> <content src="index.html"/> <rim:loadingScreen backgroundImage="images/background.png" foregroundImage="images/background.png" onLocalPageLoad="true"/> <rim:orientation mode="auto" /> </widget>
with additional 2 image with 4 Kb each so the file size no more than 8 Kb. but the end result after packaging and all the file become 250 Kb. after installed on my phone, im tryin to execute the app. the loading is doesn't really long its only took about 2~3 sec.
and still with hello world. im gonna try to attach jquery.min.js. which have less then 100kb in size
this is now my index.html
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> BlackBerry Webworks Tutorial for OS 5</title> <script type="text/javascript" src="jquery.min.js"></script> </head> <body> <div id="content"> <h1>BlackBerry Webworks Tutorial for OS 5</h1> <p> This will be home for every test that i made for blackberry os 5. i don't know why the webworks cant be use for OS 5. so this is my hello world. </p> </div> </body> </html>
The Files for OTAinstall become 350kb. and after installing it in my Javelin Blackberry 8900 the loading become a lil bit longer its around 10 ~ 12 secs.
if you using OS 7.1 Device 9860 the loading just took 3 sec. so if you want to create WebWorks app just make sure that your client will be using a new generation of BlackBerry. if you just using BlackBerry OS 5 Device such as Javelin 8900 and Torch 1. you should create with JAVA Native.
So right now i will be creating 2 App for BlackBerry. The Native Way and The WebWorks Way.
I think its for the best.
Comments