Sun Java Solaris Communities My SDN Account Join SDN
 

Mobility Tech Tips

 
 

Mobility Tech Tips are tips, techniques, and sample code on topics of interest to developers using mobile Java technologies: Java ME (including MSA, MIDP, and the wireless toolkits for CDC and CLDC) and JavaFX technologies.

Subscribe to the RSS feed nowRSS button

Note: See the archive page for tech tips before 2007.


Wed, 30 Apr 2008 17:17:07 -0700
New Gaming Experiences with OpenGL ES and the Mobile Sensor API

Several mobile devices on the market today have a built in accelerometer, much like the one used in the controls for the Nintendo Wii. Java ME developer Erik Hellman believes that built-in accelerometers in mobile phones will become even more common as new mobile games appear. In this simple game for a Sony Ericsson w910i, he uses both the OpenGL ES API for Java ME and the Mobile Sensor API to read them.

 

Mon, 21 Apr 2008 11:57:22 -0700
Asynchronous Communications with Java ME and SIP: Part I
Bruce Hopkins shows two MIDlets that employ the SIP protocol and JSR 180 API to communicate asynchronously, complete with source code. JSR 180 is a part of the MSA standard , so more and more mobile devices are supporting this API.  

Fri, 28 Mar 2008 14:51:06 -0700
The Future of Content Consumption: Which Screen?

TiVo brought us " time shifting " (watching the content you want when you want). Sling Media introduced " place shifting " (watching content outside the living room). The internet now offers a new consumption paradigm. I recently attended a panel on which screen might become dominant for long-form video delivery and viewing: free (ad-supported) content on computer screens, says VUZE, and fee-based content on television screens via a VUDU storage device.

 

Thu, 6 Mar 2008 11:32:58 -0800
Using Filters With the Java ME Device Matrix
When you want to know what devices support a specific set of Java ME technologies, use the Software Filter to search the Java ME Device Matrix. This tech tip explains how to set multiple filters.  

Wed, 6 Feb 2008 14:40:45 -0800
Detecting Java ME Optional Packages
Eric Giguere explains how to detect the presence or absence of an optional package in a Java ME application.  

Tue, 29 Jan 2008 19:19:30 -0800
Mobile & Embedded Developer Days Recap
The first Mobile & Embedded Developer Days conference was successfully held on January 23-24, 2008, in Santa Clara. Robots and flashing coasters and electronic toys, what more could a girl want!  

Thu, 10 Jan 2008 18:19:24 -0800
Quiz: How MSA-Savvy Are You?
Test your MSA knowledge by taking this quiz, put together by SDN staff writer Richard Marejka.  

Tue, 11 Dec 2007 15:54:51 -0800
Mobile Java and Sprint

Sprint/Nextel has a strong history of Java ME-based innovation in mobile technology. The new Sprint Wireless Toolkit 3.2 with MSA support is available from Sprint as of today.

 

Thu, 6 Dec 2007 15:53:20 -0800
Ultra-low Bandwidth Communication with Java ME
Bruce Hopkins explores how to use Java ME and Sun SPOT technology to create a low-bandwidth wireless system to read sensor data. He provides two fully functioning applications: the first one is the base station application, which will receive data from the second application, the free roaming wireless Sun SPOT.  

Fri, 30 Nov 2007 09:40:54 -0800
Java ME Technology Overview

C. Enrique Ortiz walks you through the world of mobile Java technology, including configurations, profiles, and Java Technologies for handsets, smart cards, and embedded devices.

 

Wed, 14 Nov 2007 17:39:36 -0800
Using MIDP in the Java ME Games API

Apress book on creating games using the Java ME platform nicely explains development (the geeky side) and distribution (the business side).

 

Wed, 14 Nov 2007 17:20:20 -0800
Activing Alerts in MIDP 2.0
Eric Giguere explains how to create progress-indicator gauges or activation alerts in Java applications running MIDP.  

Wed, 14 Nov 2007 13:41:41 -0800
Ho w to Encrypt Data in Java ME Applications Using the SATSA API
This tip from Bruce Hopkins includes a complete working example that runs on the Sun Wireless Toolkit for CLDC and SATSA-enabled (Security and Trust Services API) mobile devices.  

Fri, 26 Oct 2007 17:31:43 -0700
Invoking JavaFX Code From NetBeans

This wide-ranging " Ask the Experts " transcript of last week ' s NetBeans IDE 6.0 session contains the phrase " I feel your pain " and many more enlightening discussions.

 

Thu, 18 Oct 2007 18:04:52 -0700
MIDP Provisioning With Servlets
In this tech tip, Eric Giguere shows how to write a simple servlet that automatically selects the right version of your application and delivers it through the magic of over-the-air (OTA) provisioning.  

Mon, 8 Oct 2007 21:35:05 -0700
Externalizing Resources - Persisting Images in RMS
In this tech tip, C. Enrique Ortiz describes how to save bandwidth by implementing a local cache -- using an RMS (Record Management System) -- for images. This also reduces MIDlet download size.  

Mon, 8 Oct 2007 21:01:33 -0700
Obfuscating Your MIDlet Suite
This tech tip from C. Enrique Ortiz illustrates obfuscation tools to reduce MIDlet suite size to save Over-the-Air (OTA) size and time. It includes examples with both Sun Java Wireless Toolkit and Ant scripts.  

Mon, 8 Oct 2007 19:50:02 -0700
Ajax-like Asynchronous SOA Calls with Java ME
Eric Giguere explains why the Java ME platform lends itself quite readily to accessing external resources using a service-oriented architecture (SOA) -- inclulding that many Java ME applications are built using an Ajax-like model, except of course with Java used in place of JavaScript.  

Mon, 8 Oct 2007 18:28:56 -0700
Accessing a Resource over HTTP
This technical tip from C. Enrique Ortiz introduces a Java helper class, NetworkUtils , that defines a number of HTTP constants and a helper method that uses an HttpConnection to connect to a server over HTTP, get a resource, and return it as a DataInputStream .  

Update Your Java Runtime Environment

NetBeans