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, 10 Jun 2009 15:21:01 -0700
Working with Bluetooth and GPS: Follow-up

The ? Working with Bluetooth and GPS ? series on the Bluetooth API (JSR-82) spawned a number of questions, which author Bruce Hopkins addresses in this follow-up tech tip.

 

Wed, 22 Apr 2009 18:11:04 -0700
Using the Location API for Favorite Spots
This tech tip shows you how to get started using the Location API ( JSR 179 ), and how to build a small location-aware application that you can use to tag your favorite spots.  

Wed, 1 Apr 2009 11:57:39 -0700
Q & A on Blu-ray Disc Application Development with Java ME
In the past year, Sun published a two-part series to lower the learning curve for Java developers who want to get started using the Blu-ray Disc for Java (BD-J) platform. This follow-up tech tip answers a couple of questions from readers.  

Thu, 19 Mar 2009 19:56:23 -0700
Discovering Devices and Sending Files via Bluetooth in Java ME
Vikram Goyal shows you how to create a MIDlet that will search for Bluetooth-enabled devices and services, and then allow the user to send a simple note to one of the found devices.  

Fri, 6 Feb 2009 12:01:11 -0800
Three Reasons Why Your Next Java ME Mobile Application Should Include JavaFX Mobile
Developer Bruce Hopkins walks you through three source-code samples to demonstrate JavaFX ' s usefulness to Java ME developers creating apps for mobile devices. Developers can call methods on objects and instantiate objects within libraries that already exist in Java ME and Java SE -- in this case, the APIs in JSRs 82, 135, and 180. Plus, JavaFX let you bind the value of an object to another variable.  

Wed, 21 Jan 2009 16:16:32 -0800
Notes from the Java Mobile, Media & Embedded Developer Days

Here a re notes from the presentations I attended at the Java Mobile, Media & Embedded Developer Days (M3DD) today, at the Sun campus in Santa Clara, California.

 

Tue, 20 Jan 2009 15:10:36 -0800
Mixing MIDI, Tone, and Sampled Audio using MMAPI

In this tech tip, Vikram Goyal shows you how to mix and play multiple media content at the same time. He uses the Mobile Media API (MMAPI) and the NetBeans IDE.

 

Wed, 7 Jan 2009 15:55:34 -0800
Blu-ray Disc Application Development with Java ME, Part 2: Responding to User Input

Bruce Hopkins serves up Part 2 of his series on Blu-ray Disc Java development. Part 2 extends the code that was used in the Part 1, so that the application can respond to user input. Of course, since a Blu-ray Disc player is a set-top device, you can ' t expect users to interact with it with a keyboard and mouse. So we ' re going to look at the APIs involved in responding to input from a remote control, regardless of whether the user used an infrared remote control or Bluetooth remote control (such as the one used on the Sony Playstation 3, or PS3, gaming console).

 

Tue, 9 Dec 2008 21:53:33 -0800
Early Access to Java On Device Portal SDK

The new Java On Device Portal (ODP) lets developers use Java technology to
create and deploy widgets on mobile devices. Register now to join the
Early Access program.

 

Wed, 3 Dec 2008 21:42:54 -0800
JavaFX and JNLPs: How to Develop and Run JavaFX Applets and Applications Offline

This tech tip by Sun software engineer Thomas Ng describes how to run Java Network Launch Protocol (JNLP) files offline, such as for debugging or testing applets or applications developed with JavaFX.

 

Mon, 3 Nov 2008 16:14:43 -0800
Report from Africa: A Java ME MIDlet for User-Generated Localization

In this article, the authors describe the process of developing a user-generated localization MIDlet for an application that connects people to community radio stations -- important purveyors of information in technology-challenged Africa.

 

Fri, 31 Oct 2008 09:53:04 -0700
Asynchronous Communications with Java ME and SIP: Part 2
Bruce Hopkins uses a SIP proxy and the REGISTER method type to provide a simple, yet scalable solution for sending a simple message asynchronously from one application to the other, when one SIP device is behind a firewall.  

Mon, 27 Oct 2008 19:13:23 -0700
Bluetooth and GPS: Part 2 - Parsing GPS Data and Rendering a Map

