Sabtu, 18 Februari 2012

Learn to Make Mobile Applications with J2ME

This article describes how to create J2ME applications (Java applications for small devices such as phones, PDAs and other) without writing programming code (source code), because this article is intended for programmers who have never made a J2ME application, many of the PC desktop programmer may find it too difficult to create J2ME applications for mobile, hopefully this short article to provide an adequate explanation and provide a positive spirit to create J2ME applications.
Creating a J2ME application does not require a lot of large or complex software, one of the required software is J2SE SDK / JDK, the J2SE SDK / JDK and is there a runtime library for the Java program in general as well as for J2ME, at the time this article was written There J2SE SDK v1.4.2.
To write J2ME source code, then we need a J2ME IDE (integrated development environment), there are several options Netbean such as IDE, Sun One Java Studio Mobility, CodeWarrior and notepad (or another text editor), luckily all the software mentioned IDE This can be downloaded for free at the official website of each company, so to make the J2ME developer program does not need to spend any money at all to buy the software IDE.
Is reviewed in this article are from Netbean v4.1 IDE with Mobility Pack v4.1 Netbean addition, it is necessary to make additional J2ME applications, because if only the Netbean v4.1 can create Java applications only, Netbean Mobility Pack is a module-J2ME application module and the device emulator for testing in the PC. Other IDEs may be tried but Netbean v4.1 is recommended because this version is very easy to operate and felt quite quickly compared to other IDEs in terms of loading, compiling, running and debugging.
Steps taken by the editor to start creating J2ME applications are:A. Install J2SE SDK v1.4.2 (50MB)2. Netbean Install v4.1 (47MB)3. Install Netbean Mobility Pack v4.1 (18MB)4. Run Netbean v4.1, create a new project and select the category "Mobile" and the type of project "Mobile Application"5. Select a location to store project files, the "Set as Main Project" and "Create Hello MIDlet" do not be changed (checked)6. On the "Platform selection" select "Device Configuration" = CLDC-1.0 and the "Device Profile" = MIDP-1.0 (the smallest version that can be used in all mobile J2ME support)7. After all is complete (tempate has been made), run the application by pressing the F6 (Run Main Project).8. Then, this project will be compiled and the emulator will come out, use the mouse to operate the emulator by pressing keypad button in the emulator is like a normal mobile.9. At this time, the application "Hello World" we have finished and can be made directly in the actual tests on the mobile.
For testing directly to the provider, which is required or not much, just:A. Mobile phones that support J2ME (MIDP v1 at least).2. Tool to move an application (. JAR and. JAD) that was made into a mobile, can be either a data cable, infrared, bluetooth or card reader / writer if you want to use as a mobile test device has an external memory slot, such as MMC, MemoryStick and others.How To transfer J2ME applications such as filling out a ringtone, image and others.3. Software to move into the mobile J2ME applications, can use the application made by another company (not made with mobile vendors), such as MobiMB small, easy and fast.
In this article, which is used as a test mobile is Nokia 6015 (using the USB data cable) and the Nokia 9500 (using the card reader / writer to copy the file. JAR and. JAD into the MMC). Files to be transferred into the provider file. JAR file (. JAD if required) are located in the directory "DIST", this directory location specified in step 5.
We have created a J2ME application "Hello World", to change the text or object adds to other objects such as TextBox, RadioBox, menu buttons and other things we can do in Netbean without need to write source code for v4.1 has Netbean function quite well and easily with drag-and-drop a bit like Visual Basic and other programming that requires only a change in the properties object if necessary such as his words, wide, high and others.
It is an application that has been made is not very useful, but for the programmer who has mastered the Java programming language so it is not difficult to make an application or game for mobile game that might be easily sold to the company's mobile content aggregator for mobile content business is quite good when this.
Options J2ME to create an application / game provider is very good, since the file size is small (JAR files Hello World we have created is only approximately 1 kilobytes), the Java language is relatively easier to learn than C / C + + for Symbian, Palm, Pocket PC and Linux, and the last reason is the IDE for J2ME version of the software today is very good and easier to use.
Chances are if all the steps described above is fitted with exactly the same by the beginner, it may only take less than 10 minutes to complete included in the provider, the editor only takes less than 3 minutes to complete.
http://indoprogrammer.blogspot.com/2008/08/belajar-membuat-mobile-aplikasi-dengan.html

Tidak ada komentar:

Posting Komentar

Recent Posts

Powered By Blogger