0% found this document useful (0 votes)
179 views

Nokia S40 Development: Ray Rizaldy

This document provides an overview of the tools and steps needed for Nokia S40 platform development using Java. It discusses downloading and installing the Java Development Kit (JDK), integrated development environments like NetBeans or Eclipse, emulators for different S40 platforms, the Nokia Suite for deploying apps to devices, and provides a simple "Hello World" example.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
179 views

Nokia S40 Development: Ray Rizaldy

This document provides an overview of the tools and steps needed for Nokia S40 platform development using Java. It discusses downloading and installing the Java Development Kit (JDK), integrated development environments like NetBeans or Eclipse, emulators for different S40 platforms, the Nokia Suite for deploying apps to devices, and provides a simple "Hello World" example.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Nokia S40 Development

Ray Rizaldy

Agenda Slide:
Development Tools Setup Hello Girl

Well talk about developing in Java for Nokia Series 40 Platform

Development Tools

JDK
Bro tip: -Use 32 bit version, not 64

Download at
www.oracle.com/technetwork/java/ javase/downloads/index.html

IDE
NetBeans:
Beginner friendly :) Intuitive user interface with clear menus and window placement Integrated Java ME support Supports both Series 40 SDKs and Symbian SDKs for Nokia devices Can be used to deploy MIDlets to devices

Download at
http://netbeans.org/downloads/

IDE
... Or use eclipse (pulsar)
Ideal for experienced Java developers Supports both Series 40 SDKs and Symbian SDKs for Nokia devices Supports a large variety of plugins for application development Easy to install

Download at
www.eclipse.org

Emulator
By Platform: S40 6th Ed S40 6th Ed FP1 (Nokia SDK 1.0) Nokia SDK 1.1

Download at
www.developer.nokia.com

Nokia Suite
So.. You can deploy your app to device

Download at
www.developer.nokia.com

And Some Coffee


:D

Setup

Setup

Install JDK

Install IDE

Install SDK

Install Nokia Suite

IDE SDK Integration


Case: Netbeans Use Java ME Plugin In Menu: 1. Tools > Plugins 2. Choose Java ME 3. Activate

IDE SDK Integration (2)


Add Java Platform 1. Tools > Java Platform 2. Add Platforms... 3. Choose Java ME MIDP Platform Emulator

Hello, Manis!

Create New Project on your NetBeans

Hello Again J2ME


import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class HelloWorldMIDlet extends MIDlet{ ... public void startApp(){ Displayable current = Display.getDisplay(this).getCurrent(); if(current == null){ HelloScreen helloScreen = new HelloScreen(this, "Hello, world!"); Display.getDisplay(this).setCurrent(helloScreen); } } ... }

Run your app


On Emulator
Right Click on Project Choose Run

On Device
Build JAR file It will generate files on:
<NetBeans Projects>\HelloWorld\dist\ Drag n drop file to Nokia Suite Voila!

Next!
Revisit Java ME

You might also like