Java Programmer's Guide
About This Book
What's in This Book
1 Introducing JV-Lite2 on ACCESS Linux Platform
About ACCESS JV-Lite2
2 Creating a Mobile-Ready Java MIDlet
Java Application File Formats
Switching to Native Applications and Pausing
Running the MIDlet in the Simulator
To manually install the your application
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
Setting up Key Mappings... Read more
Developing Web Content for NetFront Browser
About This Book
What's in This Book
Designing Web Content for FloraFox
A Look at the Architecture
Detecting Web Browser Access
Designing for the Mobile Browsing Experience
Screen Size and Resolution
Navigation and Scrolling
Tables and Frames
Images and Color
NetFront Browser Support for Internet Standards
Other Standards... Read more
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
- Join the ACCESS Developer Network
- Register at http://www.accessdevnet.com/
- 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.
- Get the ALP Development Suite
- If downloading the multipart .zip file, use a program like WinZip (http://www.winzip.com) to open the files.
- Open the multi-part or consolidated .zip file and expand it into a directory for installation.
- Install the ACCESS Development Suite
- Open the “Synaptic Package Manager” from the System|Adminstration menu.
- Add a repository reference to the directory where the files have been expanded by selecting the Settings|Repositories menu item.
- Enter the path to directory where the binary-i386 directory is contained as follows:
deb file:/path /
- Install the “alp-sdk” package.
- Read the rest of the “Getting Started” documentation to configure Scratchbox.
- Use the tools to create simple application.
- Open the development IDE under Applications|Programming|ACCESS Development Suite
- Create a new “ACCESS C/C++ Application Project” from the File|New
- Double click on the .glade file in the rsc branch of the project explorer.
- 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
- 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...
- Program Coding with Eclipse (or Text Editor)
This work can happen in parallel with the previous step...
- 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...
- 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.
- 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.
- 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.
- 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.
- 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.
- Anatomy of a Native ALP Application
ACCESS Linux Platform Development Suite 2.4
- 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
- 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
- Networking Guide
- Connection Manager
- Connection Manager Plug-Ins
- Programming Networked Applications
- Wireless Network Communications
- 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
- Telephony Guide
- Mobile Services
- Programming Telephony Applications
- Telephony Manager
- Messaging Guide
- Messaging Services
- Programming Messaging Applications
- Using the HTTP Library
- 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