The Visual Mobile Designer (VMD) is the graphical interface in the NetBeans mobility package, allowing you to design mobile applications using drag-and-drop components. VMD allows you to define application processes and design GUIs using components provided by mobility packages or components that you design yourself. VMD contains many standard User Interface (UI) components that you can use to create applications such as Lists, Alerts, Forms, and Images. It also includes custom components that can be used to simplify the creation of more complex features, such as waiting screens, splash screens, table items, and more.
The SMS design program is a custom component that provides a mechanism and a user interface for sending short messages using the brief message Service (SMS). This component uses the JSR-120 Wireless messaging API. This API is not part of the MIDP 2.0 specification, so this custom component can only be deployed to devices with built-in JSR-120 support.
Application Overview
This example shows how to use the SMS design program component in a mobile application that supports Wireless messaging API (WMA) devices. You will learn the basic features of this component and how to send messages using the short message service.
In addition to the SMS designer custom components, we use two other MIDP components: splash screen and alarm.
Demand
Before you begin, you need to install the following software on your computer:
NetBeans IDE 6.0 with mobility Pack
Java Standard Development Kit (JDK) version 6.0
If you are not aware of the NetBeans mobility Pack, read the NetBeans 6.0 mobility CLDC/MIDP Quick start Guide before continuing.
Installing and running the sample application
Before you begin, you may want to review the final results of this tutorial.
Perform the following steps to install the Smscomposerexample application:
Download Smscomposerexample.zip.
Unzip the file.
In the IDE, select File > Open Project and browse to the folder that contains the extracted files.
Open the Projects and check tools Windows. It should look like the following: