Docs


Java Programmer's Guide


Java Programmer's Guide

About This Book

What's in This Book

Additional Resources

1 Introducing JV-Lite2 on ACCESS Linux Platform

About ACCESS JV-Lite2

Java MIDlets

Supported JSRs

Developer Tools

2 Creating a Mobile-Ready Java MIDlet

Design Considerations

Installation Packages

Java Application File Formats

Icon Formats

Bundle Manager

Switching to Native Applications and Pausing

Running the MIDlet in the Simulator

To manually install the your application

Security

Signed and Unsigned Applications

3 Running Java MIDlets

User Installation of Java Applications

Download from Web to Device

HotSync Java Applications from PC to Device

Deleting Java Applications from the Device

To Delete an Application or MIDlet Suite

Running Java MIDlet Applications

Switching Between Activities

Key Mapping

Setting up Key Mappings

 ... Read more



Developing Web Content for NetFront Browser


Developing Web Content for NetFront Browser

About This Book

What's in This Book

Additional Resources

Designing Web Content for FloraFox

A Look at the Architecture

Detecting Web Browser Access

Designing for the Mobile Browsing Experience

Mobility

Connectivity

Caching

Screen Size and Resolution

Navigation and Scrolling

Tables and Frames

Images and Color

Forms

Pop-up Windows

NetFront Browser Support for Internet Standards

HTML Support

WML Support

Scripting Support

SVG Support

Other Standards

 ... Read more



ACCESS Linux Platform Native Development Documentation


What is the ACCESS Linux Platform?
ACCESS Linux Platform (ALP) enables the creation of world-class mobile phones and wireless devices by providing an integrated, flexible and complete, commercial-grade, Linux® platform designed for the worldwide mobile phone and converged device markets.

Kick Starting Your ALP Development Experience

  1. Join the ACCESS Developer Network
  2. Install Ubuntu on your desktopA minimum Ubuntu version 6.10 or later is required.
    • Download ISO from http://www.ubuntu.com/getubuntu burn the CD (or order CD from Canonical)
    • Install onto a machine with at least 8GB of disk space and 720MB of memory.
  3. Get the ALP Development Suite
    1. If downloading the multipart .zip file, use a program like WinZip (http://www.winzip.com) to open the files.
    2. Open the multi-part or consolidated .zip file and expand it into a directory for installation.
  4. Install the ACCESS Development Suite
    1. Open the “Synaptic Package Manager” from the System|Adminstration menu.
    2. Add a repository reference to the directory where the files have been expanded by selecting the Settings|Repositories menu item.
    3. Enter the path to directory where the binary-i386 directory is contained as follows:

      deb file:/path /

    4. Install the “alp-sdk” package.
    5. Read the rest of the “Getting Started” documentation to configure Scratchbox.
  5. Use the tools to create simple application.
    1. Open the development IDE under Applications|Programming|ACCESS Development Suite
    2. Create a new “ACCESS C/C++ Application Project” from the File|New
    3. Double click on the .glade file in the rsc branch of the project explorer.
  6. Run the Simulator
    • Ubuntu/GNome menu Applications|Programming|ACCESS Simulator
    • You can telnet into the simulator using IP address 192.168.3.101

Using the ACCESS Linux Platform Development Suite

  1. UI Design with GladeThe ACCESS Linux Platform uses The GTK+ (version 2.6.x) application model API that includes user interface “widgets”. The Glade 3 layout tool allows the presentation portion of the application to be defined independantly of the application logic. The link between the two is an XML file with references to entry points in the program code. The Development Suite includes a version of Glade 3 tuned to design interfaces for native ACCESS Linux Platform applications.

    This work can happen in parallel with the next step...

  1. Program Coding with Eclipse (or Text Editor)

    This work can happen in parallel with the previous step...

  2. Build Application with EclipseThe Development Suite uses, at its core, the well known, open source Eclipse integrated development environment (IDE) along with the C/C++ Development Tooling (CDT) layer and augments this with many features to expedite development of native ACCESS Linux Platform applications, including:
    • ALP C/C++ application project wizards
    • Advanced source level debugging features against the simulator or a device
    • Integrated documentation
    • And many other features...
  3. Security Sign Application (optional)

    The ACCESS Linux Platform contains a security framework that protects the user (and the carrier) from rogue applications. In order to provide the best user experience (by avoiding security prompts) and enabling access to “protected’ features, an application can be signed. ACCESS will be providing a solution to expedite this process with minimal impact to the application developer.

  4. Run, Test, and Debug with Simulator and Eclipse

    The provided simulator allows applications to be tested within the host environment. The Development Suite’s Eclipse acts as the centerpiece of this development and debugging process by working closely with the ACCES Simulator.

  5. Telephone Application Testing with VirtualPhone (optional)

    Of course, we want to enable efficient development of telephony applications. The Development Suite provides the VirtualPhone application that simulates a carrier network by establishing networking protocols with the application running on the simulator or to an actual device. The developer is able to test network interactions that would be difficult to test, on demand, in a live network.

  6. Recompile for ARM Hardware

    Once testing is performed on the simulator, the project can be rebuilt for an actual device. The Development Suite provides a simple way to create and configure a context for cross-compiling for an ARM-based device.

  7. Run, Test, and Debug on Hardware (via Eclipse)

    Using the provided Eclipse IDE, the same steps used in debugging on the simulator can be applied to device testing.

API Reference

Sample Applications

  • Anatomy of a Native ALP Application

Release Notes

ACCESS Linux Platform Development Suite 2.4

Documentation Guides

  • Getting Started
    • Installation and Configuration
    • Testing the Installation
    • Scratchbox Build Environment
    • Troubleshooting FAQ
  • Programming Guide
    • Introducing the ACCESS Linux Platform
    • Inside ACCESS Linux Platform
    • Creating a Simple ACCESS Linux Platform Application
    • Designing ACCESS Linux Platform Applications
    • Constructing the User Interface
    • Coding for the User Interface
    • Activity Model
    • Data Storage
    • Communications Options
    • Improving Usability
    • Testing and Debugging
    • Adding HotSync Support
    • Security
    • Background Processing
    • Volume Services
    • Improving Performance
    • Where to go From Here
    • A Manifest File Reference
    • Exchange Verbs
    • C Using C++
  • Development Tools
    • Using the Simulator
    • Using the Debugger
    • Multi-Process Debug Target Server (rdbgd)
    • Command-Line Tools
  • Multimedia Guide
    • Introduction to Multimedia
    • Media Session
    • Audio Subsystem
    • Playing a Media File
    • Recording and Capturing
    • Adding Codecs
    • A MiniPlayer Sample Code
    • Glossary
  • Networking Guide
    • Connection Manager
    • Connection Manager Plug-Ins
    • Programming Networked Applications
    • Wireless Network Communications
    • Bluetooth
    • Infrared (IrDA)
  • Content Management
    • Managing Files and Content
    • Digital Rights Management
    • Introducing Media Selector
    • Using Media Selector User Interface
    • Introducing Media Cataloger
    • Using Media Cataloger
    • Using Media Selector Data Model
    • Using Media Files
    • Using Extractor Plug-Ins
    • Glossary
  • Telephony Guide
    • Mobile Services
    • Programming Telephony Applications
    • Telephony Manager
  • Messaging Guide
    • Messaging Services
    • Programming Messaging Applications
    • SMS
    • MMS
    • IMPS
  • Using the HTTP Library
    • Introduction
    • Communicating with an HTTP Server
    • Sample Application
  • User Interface Widget Reference
    • User Interface Overview
    • UI Widget Summary
    • GTK+ Modified Widgets
    • ACCESS Title Bar and Menu Widgets
    • ACCESS AlpProgress Widgets
    • ACCESS Date and Time Widgets
    • ACCESS Repeat and Spin Widgets
    • ACCESS AlpScrollSelector Widget
    • ACCESS Browser View Widget
    • ACCESS AlpMonahansTran ... Read more