Preview: Don's Mobile Blog
Don's Mobile BlogJava ME Development and Free Cell Phone GamesLast Build Date: Thu, 29 Jul 2010 03:00:41 +0000
Some Simple Text Effects in Java ME Sat, 12 Jan 2008 18:26:02 +0000 The Graphics.drawString() method in MIDP is pretty limited. You can specify a position, anchor point, and with the help of Graphics.setColor() and Graphics.setFont(), a color and a font, but that’s about it. However, its possible to do some simple text effects that are a bit more interesting by combining multiple calls to drawString(). First, lets [...]
Filtering and Ordering Records with RMS Sat, 13 Oct 2007 15:21:37 +0000 If you’ve ever used the Record Management System mechanism in MIDP, you already know how useful the RecordStore class can be for storing persistent data. In a previous tutorial, Using RMS to Store Persistent Data, we used the RecordStore.getRecord(int) method to retrieve a record by its ID. However, sometimes you may have more complex retrieval [...]
Using the Mobile Media API to Play Video Mon, 13 Aug 2007 11:36:41 +0000 The Mobile Media API (JSR-135) specification enables advanced audio and video support on Java ME devices. While MIDP 2.0 supports a subset of the MMAPI, this subset does not include the video or graphics components of the specification. In this article, we will look at a simple example of how to play video on a [...]
Text Messaging and the Wireless Messaging API Mon, 16 Jul 2007 13:42:37 +0000 Short Message Service (SMS), commonly referred to as Text Messaging, allows cell phone users to send short, plain-text messages to each other. The Wireless Messaging API (WMA) is an optional Java ME package that provides programmatic support for messaging technologies such as SMS. In this article we will look at how to use WMA to [...]
Using MIDP Localization to Support Multiple Languages Mon, 04 Jun 2007 12:05:05 +0000 In today’s global economy, it is now more important than ever for software to be written with localization in mind, and mobile applications are no exception. Thankfully, NetBeans Mobility Pack makes the task easier with built-in support for MIDP localization. In this article we will take a look at MIDP localization, and how NetBeans helps [...]
Asynchronous Processing in Java ME: The Push Registry Mon, 14 May 2007 19:51:55 +0000 When writing mobile applications, you may encounter situations where you need to execute logic independently of user interaction. For example, your application may need to do something in response to an outside event, such as an e-mail message being received. You could put a loop in your application that periodically checks to see if the [...]
Working with the TiledLayer Class Mon, 07 May 2007 02:58:50 +0000 A common technique used in video games is to have a large scrolling background formed by a grid of smaller, reusable images. In MIDP 1.0, such a feature would need to be implemented from scratch or with a third-party library. However, MIDP 2.0 provides the convenient TiledLayer class to address this specific need. In this [...]
Using Preprocessor Directives to Port Java ME Applications Sun, 01 Apr 2007 21:42:15 +0000 There may be times when you want to take advantage of device-specific features, yet support as wide a selection of devices as possible. For example, perhaps you want to play sound in your application, but you also want to target several different platforms, each with different APIs for playing sounds. You could manually create a [...]
Floating Point Support in Java ME Sun, 18 Mar 2007 03:08:42 +0000 Anyone who has been writing Java ME (J2ME) applications for a while has probably run into one of the more frustrating limitations of the platform, lack of support for the floating point primitive types: float and double. More accurately, there is no floating point support in CLDC 1.0. If you can, use CLDC 1.1, which [...]
Sinfah’s Lair Reaches 20,000 Downloads Fri, 16 Mar 2007 14:13:53 +0000 Sinfah’s Lair reached the 20,000 download mark today on GetJar. Many thanks to everyone who has played and provided feedback! |
|||||||||||||||||||