|
|
||
Neto Marin's BlogMay 2007 ArchivesGetting started with JME - Part II / IIIPosted by netomarin on May 15, 2007 at 11:56 AM | Permalink | Comments (2)Hi all !! Let´s talk today about witch IDE use to JME development and after, about MIDlet (and MIDlet life-cycle) and User Interface. Part II Until few days ago I used to develop my applications with Eclipse, mainly by your excellent code editor and great re-factor stuff thats made faster the code re usability. But, at last Sun Tech Days I was very surprised with the examples using NetBeans 5.5 and since that I´m using NetBeans in some personal projects. But, to start using NetBeans 5.5 to mobile development you´ll need to install also the "Mobility Pack". The responsible to give to NetBeans the "power" of Mobile Development! ;-) Both can be found at:
MIDlet Well, after this all "bla bla bla" let´s go to the "entrance door" of you JME applcation. :-) The life-cycle of a MIDlet is something like the picture:
Taking a look to the picture, we can feel that we´ll hat to develop at minimum 3 methods: startApp, pauseApp and destroyApp. By the own name of the methods, you can suppose the method´s purpose: start, pause and the end of the application, respectably.
Now, you already know from where start you JME development, so it´s time to make the user interface and handle the commands that the user will use. On this point the better thing to do is visit the article: MIDP GUI Programming: Programming the Phone Interface thats describes very well the UI development to mobile phones. ;-) Scenes from next chapter !! :D On the next post I´ll talk a little about the GCF (Generic Connection Framework) thats allow you to connect your mobile application to the Internet or send a SMS message. Also, I´ll write something about how to distribute and deploy your JME application. It´s just wait!!! ;-) Cya Getting started with JME - Part I / IIIPosted by netomarin on May 04, 2007 at 01:37 PM | Permalink | Comments (0)Are you one of those that are very interesting on developing something to mobile devices? Or, Are your boss pushing you to show THAT report on his phone ? And so, you decided to visit some sites and mailing lists about, but you found just a "letter soup" like CLDC, CDC, MIDP and others ????? Oh yeah, I´ve already done the same... and because this I´m going to show you the "stones path": What you have to do to know how this platform works (configurations, profiles, life-cycle, etc). And, for not be a large post, I´ll write divided in 3 parts. ;-) Part I The Platform First, to understand this platform lets look to the above picture:
As you can see, the bars are separated by the kind of device you wanna run your application. Because, with this you will be able to know witch APIs will be available to develop you application. And of course, it´s a good idea read your device specification to know witch optional API will be available too. My objective today is show you the path to find the best resource of documentation. In this case, the best option is to visit http://java.sun.com/javame/reference/apis.jsp . Downloads Yet on Sun´s site, you can find at http://java.sun.com/javame/downloads/index.jsp the oficial toolkit to different JME configuration and profiles. And now ?!?!?! :/ Well, now you probably have the minimum necessary to start a JME application development for the device you´ve choose. On the next post I going to write about the application life-cycle and with what you must care when going to start you application development. Any doubt? I forgot something? Wrote something wrong? Cya!! []s Introducing myself !Posted by netomarin on May 01, 2007 at 06:54 PM | Permalink | Comments (3)Hi all! From now on, you´ll find here my little contribution about JME discussion. I´ll post news, articles, codes examples, how-to... well, I´ll try to help you at the JME techonology path! :-) But, before start blogging, I´d like to introduce myself. If you´re looking for something about JME, let me know writing your sugesttion to netomarin@gmail.com and I´ll do the possible to write about what you wanna know ! ;-) Now, is just wait my nex post! ;-) []s | ||
|
|