MOTODEV // JAVA TECHNOLOGY
Welcome to MOTODEV // Please log in.

TECHNICAL ARTICLES

  • 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 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 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 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 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 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.