MOTODEV // DOCS & TOOLS
Welcome to MOTODEV // Please log in.

TECHNICAL ARTICLES

Archive
  • Developing a GPS Application for the MOTO Q 9 | May 2, 2008

    This article demonstrates how to create a simple location detection application with minimum programming complexity on a MOTO Q9 handset, with integrated GPS, using Windows Mobile Location Based Service APIs.

  • PDF Using the Push Registry in MIDP 2.0 | April 30, 2008

    The Push Registry was introduced by MIDP 2.0 as a means of allowing applications to be automatically started, either by a pre-set alarm or by a message received via an inbound connection.

  • Application Testing and Signing | April 4, 2008

    MIDP 2.0 is a sandbox environment designed to prevent an application (MIDlet) from accessing sensitive functionality. Sensitive functiionality includes APIs for network connections, APIs for read/write access, and APIs for messaging. To gain access to protected and restricted APIs, a MIDlet must be trusted via a digital signature from a signing authority.

  • Introduction to the Java ME Location API | April 1, 2008

    Imagine using location data in real-time to remember your favorite new restaurant or perfect fishing spot so you can make it back there again. Current mobile devices can provide this functionality for you, making the common handset the perfect co-pilot. This article outlines location technologies and the usage of Java ME location APIs which help developers easily build and implement compelling location applications.

  • Changing JAR Files Manually | February 26, 2008

    Sometimes it becomes necessary to make a small change to a MIDlet post compile time and outside of an IDE. For example, the MIDlet name may need to be changed and the MIDlet source code or MIDlet project files are not available. This article demonstrates how such a change can be implemented without recompiling the MIDlet in an IDE and without the original MIDlet source code.

  • JSR 135: The Mobile Media API | February 1, 2008

    JSR-135, the Mobile Media API (MMAPI), enables the playing and recording of audio, taking pictures and playing videos, plus many other media related activities. One of the interesting capabilities of this API is audio capture and playback. In this article we will illustrate how this API can be used to achieve a very common requirement of recording voice and playing it back to the user.

  • Motorola's MWay Tool v 1.0 | January 4, 2008

    This article provides instructions for developers to use the MWay Tool included with MOTODEV Studio for transferring and debugging Java MIDlets on Motorola operating system (OS) handsets.

  • PDF Debugging MIDlets on the MOTOSLVR L7 | October 31, 2007

    Debugging is the process of locating and fixing errors in a program's source code. Debugging projects that run on mobile devices are very similar to debugging projects that run on desktops. However, because the processor on which the debugging takes place is in an external device and not in your computer, the connection between device and computer plays a vital role in on-device debugging. This article describes several methods for debugging MIDlets using the Motorola SLVR L7 as the target device.

  • PDF MIDlets and User Static Libraries | October 30, 2007

    This technical article demonstrates how to build, package, and integrate your own Java ME compliant User Static Library (USL) into a MIDlet application. It discusses briefly some of the advantages and disadvantages of implementing your own USL. It then shows several methods of creating, packaging, and integrating the USL into a MIDlet application. However the design and architecture of the USL is beyond the scope of this paper.

  • PDF Java ME Animation with Sprite | September 28, 2007

    The Sprite class is a welcome addition to the MIDP 2.0 programming toolset. Sprite is one of five classes of the Game API package and is a basic animated layer that can display one of several graphical frames, which are of equal size and are stored in a single Image object. It supports transformations such as flip and rotate, as well as collision-detection methods to simplify implementing the logic in a game. With regards to computer graphics, a sprite is a basic two-dimensional visual element or animation that can be rendered with one of several frames stored in an image. The Sprite class provides methods to animate the sprite based on a handful of images and it also provides transformation methods letting you rotate and mirror a sprite. This article focuses on animated sprites. With the sample code, readers can learn more about how to work with the Sprite class as you begin developing applications with animations.

  • PDF An Introduction to MOTODEV Studio | September 5, 2007

    This document gives an overview of the newly announced Motorola Java ME development tool: MOTODEV Studio for Java™ ME. MOTODEV Studio is a complete development environment for developing Java ME applications on Motorola’s Java ME supported handsets. This document will explain MOTODEV Studio's prerequisites, features, migration and limitations.

  • PDF Introduction of Basic Concepts in OMA DRM | July 26, 2007

    Mobile phone users download ring tones, wallpaper, music, movies and games from service providers everyday. Content downloading is a huge part of the mobile business. DRM (Digital Rights Management) prevents the illegal distribution of content and protects the interest of the content owner. This document introduces the basic concepts and mechanisms in Open Mobile alliance (OMA) DRM 1.0/2.0, and compares the differences between them.

  • PDF MIDlet Lifecycle on Motorola Linux OS Devices | July 2, 2007

    This document outlines the changes in the Java KVM architecture which allows background running capabilities of MIDlets on the Linux-Java platform and provides information to help developers create MIDlets for the platform.

  • PDF Secondary Display API | June 27, 2007

    The Secondary Display API is a manufacturer-provided API intended to offer additional functionality for the JavaME developer. It is available on a number of Motorola clamshell-format handsets, and enables a MIDlet, when running with the handset flip closed, to interact with the external display and buttons.

  • PDF Capturing Images and VIdeo | May 30, 2007

    Nearly all current Motorola handsets have built-in cameras with the ability to take pictures and record video. Java application developers are discovering increasingly clever uses for these ubiquitous cameras, using the Mobile Media API detailed as a component of JSR-135. This article provides a quick and practical guide to leveraging Java ME APIs to take pictures and record videos within applications, along with a handy troubleshooting section and sample code.

  • PDF Browser and Over-the-Air Provisioning | May 16, 2007

    This article delivers a detailed explanation of Supported WAP OTA Parameters, various aspects of OTA Provisioning, WAP Provisioning, and comprehensive parameter mapping. A compliancy matrix accompanies this article.

  • PDF Using JAD Attributes | April 18, 2007

    A Java ME application (MIDlet) comprises two files – A JAR file (Java Archive) and a JAD (Java Application Descriptor) file. The JAR file is a ZIP file used to distribute a set of Java classes. It stores compiled Java classes and associated metadata that can constitute a program. The JAD file is the description file for the MIDlet application containing text attributes which describe the application and its capabilities. This article gives a detailed and complete attribute list that can be used in the JAD file, which includes custom Motorola JAD attributes. These attributes are used to retrieve and install a MIDlet application and they describe the requirements of the MIDlet.

  • PDF The Motorola Scalable JPEG Image API | March 30, 2007

    Image-based applications often scale images to a specific resolution for optimal display, however the JSR-118 Image class does not support the more advanced imaging techniques and does not allow the developer to scale an image to a specific resolution. To fill this void Motorola has introduced a proprietary class called the ScalableJPGImage class, which enables a developer to scale a JPG image to a specified resolution. This article explains how to include, use and manage scalable images in Java applications, as well as how to tailor those features for use on a Motorola handset.

  • PDF Programming the Motorola Q Windows Mobile Smartphone | March 30, 2007

    The purpose of this article is to help programmers get started programming for the Motorola Q phone, and offers guidance on why a programmer should choose Windows Mobile as an application platform, how to set up the development environment for Windows Mobile 5.0 and 6 devices and how to customize the Visual Studio design window. This article also provides two programming samples that demonstrate increasing complexity in Windows Mobile applications with an emphasis on the MOTO Q.

  • PDF Optimizing a Java ME Application Part 3: Canvas Performance Improvement | February 1, 2007

    In Java ME devices, processing speed and memory space are limited; performance improvement makes the application run in a fluid and robust way. This document includes two parts: an introduction to Motorola SDK’s profiler and performance improvement tips.

  • PDF 3D Programming - Loading M3G Files and Playing Animations | January 1, 2007

    Loading ready-made pieces of 3D content from an M3G file is generally the most convenient way for an application to create and populate a 3D scene. The M3G file can be created easily using graphic design tools such as 3DMax, so as a developer, you only need to focus on implementing those 3D objects. This article will give developers guidance on implementing ready-made 3D objects to create 3D applications.

  • PDF Using the MOTODEV SIMConfig Tool | December 1, 2006

    This technical article explains how to use the MOTODEV SIMConfig Tool to allow a Security and Trust Services API- Application Protocol Data Unit compliant MIDLET to exchange SATSA-APDU messages with a Java smart card application.

  • PDF JSR 75: Personal Information Management Redesign and Enhancement | December 1, 2006

    In a previous article on using JSR 75, we described application development for a phonebook on the handsets represented in the A.4 and A.3 emulators using the JSR 75 PIM API implementation. This article is extension to that previous article, and describes various features and differences of various JSR 75 PIM-based implementations across Motorola OS handsets.

  • PDF Optimizing a Java ME Application Part 2: RMS Sorting | October 26, 2006

    In this second part of a series on optimizing MIDlet performance, MOTODEV staff discusses how to improve the performance of sorting in Record Management Stores (RMS).

  • PDF Transparent images in MIDP2.0 | October 26, 2006

    MIDP 2.0 provides the functionality to process pixels in an image. Using this functionality, we can manipulate images more conveniently by adjusting transparency, semitransparency and opaqueness. This article demonstrates how to use pixels to manipulate transparent images in a MIDlet. It also provides sample code and information about image transparency implementation on Motorola handsets.

  • PDF Using PIM API to Import/Export vCards | October 26, 2006

    This article is an introduction about how to import vCard to PIM contact and export PIM contact to vCard. It includes a brief introduction of the PIM API included in JSR 75 and vCard with code examples.

  • PDF Using the WMA Test Server for MMS Messaging | October 1, 2006

    This article examines the usage of the WMA Test Server for sending and receiving MMS messages using a sample MIDlet to further explain the WMA Test Server resources. While a complete examination of JSR 205 (WMA 2.0 MMS API) is beyond the scope of this article, developers will find this a handy reference when working with MMS functionality in Motorola handsets.

  • PDF Optimizing a Java ME Application Part 1: Speed | October 1, 2006

    This technical article presents various strategies for optimizing Java™ ME MIDlets for speedy execution. Using the included sample code, developers will be able to implement their own tests to reliably predict an application's performance when deployed on a Motorola handset.

  • PDF A Simple Demo of Mobile Game Programming on the A1200 Handset | August 29, 2006

    Mobile device gaming has become one of the most important parts of the mobile market. This article introduces some basic concepts of mobile game development using demo code for a simple number puzzle designed for the A1200 Ming handset.

  • PDF Using JSR 75 (Personal Information Management) | August 29, 2006

    The Holy Grail in many enterprise applications resides in the ability to synchronize Personal Information Management (PIM) data from one device to another over an established network connection. This article shows how JSR 75 can be used to build a phonebook application on a Motorola handset, targeting devices categorized in the A.4 emulator.

  • PDF Introduction of MMS in Java ME | August 28, 2006

    This article focuses on sending and receiving MMS with the Java™ ME APIs in JSR205. It introduces the structure of multimedia messages, describes the basic steps to sending and receiving multimedia messages and provdes an example to illustrate the sending and receiving of a simple MMS message.

  • PDF Using hideNotify and showNotify on Motorola OS Handsets | August 28, 2006

    MIDP 2.0 provides two methods on the Canvas class to detect when a canvas is about to be shown or hidden, showNotify and hideNotify. This article will show how these methods can be used in your application and provide details on when the application can expect calls to these methods.

  • PDF Building J2ME Web Services Applications with the MOTOMING A1200 | July 7, 2006

    XML is the standard way clients to interact with backend servers for use with remote services. This article examines the concepts behind Java™ ME Web services, implemented on the MOTOMING A1200. A sample application is provided to hgelp highlight the basics of Web services.

  • PDF User-Agent Profiles and User-Agent Strings | July 1, 2006

    This article explains the differences between User Agent Profiles and User Agent Strings, how they help developers understand client devices connected to their servers and the information they present.

  • PDF The FileConnection API | June 1, 2006

    Creating applications that have a small footprint is key in developing for mobile devices. What happens when you depend on using large amounts of user-supplied data, though? The answer, of course, is auxiliary storage in the form of SmartMedia, CompactFlash®, Secure Digital and Multimedia Cards, or even a Memory Stick®. Allowing access to these storage media, then, is as important as that light footprint for your application. This technical article gives readers the details they need to allow mobile applications to leverage the power of add-on storage in Motorola handsets.

  • PDF Using Bluetooth on Motorola Handsets | June 1, 2006

    Due to the great advantages of Bluetooth, developers nowadays wish to implement this feature to create more engaging and connected applications. This article provides a "quick-start" overview of how to use the most important features of JSR-82 (the Bluetooth API) with Motorola handsets. This article describes the basics of device and service discovery, client/server connections, and some usage tips. and concludes with sample code of a very simple Bluetooth client/server application.

  • PDF Using KDWP to Debug MIDlets running on Motorola Handsets | May 1, 2006

    This technical article details the steps necessary to debug MIDlets using KDWP. Using the included sample MIDlet, users can get a jumpstart understanding this key protocol.

  • PDF Password Based Encryption in Java ME | May 1, 2006

    For today's mobile handset users, security isn't just a feature. It's a requirement. With more personal data stored on handsets by virtue of greater functionality, contemporary developers cannot afford to store user information in the clear. Enter Password Based Encryption (PBE). This article gives mobile developers guidance on implementing PBE in mobile applications to help keep user data private and safe.

  • PDF NetBeans IDE and the Motorola Java ME SDK | April 1, 2006

    NetBeans, developed by Sun™, is one of the most popular free Java development tools nowadays and the Motorola Java™ ME SDK can work perfectly with this tool. This article focuses on how to integrate the Motorola SDK into NetBeans IDE 5.0 and how to develop Java ME applications easily in this popular IDE.

  • PDF Sharing Record Stores in MIDlet Suites | April 1, 2006

    In the first part of this article, we introduce the RMS (Record Management Store), including some new features provided in MIDP 2.0. Then, we will focus on how to share the RS (Record Store) in different MIDlet Suites. The sample code at the end of this document will help the developer better understand the API.

  • PDF XML in Java ME | March 6, 2006

    Get an overview of XML, parsing, and available kXML parsers for Java ME applications with this technical article.

  • PDF Introduction of MVC structure in Java ME clients | March 1, 2006

    Traditional software developers use MVC to keep functions and features organized and predictable. This Technical Article provides an introduction of MVC structure for Java™ ME applications.

  • PDF Performance improvement tips in M3G games | March 1, 2006

    Handsets have a limited amount of computing power. This Technical Article gives you guidance on harnessing all of the power you can efficiently use to realize maximum performance in your M3G applications.

  • PDF Proper Speed and Heading Calculation Using Location Services | February 7, 2006

    This guide describes the procedures used to develop a Java™ ME compliant application that properly utilizes speed and heading information from an iDEN device.

  • PDF Vibrate, Backlight and Fun Light APIs on Linux OS Motorola Handsets | October 31, 2005

    A guide to handsets supporting Vibe and Backlight API & FunLight API on Linux OS.

  • PDF How to set up your SSL connection in Linux devices | October 3, 2005

    In this article, you'll learn the basic concepts in SSL, and know how to setup a SSL connection in Motorola Linux handsets.

  • PDF The Java ME Mobile Media API (JSR-135) | August 23, 2005

    This Technical Article gives developers an overview of the Java™ ME Mobile Media API (JSR 135).

  • PDF Telephony | July 28, 2005

    Using telephony features from within your MIDlet can be difficult. This Technical Article gives developers specific advice on taking advantage of telephony features through text fields and text boxes.

  • PDF Mobile 3D graphics Programming | June 24, 2005

    Mobile 3D Graphics Programming is becoming more prevalent in Motorola handsets. This technical Article details the process.

  • PDF Using HTTP and HTTPS on Motorola MIDP 2.0 Handsets | May 31, 2005

    This Technical Article gives developers an overview of using HTTP and HTTPS on Motorola MIDP2.0 compliant Handsets.

  • PDF Provisioning with the Open Mobile Alliance Device Management Platform | May 20, 2005

    The Open Mobile Alliance's Device Management platform allows remote management of data, settings and applications on mobile devices by carriers and device manufacturers. This article examines the platform from its history to implementation using SyncML.

  • PDF Using serial connections on Motorola Java ME handsets | April 25, 2005

    This guide outlines the use of serial I/O in java™ ME and offers some helpful notes to avoid common pitfalls in using your serial connection.

  • PDF Threading in Java ME (MIDP 2.0) | March 23, 2005

    Threads are particularly useful for maintaining MIDlet User Interface responsiveness and functionality while other lengthy sections of code are processed. This Technical Article examines the use of threads in J2ME devices.

  • PDF Chinese Character Encoding/Decoding in Java ME | March 21, 2005

    This article gives some guidance to Java developers about Chinese character encoding/decoding for Java™ ME applications.

  • PDF Using Push Registry on Motorola Handsets | February 24, 2005

    The Push Registry is used to set up an application to listen for incoming messages. This article describes push registry features, and helps developers use this technology to their advantage.

  • PDF Handling of Right-To-Left Languages in Motorola's MIDP 2.0 J2ME Implementation | January 19, 2005

    This document describes the handling of Right-To-Left and Left-To-Right languages in MIDlets, irrespective of the language setting on the handset.

  • PDF The Wireless Messaging API | October 1, 2004

    The JSR 120 Wireless Messaging API (WMA) is an optional package for the Java™ ME that provides platform-independent access to wireless communication resources like Short Message Service (SMS) and Cell Broadcast Service (CBS).

  • PDF Using the Motorola MIDway tool | August 26, 2004

    This technical article provides guidance on downloading J2ME applications onto a Motorola handset using a USB or serial cable.

  • PDF Using RMS on Motorola Java-Enabled Handsets | July 21, 2004

    Need to share data between deployed MIDlets on Motorola handsets? This Technical Article details RMS on Motorola handsets to make that data available.

  • PDF Language Translation in Java ME Applications (MIDlets) | April 26, 2004

    With user interface text translation, multi-language Java™ ME applications can be made available for download and distribution throughout the world, improving appeal and increasing revenue return in the international marketplace.

  • PDF Motorola Custom Attributes in JAD Files | November 6, 2003

    This Technical Article details Motorola Custom Attributes in JAD Files.

  • PDF Motorola Language API for Java Applications | October 1, 2003

    The Language API for Java Applications makes it possible to develop applications that support multiple languages.

  • PDF Interaction of the MIDlet Life Cycle and Host Execution Environment | March 11, 2003

    This Technical Article describes the Motorola implementation of the Mobile Information Device Profile (MIDP) javax.microedition.midlet package.

  • PDF Basic Over the Air Server Configuration | March 3, 2003

    Setting up a server to provide Over the Air capabilities to your mobile device customers is easy to do. This Technical Article provides the critical information you need in order to support OTA delivery of any content.

  • PDF Installing MIDlets Using MIDway | January 30, 2003

    The MIDway tool allows developers to deploy applications to Motorola handsets. This Technical Article gives basic guidance its usage.

  • PDF Creating a WAP Email Client Using Perl | August 28, 2001

    This technical article instructions for using the Perl modules to send and receive e-mails on a WAP-enabled device.

  • PDF Motorola Generic WAP Developer Style Guide | July 5, 2001

    A general resource Style Guide for WAP Developers by Motorola.