With the click of a button, switch back and forth between different emulation environments while developing one set of code. It's never been this easy to take advantage of Java technology's cross-platform capabilities.
Tutorial Details:
Introduction
NetBeans Mobility Pack 4.0 is an integrated development environment (IDE) designed to support mobile application developers throughout the whole development cycle. Because it is exactly aligned with United Emulator Interface specifications, the Mobility Pack allows developers to move from one emulation to another much more easily than before. Plugging in UEI-compliant emulators is virtually automatic.
John Muchow, the Mobility Tools Architect for Sun Microsystems, says this tool offers advantages over others in the market.
"We've essentially created a direct plug-in for NetBeans," he says. "We're not a third-party tool. The same people who created NetBeans are the same people who created the J2ME plug-in for mobility, so it is integrated, offers better support, goes through the same quality process and so on." It's also, he continues, the best tool available for managing device fragmentation. "Instead of being a tool that you can do J2ME in, it's a Java development tool that has specific features tailored to J2ME developers."
Karel Herink, a software engineer and developer for Sun Microsystems in Prague, is a part of the team that developed NetBeans Mobility Pack 4.0. He says this tool works behind the scenes to complete much of the work necessary for developers to switch back and forth between different emulation environments. When creating applications for mobile phones, he says, developers can open up the IDE and type code into a template. The IDE compiles the sources, does preverification, which shrinks the compiled product to a smaller form that fits on the phone, and then it can also package the product or the compiled code.
"So basically you type in the code, you hit a button and there's a process underneath it the developers don't need to concern themselves with. We compile the code, we preverify it, we JAR it up and then we create another file that's the JAR descriptor (JAD). And with those two components you're able to deploy the app on the phone or in the emulator. It's really very easy."
Here's how to use it.
How To Plug In A UEI-Compliant Emulator
First download and install the NetBeans 4.0 integrated development environment (IDE), then download and install NetBeans Mobility Pack 4.0 on top of it. Once both are installed, launch the IDE. NetBeans Mobility Pack 4.0 already contains UEI-compatible emulators from the J2ME Wireless Toolkit 2.2 platform.
What is UEI?
The Unified Emulator Interface (UEI) allows Integrated Development Environments (IDEs) to use a single interface (API) to support device emulators from various companies.
To plug in additional UEI-compatible emulators, first download the emulator. Once an emulator is downloaded the IDE will tell you if it's UEI-compliant or not. If the emulator is UEI-compliant, the IDE automatically detects what kinds of devices it will emulate, what APIs are supported, along with some additional information and presents it all in a nice user interface (UI). Also, says Herink, the IDE can detect when developers try to write an application for a phone that uses, for example, Bluetooth, but the emulator they're using doesn't have the Bluetooth API installed. In cases like this, the IDE will automatically detect this discrepancy and show the developer exactly what this emulator supports and enable the developer to manage any necessary changes more simply.
Says Herink: "You might want to write an app for CNET, for Nokia, for different phones, and if one phone supports an API and a different phone doesn't support an API, then we do all the class path management and make sure everything complies with the appropriate APIs. It can get confusing sometimes if you're working with 20 different phones at the same time Γ?ΒΆΓΆβ??‰β?¬Ε? they can be so different. Our IDE really makes it easier to use different emulators because you can look at it and immediately know what's supported and what's not."
Platform vs. Device
A note about the difference between an emulator platform and a device: A platform can contain many devices within it, or only one. For instance, you can see that the "J2ME Wireless Toolkit 2.2 platform", which is pre-installed, provides four emulator devices: "DefaultColorPhone", "DefaultGrayPhone", "MediaControlSkin", and "QwertyDevice".
For this example we will use a Nokia emulator found at http://www.forum.nokia.com/main/0,6566,034-2,00.html. After downloading the emulator, install it.
Start the IDE. In the main window select "Tools->Java Platform Manager". You will see two installed platforms: J2ME Wireless Toolkit 2.2 and Default Platform. Click the "Add Platform" button and browse to the Nokia emulator installation directory. Select "Nokia_6230_MIDP_Concept_SDK_Beta_0_2" and click "Next".
A new platform will be detected and the next panel will show you more details about it such as name, type, configuration, profile, list of optional APIs, and a list of devices such as the actual emulators provided by the platform.
By now you will see that the platform is called Nokia 6230 MIDP Concept SDK Beta 0.2, and it provides one emulator device called Nokia 6230 MIDP Concept SDK Beta 0.2.
Click "Finish" and you will be taken back to the "Java Platform Manager" where you will notice that the platform "Nokia_6230_MIDP_Concept_SDK_Beta_0_2" has been added and contains one device: "Nokia_6230_MIDP_Concept_SDK_Beta_0_2".
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Easy Emulation With New NetBeans Mobility Pack 4.0
View Tutorial: Easy Emulation With New NetBeans Mobility Pack 4.0
Related
Tutorials:
|
Displaying 1 - 50 of about 2580 Related Tutorials.
|
NetBeans IDE
Where to find tutorials and documentation
Starting a new project in NetBeans... operations, and NetBeans makes
this easy -- even when renaming a variable like... Apostolopoulos.
NetBeans Quick Tip #20 - Killing Processes
Starting a new project |
We are providing Downloadable Version of Mandrake 10.1 Power Pack Linux CD's.
10.1 Power Pack is a new-generation Linux operating system for servers and desktop...
We are providing Downloadable Version of Mandrake 10.1 Power Pack Linux CD's.
Mandrake 10.1 Power Pack Linux
Now Available |
New Features in JDBC 4.0
JDBC4.0,JDBC Features,New Features in JDBC API 6.0
New Features in JDBC 4.0
 ... can execute the Queries to get the Results.
Some of the new set of features |
Create JSF Application Using NetBeans IDE
easy
to create the JSF applications with NetBeans. This example illustrates how...
Create JSF Application Using NetBeans IDE, NetBeans JSF Tutorial, JSF Using NetBeans
Create JSF Application Using NetBeans |
NetBeans JSF Tutorial
NetBeans JSF Tutorial, JSF Using NetBeans
NetBeans JSF...;
Create JSF Application Using NetBeans IDE
The NetBeans IDE is a flexible...
In this example, we will be developing JSF Hello World example application in NetBeans |
Features of JDBC 4.0
Features of JDBC 4.0
Features of JDBC 4.0
 ... is a major new release with a strong focus
ease-of-use and programmer... directly with the JDBC API. The new features
availble in J2SE 1.5 added ease |
Creating Login Page In JSF using NetBeans
Creating Login Page In JSF using NetBeans, NetBeans JSF Tutorial, JSF Using NetBeans
Creating Login Page In JSF using NetBeans... a login form in JSF using NetBeans.
To create the jsp page in NetBeans:
1. Right |
New to programming...
Java Programing, New to Java Programming, New in Java Programming
New......
Break the
old rhythm. Explore the new horizons.  |
Java NetBean
.
It
is easy to install and use straight out.
With the release of 6.0 version,
NetBeans IDE include new features and the significant enhancements...;
The NetBeans IDE is a free,
open-source Integrated Development Environment |
New to Java?
New to Java - New to java tutorial
New to Java...;
If you are
new to Java
technology and you want to learn... programming fun and easy. The automatic garbage collection mechanism helps |
New to Java?
New to Java - New to java tutorial
New to Java...;
If you are
new to Java
technology and you want to learn... programming fun and easy. The automatic garbage collection mechanism helps |
JSP 2.0 - New Features
with the objective of making the
life of Developers easy. Here is the new features of JSP 2.0...;
JSP 2.0 is released with new promises. JSP 2.0 is
an upgrade to JSP 1.2 with several new and interesting features |
Difference between JDBC 3.0 & JDBC 4.0
Difference between JDBC 3.0 & JDBC 4.0
Difference between JDBC 3.0 & JDBC 4.0
 ... by DataSource
objects should be pooled.
A new concept has been added |
The Benefits of the New Firefox Browser
The Benefits of the New Firefox Browser
The Benefits of the New Firefox Browser... heard of the new Firefox browser version 1.0 recently released by
Mozilla. If you |
pack() vs. setSize() Method in Java
How to Create Text Area In Java
pack() vs. setSize... which illustrates
you about the main difference between the pack() method...,
Button 5 etc. on it. The frame is seen by using the pack() method. If
you do |
Easy Struts
Easy Struts
Easy Struts...;
The Easy
Struts project... on
the MVC design pattern provided by the Jakarta Struts framework.
Easy Struts |
Creating Bean Class In JSF using NetBeans
Creating Bean Class In JSF using NetBeans, NetBeans JSF Tutorial, JSF Using NetBeans
Creating Bean Class In JSF using NetBeans... click on project -
select New - and select Java Package...
  |
Web Service
and test the webservices.
It’s easy to make the Web Service program in Netbeans...
In Netbeans take new web project in figure 1
 ...
Web Services with NetBeans IDE,Web Services Tutorials |
JPA Examples in NetBeans
JPA Examples in NetBeans
JPA Examples in NetBeans
 ... NetBeans IDE to run JPA
applications. NetBeans IDE provides industry standard |
How To Manage Your Username And Password The Easy And Secure Way
How To Manage Your Username And Password The Easy And Secure Way... The Easy And Secure Way
 ..., there is an easy-to-use freeware see below you can download right now |
New Page 1
;)).getAddress().getStreetName() %>
EL makes it considerably easy -
<html><... servlet's doPost() method where attribute are
being set-
myPack.Person p = new myPack.Person();
p.setName("John");
myPack.Address address = new |
JSF Hello World
;as
shown below.
Creating new JSP page in NetBeans IDE
Now it will open a jsp page...
JSF Hello World,NetBeans JSF Tutorial, JSF Using NetBeans..., we will be developing JSF Hello World example application in NetBeans
IDE |
Retrieve Image in JSF From MySQL Table Using NetBeans IDE
Retrieve Image in JSF From MySQL Table Using NetBeans IDE
Retrieve Image in JSF From MySQL Table Using NetBeans IDE... from MySQL
table using NetBeans IDE.
In this application we create a jsp page |
Microsoft Blues
Dean
With the advent of Service Pack 2 for Windows XP operating system... party applications dont work.
This service pack was needed to keep viruses...
Maybe there was an almighty rush to release this service pack before it had |
Easy Eclipse Plugin
Easy Eclipse Plugin
Easy Eclipse Plugin
 ... detail about the Easy eclipse plugin
by the this link.
http |
The new keyword
Java Certification
The new keyword...;
The new keyword in java programming
language is used to create a new instance... meaning relevant to a compiler.
The new keyword allocates new objects |
Application Using JAX-RPC
NetBeans examples, SOA and Web Services Example with NetBeans...;
Project Requirement
Make a Netbeans Web Project.In... Client
Create a web project
Take a new Project
Select Web Application |
WSDL program
NetBeans examples, SOA and Web Services Example with NetBeans... document in rpc/literal using NetBeans WSDL Designer.Create a operation...
Make a new web project
Give the project name as WSDL-project |
Inserting a New Entry in a List
Inserting a New Entry in a List,XML,XML Tutorials,Online XML Tutorial,XML Help Tutorials
Inserting a New Entry in a List...;
This Example shows you how to Insert a new Entry in a
list in a DOM document |
New Features of JAVA SE 6.
New Features of java SE 6.
New Features of JAVA SE 6...;
Following are the new features in SE 6.
Changes in I/O
This is a new feature added in Java SE 6 |
JavaFX: New Paradigm in Rich Internet Applications
JavaFX: New Paradigm in Rich Internet Applications
JavaFX: New Paradigm in Rich Internet Applications
 ... learning and
adopting new technologies while there exists some well-established |
Creates a New DOM Parse Tree
Tutorials
Creates a New DOM Parse Tree
 ...;
