菜单
  
    英文翻译资料A:英文原文2.1. Setting Up Your Development Environment Android applications, like most mobile phone applications, are developed in a host-target development environment. In other words, you develop your application on a host computer (where resources are abundant) and download it to a target mobile phone for testing and ultimate use. Applications can be tested and debugged either on a real Android device or on an emulator. For most developers, using an emulator is easier for initial development and debugging, followed by final testing on real devices.32406
    To write your own Android mobile phone applications, you'll first need to collect the required tools and set up an appropriate development environment on your PC or Mac. In this chapter we'll collect the tools you need, download them and install them on your computer, and write a sample application that will let you get the feel of writing and running Android applications on an emulator. Linux, Windows, and OS X are all supported development environments, and we'll show you how to install the latest set of tools on each. Then, we'll show you any configuration you need to do after installing the tools (setting PATH environment variables and the like), again for each of the three operating systems. Finally, we'll write a short little "Hello, Android" application that demonstrates what needs to be done in order to get a generic application running.
    The Android SDK supports several different integrated development environments (IDEs). For this book we will focus on Eclipse because it is the IDE that is best integrated with the SDK, and, hey, it's free. No matter which operating system you are using, you will need essentially the same set of tools:
    •    The Eclipse IDE
    •    Sun's Java Development Kit (JDK)
    •    The Android Software Developer's Kit (SDK)
    •    The Android Developer Tool (ADT), a special Eclipse plug-in
    Since you're probably going to develop on only one of the host operating systems, skip to the appropriate section that pertains to your selected operating system.
    2.1.1. Creating an Android Development Environment
    The Android Software Development Kit supports Windows (XP and Vista), Linux (tested on Ubuntu Dapper Drake, but any recent Linux distro should work), and Mac OS X (10.4.8 or later, Intel platform only) as host development environments. Installation of the SDK is substantially the same for any of the operating systems, and most of this description applies equally to all of them. Where the procedure differs, we will clearly tell you what to do for each environment:
    1.    Install JDK: The Android SDK requires JDK version 5 or version 6. If you already have one of those installed, skip to the next step. In particular, Mac OS X comes with the JDK version 5 already installed, and many Linux distributions include a JDK. If the JDK is not installed, go to and you'll see a list of Java products to download. You want JDK 6 Update n for your operating system, where n is 6 at the time of this writing.

    Windows (XP and Vista)
    o    Select the distribution for "Windows Offline Installation, Multi-language."
    o    Read, review, and accept Sun's license for the JDK. (The license has become very permissive, but if you have a problem with it, alternative free JDKs exist.)
    o    Once the download is complete, a dialog box will ask you whether you want to run the downloaded executable. When you select "Run," the Windows Installer will start up and lead you through a dialog to install the JDK on your PC.

    Linux
    o    Select the distribution for "Linux self-extracting file."
    o    Read, review, and accept Sun's license for the JDK. (The license has become very permissive, but if you have a problem with it, alternative free JDKs exist.)
  1. 上一篇:供销存管理英文文献和中文翻译
  2. 下一篇:JSP技术英文文献及参考文献
  1. 会计矿业环境估值方法英文文献和中文翻译

  2. 信息系统开发与数据库开...

  3. 海洋结构物的环境影响评...

  4. 数据库开发过程英文文献和中文翻译

  5. 系统开发生命周期英文文献和中文翻译

  6. 软件开发项目的企业管理英文文献和中文翻译

  7. 产品设计与环境英文文献和中文翻译

  8. 巴金《激流三部曲》高觉新的悲剧命运

  9. 现代简约美式风格在室内家装中的运用

  10. 浅析中国古代宗法制度

  11. NFC协议物理层的软件实现+文献综述

  12. C++最短路径算法研究和程序设计

  13. g-C3N4光催化剂的制备和光催化性能研究

  14. 江苏省某高中学生体质现状的调查研究

  15. 上市公司股权结构对经营绩效的影响研究

  16. 中国传统元素在游戏角色...

  17. 高警觉工作人群的元情绪...

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回