Bruce Hopkins describes how to use Java ME technology and its Bluetooth API (JSR-82) to access location data from wireless GPS devices, in this second of a two-part series. The JSR-172 (XML Parsing and Web Services) API is used to parse the result.

 

Tue, 16 Sep 2008 11:51:35 -0700
Blu-ray Disc Application Development with Java ME

Java technology is a critical part of the new high-definition video standard, the Blu-ray Disc standard. In this first of a two-part series, Bruce Hopkins covers several aspects of using the Java language to create applications for your Blu-ray disc player, which includes the very popular PlayStation 3 gaming console.

 

Thu, 4 Sep 2008 20:19:09 -0700
Using JavaScript Object Notation (JSON) in Java ME for Data Interchange

In th is code-rich article, mobility technologist C. Enrique Ortiz introduces the lightweight JSON Java ME APIs as an alternative to XML.

 

Mon, 25 Aug 2008 13:26:26 -0700
JavaFX Preview SDK - " Experts " Q & A

During the week of August 18, 2008, we encouraged you to " Ask the Experts " your questions about the recent JavaFX Preview SDK release. Our experts were Joshua Marinacci, Martin Brehovsky, and Lawrence McDonough of the JavaFX engineering team, plus Jeff Dinkins. Here ' s a list of the question-and-answer topics.

 

Tue, 19 Aug 2008 15:04:28 -0700
Creating a Custom Scrollable Table with JavaFX

JavaFX expert Jim Weaver continues his series of articles with this latest one, TableNode: Creating a Custom Scrollable Table in JavaFX .

 

Thu, 7 Aug 2008 16:57:00 -0700
Ask the Experts: JavaFX Preview, August 18-22

The recently released JavaFX Preview helps early adopters become familiar with JavaFX. Got a question about it? Post it during this session and get answers from three key members of Sun ' s JavaFX engineering team.

 

Thu, 31 Jul 2008 10:16:28 -0700
JavaFX Learning Curve Journal Updates

In August and September 2007, the Sun Developer Network staff started a Learning Curve Journal, a series designed to help users get started with the JavaFX Script programming language. A number of significant advances have been made to the language since then. The Learning Curve Journal has been updated to show you how to use the compiler-based version of the language. Other changes have been made to make the articles current.

 

Wed, 16 Jul 2008 15:26:29 -0700
Bluetooth a nd GPS: Part 1 - Reading Wireless Serial Port Data

In the first of this multi-part series, Bruce Hopkins describes how to construct a low-cost solution that allows you to install, debug, and test your JSR-82 applications on your computer, and how to read data from a Bluetooth-enabled GPS device.

 

Tue, 15 Jul 2008 16:31:01 -0700
Digisoft.tv ' s John Allen on Interactive Television

Sun ' s Jennifer Yonemitsu interviews Digisoft.tv CEO John Allen to discuss the Java ME-based client platform for IPTV set-top boxes, using Sun ' s Java technology-based media client and Digisoft.tv ' s middleware/SDK.

 

Thu, 19 Jun 2008 17:22:42 -0700
Near-Field Communication and the Contactless Communication API (JSR 257)

NFC is a short-range radio technology that operates on the 13.56 MHz frequency, with data transfers of up to 424 kilobits per second. NFC communication is triggered when two NFC-compatible devices are brought within close proximity, around four centimeters. The Contactless Communication API allows you to discover and exchange data with contactless targets such as NDEF tags, RFID tags, and external smartcards. C. Enrique Ortiz dissects a Contactless Communication API MIDlet.

 

Mon, 2 Jun 2008 13:03:04 -0700
The Bluetooth Conundrum
SDN staff writer Richard Marejka provides the required code to programmatically detect the presence of the JSR 82 Bluetooth APIs.  

Tue, 27 May 2008 22:57:54 -0700
Comparing Mobile Platforms: Java ME and Adobe Flash Lite

Bruce Hopkins compares the strengths and weaknesses of each platform in six significant categories: graphics, multimedia, local device accessibility, security, network connectivity, and miscellany.

 

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 televisi on 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!  

Update Your Java Runtime Environment

NetBeans