程序员前进的一小步,能够看懂并翻译英文文章

Original :

developer tools

The Android Developer Tools (ADT) plugin for Eclipse provides a professional-grade development environment for building Android apps. It's a full Java IDE with advanced features to help you build, test, debug, and package your Android apps.

Free, open-source, and runs on most major OS platforms.
To get started, download the Android SDK.

译: 开发人员工具

Android开发工具(ADT)插件为Eclipse提供了用于构建Android应用程序的专业级开发环境。这是一个完整的JavaIDE,具有先进的功能,以帮助您构建,测试,调试和打包你的Android应用程序。

免费,开源的,并且在大多数主要的操作系统平台上运行。
要开始使用,下载Android SDK。


Full Java IDE

  • Android-specific refactoring, quick fixes, integrated navigation between Java and XML resources.
  • Enhanced XML editors for Android XML resources.
  • Static analysis tools to catch performance, usability, and correctness problems.
  • Build support for complex projects, command-line support for CI through Ant. Includes ProGuard and app-signing.
  • Template-based wizard to create standard Android projects and components.

译:

完整的Java IDE
•Android的特定重构,快速修复,Java和XML之间的资源组合导航。
•增强的XML编辑器为Android的XML资源。
•静态分析工具捕捉性能,可用性和正确性问题。
•建立复杂的项目,通过Ant进行CI命令行的支持。包括ProGuard,并将应用程序签名。
•基于模板的向导来创建标准的Android项目和组件。


       Create a Project with Eclipse

     使用Eclipse创建一个工程

  1. Click New in the toolbar.

      在工具栏点击新建

  1. In the window that appears, open the Android folder, selectAndroid Application Project, and clickNext.
  •  在 出现的窗体中 打开 android 文件夹 选择 Android Application 项目 然后点击Next

                     Fill in the form that appears: 

                  填充出现的表格   

      1. Application Name is the app name that appears to users. For this project, use "My First App."

    • Project Name is the name of your project directory and the name visible in Eclipse.
    • Package Name is the package namespace for your app (following the same rules as packages in the Java programming language). Your package name must be unique across all packages installed on the Android system. For this reason, it's generally best if you use a name that begins with the reverse domain name of your organization or publisher entity. For this project, you can use something like "com.example.myfirstapp." However, you cannot publish your app on Google Play using the "com.example" namespace.
    • Minimum Required SDK is the lowest version of Android that your app supports, indicated using theAPI level. To support as many devices as possible, you should set this to the lowest version available that allows your app to provide its core feature set. If any feature of your app is possible only on newer versions of Android and it's not critical to the app's core feature set, you can enable the feature only when running on the versions that support it (as discussed inSupporting Different Platform Versions). Leave this set to the default value for this project.
    • Target SDK indicates the highest version of Android (also using theAPI level) with which you have tested with your application.

      As new versions of Android become available, you should test your app on the new version and update this value to match the latest API level in order to take advantage of new platform features.

    • Compile With is the platform version against which you will compile your app. By default, this is set to the latest version of Android available in your SDK. (It should be Android 4.1 or greater; if you don't have such a version available, you must install one using the SDK Manager). You can still build your app to support older versions, but setting the build target to the latest version allows you to enable new features and optimize your app for a great user experience on the latest devices.
    • Theme specifies the Android UI style to apply for your app. You can leave this alone.
    1. Click Next.
    2. On the next screen to configure the project, leave the default selections and clickNext.
    3. The next screen can help you create a launcher icon for your app.

      You can customize an icon in several ways and the tool generates an icon for all screen densities. Before you publish your app, you should be sure your icon meets the specifications defined in theIconography design guide.

      Click Next.

    4. Now you can select an activity template from which to begin building your app.

      For this project, select BlankActivity and clickNext.

    5. Leave all the details for the activity in their default state and clickFinish.
    6. Your Android project is now a basic "Hello World" app that contains some default files. To run the app, continue to thenext lesson.

    应用名称是显示给用户的应用程序名称。对于这个项目,使用“我的第一个应用程序。 ”



    •项目名称就是你的项目目录的名称,名称在Eclipse中可见。
    •程序包名称的包的命名空间为您的应用程序(遵循相同的规则,在Java编程语言包) 。你的包名称必须在安装了Android系统上的所有软件包唯一的。出于这个原因,它通常最好的,如果您使用的开始与您的组织或出版者实体的反向域名名称。对于这个项目,你可以使用类似“ com.example.myfirstapp 。 ”但是,你不能在谷歌播放使用为“com.example ”命名空间发布你的应用程序。
    •最低要求SDK是Android的最低版本,你的应用程序支持,表示使用API​​级别。为了支持尽可能多的设备越好,你应该将其设置为可用,可以让您的应用程序,以提供其核心功能集的最低版本。如果您的应用程序的任何功能可能只在较新版本的Android ,它不是以应用程序的核心功能集的关键,你可以在支持它的版本只运行时(如在支持不同的平台版本讨论)启用该功能。将它设置为默认值,为这个项目。
    •目标SDK中表示最高版本的Android (也使用API​​级别),您已与您的应用程序进行测试的。
    由于Android的新版本可用,您应该测试应用程序的新版本,并更新此值,以便利用新的平台功能利用最新的API级别相匹配。

    •编译是平台版本针对您将编译您的应用程序。默认情况下,此选项设置为可用的Android的最新版本,在你的SDK 。 (这应该是Android的4.1或更高版本,如果你没有这样的版本,您必须使用SDK管理器安装一个) 。你还可以建立自己的应用程序来支持旧版本,但构建目标设定到最新版本允许您启用新功能和优化您的应用程序的最新的设备出色的用户体验。
    •主题指定了Android的UI风格申请您的应用程序。你可以不理会这一点。
    1,单击下一步。
    2,2009在下一个屏幕,用于配置项目,保留默认选项,然后单击下一步。
    3,在下一个屏幕上可以帮助你创建你的应用程序的起动器图标。
    您可以通过多种方式自定义的图标和工具生成所有的屏幕密度的图标。在您发布您的应用程序,你应该确保你的图标在开会的影像学设计指南中定义的规范。

    单击下一步。

    4.Now您可以选择从哪个开始建立你的应用程序的活动模板。
    对于这个项目,选择BlankActivity ,然后单击下一步。

    5.Leave所有的细节在其默认状态的活动,并单击Finish。
    6.Your Android项目现在是一个基本的“Hello World ”应用程序,它包含了一些默认的文件。为了运行应用程序,继续下一课。

     


    

    
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
A. array数组   apple苹果  add 增加  accessible 可存取的  area面积 audio 音频   addition  加法  action 行动  arithmetic 算法 adjustment 调整  actual 真实的    argument 参量  abstract 抽象 ascent 提升  already 已经  AWT(Abstract Window Toolkit)抽象窗口工具  API(Application Programming Interface)应用程序接口 array apple add accessible area audio addition action arithmetic adjustment actual argument abstract B. byte 字节  Boolean 布尔  banana香蕉   base 基础  buffer缓冲器  button 按钮  break  中断  body 身体 C. color 颜色  class 类  count 计数  client 客户  code 代码calculation 计算  cell 单元 circle圆  capital首都  catch捕获 check 检查 container容器  component 组件  command 命令 cube立方,三次方 char(=character)字符  cancel取消 case 情况 choice选择 click单击 center 中心 compile编译  clone克隆,复制  continue 继续 create建立 D. draw 绘图 data数据 demo 示例 DLL(Dynamic Link Library)动态链接库  document 文档  descent 继承  division 分裂,除法  define定义,说明 display显示 E. error 错误 extends 扩展  executed 执行  event 事件  enter 输入,回车键  exception  异常  except 除外 employee 雇员environment 环境 east 东方 equal 相等 Echo 重复 F. false 假的  float 单精度型  fruit 水果  file 文件  find 发现found 发现  field 域  final 终结的 friend 朋友 fill 填充  focus 焦点font 字体  factorial 阶乘

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值