This Example describes a method to create a new DOM
tree .Methods which are used for making a new DOM parse tree are described below
:-
Element root = doc.createElement |
Opening a new window in Echo3
Opening a new window in Echo3
Opening a new... application) we
will create a new Window. To create this example we have created... window of an application. Here we have
created a new Window by constructing |
MockCentral
;
MockCentral is an easy-to-use, fully-featured set of
tools that provides a new... to the testing code, allowing for cleaner test cases and
easy mock object |
To Determine whether the Session is New or Old
Session is New or Old
To Determine whether the Session is New or Old
 ... on
session in which we will check whether the session is new or old.
To make |
How to Create New Excel Sheet Using JSP
Create New Excel Sheet,How to Make a New Excel Sheet Using JSP,Creating Excel Sheet With JSP
How to create new excel sheet using... a new excel
sheet using
java .You can create any number of new excel sheets |
Old and New Vector Methods
Java: Old and New Vector Methods
Java: Old and New Vector Methods
When the new Collections API...), the
language had not entirely changed to use the new Collections methods. For example |
New satellites to compete with GPS
New satellites to compete with GPS
New satellites to compete with GPS
 .... The new location based service would be more precise and profitable compared |
Replacing a Node with a New One
Replacing a Node with a New One, XML,XML Tutorials,Online XML Tutorial,XML Help Tutorials
Replacing a Node with a New One... of xml documents. Here the Document
BuilderFactory is used to create new DOM parsers |
Java - Opening a url in new window from an applet
Java - Opening a url in new window from an applet
Java - Opening a url in new window from an applet
 ... is opened in a new document or browser.
When you click the button "google" |
Adding a New Column Name in Database Table
New Column,Add New Column in MySQL,Add New Column in MySQL,Adding a New Column Name in Database Table
Adding a New Column Name... to learn about adding a new column in
database table. Sometimes it happens that we |
Replacing a Text Node with a New CDATA Section Node
replacing a Text Node with a New CDATASection Node, XML,XML Tutorials,Online... with a New
CDATA Section Node
 ... to replace a Text node with new CDATASection
Node in a DOM document. Methods which |
Apache MyFaces Core 1.2.0 (New Release)
Apache MyFaces Core 1.2.0 (New Release)
Apache MyFaces Core 1.2.0 (New Release)
 ... source implementation of JSF
that is a new and powerful web application |
Struts Projects
Easy Struts Projects to learn and get into development ASAP... Technology.
Struts Project highlights:
Struts Project to make learning easy... a new user is registered to the system. Mail Bean also used
when user asks |
Java - Opening a url in new window from an applet
Open New URL in Java,Opening New Browser from Applet,How to Open Browser from Applet
Java - Opening a url in new window from... a new window from an applet. You can use the code given in this program to open |
Keep Your Current Job While You Seek a New One
Keep Your Current Job While You Seek a New One
Keep Your Current Job While You Seek a New One
 ...
There are many advantages when you interview for a new job while you are in a job |
Hibernate Tools
;
Working with Hibernate is very easy and developers
enjoy using... new toolset for
Hibernate3 (see this
page for an overview of the Hibernate 2.x |
SQL-introduction
stands for Structured Query Language. It is easy
and allows you to create... to create, alter, drop or delete new
database tables. You can also create indexes... to perform the particular
task are as under:
CREATE TABLE - creates a new table
ALTER |
Java EJB 3.0 Tutorials
;
This tutorial gradually takes a new comer to master EJB
along with learning the updated JEE specifications using glass-fish server.
Tutorials provided are easy...;
One of the new features of added by Sun Microsystems in EJB
3.0 is POJO |
EJB 3.0 Tutorials
;
This tutorial gradually takes a new comer to master EJB
along with learning the updated JEE specifications using glass-fish server.
Tutorials provided are easy...;
One of the new features of added by Sun Microsystems in EJB
3.0 is POJO |
|
|
|