Java - Code examples

All  |  In-app purchasing   |  In-app advertising  |  Location  |  Games  

16 April 2012
Frozen Bubble

Frozen Bubble

This Java ME example application demonstrates how you can port a full-screen game from Android to Java ME in Series 40 touch devices. In this port the same game logic code and most of the resources were reused while new code was written for starting up the game, handling menus, and playing sounds. The code is based on the Android version of Frozen Bubble, created by Pawel Aleksander Fedorynski. The Java ME port, just like the original Frozen Bubble, is covered by GNU GPL v2.

This example is hosted in Nokia Developer Projects.

Project summary | Implementation notes | Porting notes | Release notes

27 February 2012
Tourist Attractions v1.1

Tourist Attractions v1.1

Tourist Attractions is a location-aware city guide that demonstrates the use of the Location API (JSR-179), Nokia Maps API for Java ME. It also uses the In-App Purchase API with non-DRM-protected application content in newest Series 40 devices.

This example is hosted in Nokia Developer Projects.

Project summary | Implementation notes | Release notes

27 February 2012
Weather App v1.1

Weather App v1.1

WeatherApp is a simple location-based weather application using the WorldWeatherOnline service for weather and location search data. The application uses the org.json.me library for parsing JSON. The updated application features In-App Advertising. The application has been designed to work on various Series 40 and Symbian devices with different form factors and input methods.

This example is hosted in Nokia Developer Projects.

Project summary | Implementation notes | Release notes

27 October 2011
Battletank v1.2

Battletank v1.2

Battletank is a tank game example created with Java ME. It demonstrates the usage of Java ME gaming features: sprites, tiles, and so on. The updated version uses the In-App Purchase API with DRM-protected application content. This example is hosted in a Nokia Developer Project, where you can find implementation notes.

15 July 2011
JME Explonoid

JME Explonoid

JME Explonoid is an Arkanoid clone implemented with Java ME. It demonstrates the usage of Java ME gaming features: Sprites, LayerManager etc. It also shows some key points of designing an application that scales to different resolutions.

15 July 2011
JME Sudokumaster

JME Sudokumaster

This example application demonstrates how to design a simple Java ME Sudoku game, add dynamic layout control for multiple screen resolutions, and use several input methods (key, touch, and key & touch).

15 October 2010

MIDP: Java™ Drumkit Example

This MIDP application demonstrates the usage of multiple audio players on Series 40 devices.

14 October 2010
MIDP: Paint Example

MIDP: Paint Example

This MIDP application, optimised for Series 40 touch devices, demonstrates the use of touch events.

01 October 2010
MIDP: WordPress Example

MIDP: WordPress Example

This Java ME application is a WordPress blogging client that demonstrates the use of the canvas-based TextEditor API for text input.

30 September 2010
MIDP: Compass Example

MIDP: Compass Example

This Java ME application demonstrates the Location API and Scalable 2D Vector Graphics API features.

24 September 2010
MIDP: FrameAnimator Demo

MIDP: FrameAnimator Demo

This simple Java ME application demonstrates the usage of FrameAnimator class with the Gesture API introduced in the Series 40 6th Edition, Feature Pack 1.

31 August 2010
MIDP: Racer Game Example

MIDP: Racer Game Example

This application demonstrates the Gesture API introduced in Series 40 6th Edition, FP1. It also shows some keypoints to consider when developing a game for Series 40 phones. The application is a simple racing game where you drive by dragging your finger across the screen and pressing key 7 to accelerate. Important classes: Sprite, Image, GestureInteractiveZone, GestureRegistrationManager, GestureListener.

Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2012 All rights reserved