DEVELOPING APPLICATIONS WITH JAVA FOR MOBILE PHONES 
 

The Java Platform, Micro Edition (Java ME) provides a rich and robust environment for the development of applications that run on mobile devices. Java is currently running on over 3 billion phones and offers unrivaled potential for mobile developers worldwide. Oracle is the leader in providing mobile phone technology.
This course includes coverage of the development of mobile applications that use Connected Device Limited Configuration (CDLC)and the Mobile Interface Device Profile (MIDP), and the Lightweight User Interface Toolkit (LWUIT). Using the latest NetBeans IDE and JavaME SDK, students will develop user interfaces with MIDP, a game with sounds using Sprites and Layers, sophisticated user interfaces using LWUIT, applications that access a mobile database, and applications that leverage Location and Payment APIs. 

You'll learn To:

Create a simple payment application with the Payment API
Create a simple location application with the Location API
Create a simple game using the Game API
Create applications using the Connected Limited Device Configuration (CLDC) and the Mobile Information Device Profile (MIDP)

Create robust user interfaces with the Lightweight User Interface Toolkit (LWUIT).

The course is intended for developer and Java Developer.

Required Prerequisites:Java development experience and Java SE 7 Programming 

Duration

5 days

Program

Course Overview and Introduction

Describing the course objectives Discussing the schedule
Java ME platform overview

 

MIDlets

The MiDlet class
MIDLet lifecycle
JAD common descriptors Over the air (OTA) installation Using the obfuscator Permissions

 

CDLC Basics

Collections: Vector, Hashtable, Stack

Working with Enumerations

InputStream and OutputStream 

DataInputStream and DataOutputStream

 

Basic User Interfaces with Java ME

Forms
Item and its subclasses: StringItem, ImageItem, TextField, Spacer, CustomItem

 

Low Level UI

Canvas
Key events

Pointer events

Graphics

Drawing methods

 

Game API

Using GameCanvas to override behavior

Creating and managing Layers
Creating and animating Sprites
Creating TiledLayer

 

Multimedia API

Manager
Media MIME types
Player and its lifecycle
Control and its implementations (VideoControl, ToneControl, VolumeControl) 

 

LWUIT: Overview and Forms

LWUIT Design goals
LWUIT's component-container model LWUIT Forms
Commands

 

LWUIT: Basic Components

Labels, Buttons, CheckBoxes

RadioButtons, ComboBox

TextArea, TextField

 

LWUIT: Containers and Layouts

Containers
Layout Managers
FlowLayout, BoxLayout, GridLayout, BorderLayout, CoordinateLayout

Scrolling
Right-to-Left

 

LWUIT: Adding Style

The Style object
Colors
Background types

Padding, margins, borders

Font and Text decorations

Alignment

LWUIT: Resource Editor 

Creating themes with the resource editor
Adding images to a resource file
Creating and adding fonts with the resource editor
Creating localization in the resource editor and accessing them from a LWUIT app Adding data files to a resource file and accessing them from a LWUIT app
UIIDs

 

LWUIT: List components

Basics of lists

ListRenderer

LIstModel

LIstEvents

 

Custom LWUIT components

Animations

Input behavior

 

HTML in LWUIT

The HTMLComponent
Viewing pages from URLs and files

HTML events with HTMLCallback

Building a basic browser
Parsing XML with the XML package

 

Location API

Location concepts

Location common sources

LocationProvider class

Location class

LandMarkStore class

Payments API

Payments concepts
Payment providers

Transactions and their lifecycle

 

Record Management Store

Creating RecordStores
Adding records to a RecordStores
Reading records
Using Data streams to serialize objects

Handling RMS exceptions and size limitations

The MIDP 2.0 Push Registry

Push notifications common use cases

Creating an alarm
Creating a connection based wakeup

Handling the MIDlet lifecycle

Advanced I/O

The Generic Connection Framework (GCF)

Connection class 

HttpConnection class
ByteArrayInput and

ByteArrayOutputStream classes

Reader and Writer classes 

 

 

Objectives

Render HTML using LWUIT; Write an application that uses location-based services such as GPS Create a Java ME MIDlet and run it on the emulator; Create a custom LWUIT component; Use the PushRegistry to register events such as alarms and connections Open and read from I/O connections; Create a MIDP form and add basic components to it; Use the MIDP canvas and write an application to paint on the canvas Create a game using Sprites and Layers; Create a application to play audio from the mobile phone emulator Create applications using LWUIT components; Use the LWUIT Resource Editor to apply a theme; Use LWUIT list components; Write a Payment application; Use RMS to read and write files on a mobile device 

 

Certifications

At the end of this course every learner will receive a certificate of attendance.

Vuoi maggiori informazioni? Contattaci!

Saremo lieti di assisterti. 

TORNA ALLA LISTA DEI CORSI DI "INFORMATICA"

FIRSTCONSULTING 

Via dei Valtorta, 48 – 20127 Milano (MI)

Tel: 0245390100 Fax: 0245390103

P.Iva 08050610966 e-mail: segreteria.milano@1consulting.it

  • Black Facebook Icon
  • Black Twitter Icon
  • Black LinkedIn Icon
FOLLOW US