ACCESS Linux Platform
Getting Started with the SDK
Written by Greg Wilson, Sandra Motroni, Shari Clare, Amy Bowman, and Jim Bisso.
Technical assistance from Bill Lee, Tom Chavez, Keithen Hayenga, Ewa Matejska, and Robert O’Brien.
Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved. NOTICE: This documentation contains confidential and
proprietary information of ACCESS CO., LTD. or any of its affiliates (hereafter individually or collectively "ACCESS"), and
is provided to a licensee ("you") under the terms of a Nondisclosure Agreement, Product Development Kit license,
Software Development Kit license or similar agreement between you and ACCESS (the "Agreement"). You must maintain
the confidentiality of this documentation in accordance with the terms of your Agreement. You may print and copy this
documentation solely for the permitted uses specified in your Agreement with ACCESS. In addition, if permitted by that
Agreement, you may make up to two (2) copies of this documentation for archival and backup purposes. All copies of this
documentation remain the property of ACCESS, and must contain this statement of Copyright and Notice. You agree to
return or destroy all documentation and copies at ACCESS' written request. Except for the foregoing or as authorized in
your agreement with ACCESS, you may not copy or distribute any part of this documentation in any form or by any means
without express written consent from ACCESS, and you may not modify this documentation or make any derivative work
of it (such as a translation, localization, transformation or adaptation) without express written consent from ACCESS.
ACCESS reserves the right to revise this technical documentation from time to time, and is not obligated to notify you of
any revisions.
IN THE EVENT THAT YOUR AGREEMENT IS SILENT WITH RESPECT TO WARRANTIES, THEN TO THE GREATEST
EXTENT PERMITTED BY APPLICABLE LAW, THE FOLLOWING SHALL APPLY: THIS DOCUMENTATION IS
PROVIDED ON AN "AS IS" BASIS. NEITHER ACCESS NOR ANY OF ITS AFFILIATES OR SUPPLIERS MAKES, AND
EACH OF THEM EXPRESSLY EXCLUDES AND DISCLAIMS TO THE FULL EXTENT ALLOWED BY APPLICABLE
LAW, ANY REPRESENTATIONS OR WARRANTIES REGARDING THIS DOCUMENTATION, WHETHER EXPRESS,
IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY WARRANTIES IMPLIED BY ANY COURSE OF
DEALING OR COURSE OF PERFORMANCE AND ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NONINFRINGEMENT, ACCURACY, AND SATISFACTORY QUALITY. ACCESS AND ITS
AFFILIATES AND SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES THAT THIS DOCUMENTATION IS
FREE OF ERRORS OR IS SUITABLE FOR YOUR USE. TO THE FULL EXTENT ALLOWED BY APPLICABLE LAW,
ACCESS ALSO EXCLUDES FOR ITSELF AND ITS SUPPLIERS ANY LIABILITY, WHETHER BASED IN CONTRACT OR
TORT (INCLUDING NEGLIGENCE), FOR DIRECT, INCIDENTAL, CONSEQUENTIAL, INDIRECT, SPECIAL,
EXEMPLARY OR PUNITIVE DAMAGES OF ANY KIND ARISING OUT OF OR IN ANY WAY RELATED TO THIS
DOCUMENTATION, INCLUDING WITHOUT LIMITATION DAMAGES FOR LOST REVENUE OR PROFITS, LOST
BUSINESS, LOST GOODWILL, LOST INFORMATION OR DATA, BUSINESS INTERRUPTION, SERVICES STOPPAGE,
IMPAIRMENT OF OTHER GOODS, COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR OTHER
FINANCIAL LOSS, EVEN IF ACCESS OR ITS AFFILIATES OR SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY
OF SUCH DAMAGES OR IF SUCH DAMAGES COULD HAVE BEEN REASONABLY FORESEEN. IN THE EVENT THAT
YOUR AGREEMENT PROVIDES A SEPARATE WARRANTY, REMEDY OR DISCLAIMER, THE TERMS OF THE
AGREEMENT SHALL SUPERCEDE AND CONTROL OVER THE FOREGOING.
PalmSource, Palm OS, Palm Powered, Garnet, ACCESS, ACCESS Powered, ACCESS Linux Platform, NetFront, Graffiti,
HotSync, and certain other trademarks and logos are trademarks which may be registered in the United States, France,
Germany, Japan, the United Kingdom, and other countries, and are either owned by ACCESS or its affiliates, or are
licensed exclusively by ACCESS Systems Americas, Inc. from Palm Trademark Holding Company, LLC. These marks may
not be used in connection with any product or service that does not belong to ACCESS (except as expressly permitted by a
license with ACCESS), in any manner that is likely to cause confusion among customers, or in any manner that disparages
or discredits ACCESS or its licensors,. All other product and brand names may be trademarks or registered trademarks of
their respective owners.
The registered trademark LINUX (R) is owned by Linus Torvalds, owner of the mark in the U.S. and other countries, and
licensed exclusively to the Linux Mark Institute.
IF THIS TECHNICAL DOCUMENTATION IS PROVIDED ON A COMPACT DISC, THE SOFTWARE AND OTHER
DOCUMENTATION ON THE COMPACT DISC ARE SUBJECT TO THE LICENSE AGREEMENTS ACCOMPANYING
THE SOFTWARE AND OTHER DOCUMENTATION.
Getting Started with ACCESS Linux Platform SDK
Document Number 3140-002
July 31, 2008
For the latest version of this document, visit
http://www.accessdevnet.com/index.php/Table/Documentation/
ACCESS Systems Americas, Inc.
1188 East Arques Avenue
Sunnyvale, CA 94085
USA
www.access-company.com
Getting Started with ACCESS Linux Platform SDK iii
Table of Contents
1 Installation Quick Start 5
Before you Install . . . . . . . . . . . . . . . . . . . . . . 5
Downloading ACCESS Linux Platform SDK . . . . . . . . . . 5
Extracting the Packages . . . . . . . . . . . . . . . . . . . 6
Editing the List of Repositories . . . . . . . . . . . . . . . . 7
Installing the SDK Packages . . . . . . . . . . . . . . . . . 8
Setting up Scratchbox . . . . . . . . . . . . . . . . . . . . 9
Configuring a Simulator Target . . . . . . . . . . . . . . . 10
Booting the Simulator . . . . . . . . . . . . . . . . . . . 11
2 Installation Quick Start: Command Line 13
Before you Install . . . . . . . . . . . . . . . . . . . . . 13
Downloading ACCESS Linux Platform . . . . . . . . . . . 13
Extracting the Packages . . . . . . . . . . . . . . . . . . 14
Editing the List of Repositories . . . . . . . . . . . . . . . 15
Installing the SDK Packages . . . . . . . . . . . . . . . . 15
Setting up Scratchbox . . . . . . . . . . . . . . . . . . . 15
Configuring a Simulator Target . . . . . . . . . . . . . . . 17
Booting the Simulator . . . . . . . . . . . . . . . . . . . 18
3 Your First Application 21
Using Eclipse . . . . . . . . . . . . . . . . . . . . . . 21
Starting the Simulator. . . . . . . . . . . . . . . . . . 21
Creating the Project. . . . . . . . . . . . . . . . . . . 22
Importing Code into the Project . . . . . . . . . . . . . 22
Building and Deploying the Application . . . . . . . . . 23
Using Command-Line Tools . . . . . . . . . . . . . . . . 23
Further Reading . . . . . . . . . . . . . . . . . . . . . 24
A Updating the SDK 25
Using Synaptic Package Manager . . . . . . . . . . . . . . 25
Downloading the SDK Updated packages . . . . . . . . . 25
Extracting the SDK Packages. . . . . . . . . . . . . . . 25
Upgrading the SDK Packages . . . . . . . . . . . . . . 26
iv Getting Started with ACCESS Linux Platform SDK
Resetting the Scratchbox Target . . . . . . . . . . . . . 27
Using apt-get at the Command Line. . . . . . . . . . . . . 28
Downloading the SDK Updated packages . . . . . . . . . 28
Extracting the SDK Packages. . . . . . . . . . . . . . . 28
Upgrading the SDK Packages . . . . . . . . . . . . . . 29
Resetting the Scratchbox Target . . . . . . . . . . . . . 29
B Uninstalling the SDK 31
Backing up your Work . . . . . . . . . . . . . . . . . . 31
Uninstalling with Synaptic Package Manager. . . . . . . . . 31
Marking ACCESS SDK Packages for Removal . . . . . . . 31
Marking Scratchbox Packages for Removal . . . . . . . . 32
Removing all Marked Packages . . . . . . . . . . . . . 32
Uninstalling at the Command Line . . . . . . . . . . . . . 33
Getting Started with ACCESS Linux Platform SDK 5
1
Installation Quick
Start
This chapter is intended to get you up and running with ACCESS
Linux Platform SDK. The instructions in this chapter describe how
install the platform using graphical tools. If you prefer to use the
command line to install the product, see Chapter 2, “Installation
Quick Start: Command Line.”
Before you Install
These instructions assume the following:
• You are installing on a Linux machine
• Your Linux machine is running Ubuntu version 7.10
• Your Linux machine does not have ACCESS Linux Platform
installed. (For information about how to uninstall ACCESS
Linux Platform, see Appendix B, “Uninstalling the SDK,” on
page 31.)
•[Other]
Downloading ACCESS Linux Platform SDK
The ACCESS Linux Platform SDK is available to developers
on the ACCESS Developer Network web site:
http://accessdevnet.com
评论0
最新资源