Friday, February 8, 2008

Completing the circle of J2SE, J2ME and J2EE..

   I am happy to inform you all that my Sony Ericsson K300i now contains an application written by Me …. It is just a simple application created using the Netbeans with Mobility Pack. My gui application (FirstGUI) contains some text labels, one picture of a car and a blinking text part … Just like a hello world application just tell the whole world that I have got another computer to run my applications (or in technical words, J2ME application which runs on the MIDP 1.0 and CLDP 1.0 based JVM which runs on my  K300i mobile phone).
 Those who wish to run custom mobile applications in their mobiles can mail their requests to me from now onwards ….  The only sorrow that I have at present is that I had do all the development in the Windows XP. Presently if I want to run the Sony Ericsson Development suite on Linux, I need to use wine, which is again a dependency on Windows. So I have developed this application in Windows itself.  The  JAD s and JARs created by the Netbeans were transferred to the mobile using the Sony Ericsson USB adapter cable and software running Windows OS Cry

But I don’t wish to be depended on Windows…  My Mobile application development and deployment will be in Linux .. very soon …. This seems to be a promising link in that direction (http://developer.sonyericsson.com/thread.jspa?threadID=24249).

Posted by maxinbjohn in 07:02:05 | Permalink | No Comments »

Wednesday, February 6, 2008

Aiming Small — An embedded Java program for my K300i mobile

When I spent money to correct the long privailing display problem of my Sony Ericsson K300i mobile phone, only aim in my mind was to use it as a programmer’s toy :)… write my own programs (Here they restricted me to Java alone) for my small device that I own.

I still remember that rainy day in Mumbai. Then I was working with HCL infosystems, Andheri East office, Mumbai. It was raining slowly when we left the office. From Chandivili to RahejaVihar (Where I work and live respectively) there was about 1.5 km distance. So we decided to walk. I was keeping my newly owned K300i on my pant’s pocket to keep it from water. Almost on the middle of the journey, the rain became heavy. So we decided to find refuge in the nearby bar ( Titanic bar near Chandivili studio which “sank” in fire almost six months later, anyway me and Sreekumar frequently visited there on Saturdays and Sundays). Standing under the safety of the roofs of Titanic, I felt like I should sneeze.. As I was(?) a gentleman , I decided to cover my face during sneezing to help others :) …… As the urge to sneeze was high, I went for the handkerchief which was in my pants pocket . I got a touch of it and I went for it very fast…. too fast….

Then I saw something raising in the air… That was my mobile phone which I kept in my pants pocket along with handkerchief. On the hurry , I took the handkerchief in a hurry but forget to keep the mobile in the pocket itself. It flew in the air and landed on the road. I felt a shiver in my body.. my devil…. what did I do with my Rs. 5500 /- :(
After that , the same mobile served me loyally for about an year without display .. My friends used to advise me to change the mobile. But I thought as it is doing the basic functions even without the display, why bother to change it ?

But later I have changed my decision and repaired it by spending near to a cool thousand rupees. My only aim was to use the JVM in that phone .. Yes , the K300i has a JVM installation in it. I have installed the necessary packages, J2SE implemenation for Linux. the sun_java_wireless_toolkit-2_5_2-linux.bin , the J2ME implementation … etc and used the Sun’s sample program available at http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java.

Now the screenshot of that emulator running that program in Fedora core 6 is available with me :) I need to check the newly developed jad and jar on my mobile phone today itself :)

Posted by maxinbjohn in 06:22:09 | Permalink | No Comments »