Pages

Monday, June 27, 2011

Create button, Input field and tooltip using BlackBerry WebWorks!

Last time I showed how to say "Hello World" from BlackBerry. Now I want to show you how to create simple alert button, input field and tooltip :). All you need to do is create a simple HTML, configuration file for your WebWorks application (config.xml), a CSS file to customize the interface and add some image for your application icon. Put it in one folder and compile it with bbpw.exe which you can found in the directory where you installed BlackBerry WebWorks SDK.


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

Thursday, June 9, 2011

RGB Image Processing using Matlab

This is what I've learned in this semester. In Digital Image Processing class, my lecturer gave me a very strange image. Let me show you the image..

Real Image
Ok, now what to do with this image? My lecturer said that maybe he'll use this image in the final examination. I've heard that last semester, the same lecturer gave this picture too in the final examination. The main goal is to remove the noise from the image, and then manipulate the object in the image so that the rubber band will have a red color and the other solid objects will have a green color, using Matlab. I've trying to do it several hours ago  using Matlab, and the result is.... Yes, I can! Here is my Matlab script to manipulate the image above: