没有合适的资源?快使用搜索试试~ 我知道了~
MOTODEV_Studio
4星 · 超过85%的资源 需积分: 10 36 下载量 148 浏览量
2008-10-27
11:13:53
上传
评论 1
收藏 968KB PDF 举报
温馨提示
试读
26页
Tested using arm-linux-gnu-* crosstool taken from http://www.mkezx.org/ installed in /opt/crosstol. Read setenv-[device].sh included in pictureflow source for details. You might need to edit this file in other ways depending on how your environment set. This SDK contains: - Modified samr7's qte-2.3.6 headers - foxe6's qte-2.3.8 update: qfont.h, qpixmap.h, qptf.h, qtableview.h, qt.h, and qwidget.h - Unmodified flylasly's E2 EZX headers
资源推荐
资源详情
资源评论
Quick Start: MOTODEV Studio
MOTODEV Studio for Linux
Copyright © 2008, Motorola, Inc. All rights reserved.
This documentation may be printed and copied solely for use in developing products for Motorola products. In addition, two (2)
copies of this documentation may be made for archival and backup purposes. Except for the foregoing, no part of this
documentation may be reproduced or transmitted in any form or by any means or used to make any derivative work (such as
translation, transformation, or adaptation) without express written consent from Motorola, Inc.
Motorola reserves the right to make changes without notice to any products or services described herein. "Typical" parameters,
which may be provided in Motorola Data sheets and/or specifications, can and do vary in different applications and actual
performance may vary. Customer's technical experts will validate all "Typicals" for each customer application.
Motorola makes no warranty in regard to the products or services contained herein. Implied warranties, including without limitation,
the implied warranties of merchantability and fitness for a particular purpose, are given only if specifically required by applicable
law. Otherwise, they are specifically excluded.
No warranty is made as to coverage, availability, or grade of service provided by the products or services, whether through a
service provider or otherwise. No warranty is made that the software will meet your requirements or will work in combination with
any hardware or application software products provided by third parties, that the operation of the software products will be
uninterrupted or error free, or that all defects in the software products will be corrected.
In no event shall Motorola be liable, whether in contract or tort (including negligence), for any damages resulting from use of a
product or service described herein, or for any indirect, incidental, special or consequential damages of any kind, or loss of revenue
or profits, loss of business, loss of information or data, or other financial loss arising out of or in connection with the ability or
inability to use the Products, to the full extent these damages may be disclaimed by law.
Some states and other jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, or limitation on
the length of an implied warranty, therefore the above limitations or exclusions may not apply to you.
This warranty gives you specific legal rights, and you may also have other rights, which vary from jurisdiction to jurisdiction.
Motorola products or services are not designed, intended, or authorized for use as components in systems intended for surgical
implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the
Motorola product or service could create a situation where personal injury or death may occur.
Should the buyer purchase or use Motorola products or services for any such unintended or unauthorized application, the buyer
shall release, indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all
claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal
injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent
regarding the designing or manufacturing of the product or service.
Motorola recommends that if you are not the author or creator of the graphics, video, or sound, you obtain sufficient license rights,
including the rights under all patents, trademarks, trade names, copyrights, and other third party proprietary rights.
If this documentation is provided on compact disc, the other software and documentation on the compact disc are subject to the
license agreement accompanying the compact disc.
MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. Java and all other Java-based marks
are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Linux® is the registered
trademark of Linus Torvalds in the US and other countries. Microsoft and Windows are registered trademarks of Microsoft
Corporation. VMware is a registered trademark of of VMware, Inc. All other product and service names are the property of their
respective owners.
Quick Start: MOTODEV Studio
version 1.0
July, 2008
For the latest version of this document, visit http://developer.motorola.com.
Motorola, Inc.
http://www.motorola.com
iii
Contents
Chapter 1 Introducing MOTODEV Studio for Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
What is MOTODEV Studio? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Launching MOTODEV Studio for Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Selecting a Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
The Workbench . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Creating a New Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Project Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Running the Application on the MOTOMAGX Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Creating a Launch Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Using the MOTOMAGX Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Resizing the Emulator’s Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Exiting the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Rebuilding and Relaunching. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Locating Build Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Changing Build Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Creating a Launch Configuration for Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
The Debug Perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Basic Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Setting Breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Switching Perspectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Shutting Down the MOTOMAGX Emulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Next Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
MOTODEV Studio for Linux Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Eclipse Documentation and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
MOTODEV Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
QUICK START: MOTODEV STUDIO
iv
1
Introducing MOTODEV Studio for Linux
This document walks you through the process of creating a native Linux
®
application and deploying it to
the MOTOMAGX Emulator. Although you’ll be creating that simplest of applications, a version of “Hello
World”, the process of doing so illustrates the tools and techniques you use when creating MOTOMAGX
native applications of almost any scale. In particular, it introduces you to Eclipse™, the IDE upon which
MOTODEV Studio is based.
If you are new to Eclipse, this document will get you started. If you are an Eclipse veteran, you’ll want to
focus specifically on the sections introducing MOTODEV Studio and those relating to the MOTOMAGX
Emulator. Particularly if you are new to Eclipse, you are strongly encouraged to follow along as you read
this, performing the steps as they are called out in the text.
You must have installed MOTODEV Studio for Linux and any prerequisite software (such as a suitable
Java™ Runtime Environment and VMware
®
Player) before following the procedure detailed in this
document. If you have not yet installed MOTODEV Studio for Linux, follow the instructions found in
Installing and Configuring MOTODEV Studio for Linux.
This tutorial was written assuming that you are running MOTODEV Studio on a computer running
Microsoft
®
Windows
®
. If your development computer is running Linux, you should have little or no trouble
following along. Note that a few details—for instance, the steps you follow to launch MOTODEV Studio—
will differ.
What is MOTODEV Studio?
MOTODEV Studio is an IDE (Integrated Development Environment) designed specifically for developers
creating applications to run on certain Motorola devices. It is based upon Eclipse, a widely used, highly
extensible open source IDE. MOTODEV Studio is available for each of the different application
environments supported by the MOTOMAGX platform:
• MOTODEV Studio for Linux
• MOTODEV Studio for Java ME
• MOTODEV Studio for WebUI
MOTODEV Studio for Linux includes all of the tools you’ll need—including compilers, linkers, and
debuggers, plus packaging tools—to develop native Linux applications for Motorola devices. Bundled with
it is an SDK that consists of the header files, libraries, sample code, and documentation necessary to
target a specific version of the mobile Linux operating system.
One key component of MOTODEV Studio for Linux is the MOTOMAGX Emulator, which emulates the
general operations and capabilities of a mobile device entirely in software. The Emulator uses a “skin” to
provide the appearance of a real, physical handset. The skin is more than just a static image; it allows you
to operate the handset simply by clicking its buttons and controls. As you will see, you can configure the
剩余25页未读,继续阅读
资源评论
- zlhhlp2016-11-22以为是软件呢,结果是文档
- geojyzhang2014-03-17很好用的东西。强烈推荐。
yefengabc7
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功