你好Android-----Android新手入门
来源:互联网 发布:阿里巴巴国际交易软件 编辑:程序博客网 时间:2024/05/17 00:59
你好Anroid (Hello, Android)
首先的感觉是作为一个开发者你需要知道一些初步的印象,当你了解开发框架之后才更容易的写出HelloWorld程序在Android平台上,这将会很简单,看看下面是如何做的 (First impressions matter, and as a developer you know that the first impression you get of a development framework is how easy it is to write "Hello, World!" Well, in Android, it's pretty easy. Here's how it looks:)
创建工程 (Create the Project) 构建用户界面 (Construct the UI) 运行代码你好Android (Run the Code: Hello, Android)
更详细的在下面章节中提到 (The sections below spell it all out in detail)
升级用户界面为XML布局 (Upgrading the UI to an XML Layout) 调试你的工程 (Debugging Your Project) 创建一个工程不用Eclipse ( Creating a Project without Eclipse)
让我们进入吧 (Let's jump in)
创建工程 (Create the Project)
创建工程很简单,通过Eclipse插件可以实现创建一个Android开发快照(Creating the project is as simple as can be. An Eclipse plugin is available making Android development a snap)
你需要有一个安装了Eclipse集成开发环境的电脑,可以查看系统和软件要求,同时你需要安装Android Eclipse Plugin ADT插件(You'll need to have a development computer with the Eclipse IDE installed (see System and Software Requirements), and you'll need to install the Android Eclipse Plugin (ADT). Once you have those ready, come back here.)
首先这里有高级叙述关于如何建立Hello World (First, here's a high-level summary of how to build "Hello, World!":)
创建一个新的Android工程在File=>New=>Project菜单上(Create a new "Android Project" via the File > New > Project menu.)
填好工程详细信息在Android工程对话框中(Fill out the project details in the New Android Project dialog. )
编辑自动生成的源代码模板中(Edit the auto-generated source code template to display some output. )
1.创建一个新的Android工程(Create a new Android Project)
从Eclipse中,选择菜单栏中的File=>New=>Project条目,如果Android Eclipse插件已经成功安装好了,则结果对话框应该显示一个文件夹标签为Android,包含了简单的“Android Project”(From Eclipse, select the File > New > Project menu item. If the Android Plugin for Eclipse has been successfully installed, the resulting dialog should have a folder labeled "Android" which should contain a single entry: "Android Project".),如图
选择Android中的 "Android Project" ,然后单击"Next" 按钮进入下一步设置
2.填写工程描述信息(Fill out the project details)
下一个画面允许你输入一些有关工程的描述信息,这是个例子(The next screen allows you to enter the relevant details for your project. Here's an example)
下面是每个字段显示意思 (Here's what each field on this screen means:)
工程名 (Project Name) 这是你电脑上的目录货文件夹名称,包含着你的工程(This is the name of the directory or folder on your computer that you want to contain the project)
包名称 (Package Name) 这个包的命名空间根据相同规则对于Java程序包,你的所有代码均在这个下面,你的包名称也可以设置和Activity将会生成。This is the package namespace (following the same rules as for packages in the Java programming language) that you want all your source code to reside under. This also sets the package name under which the stub Activity will be generated. The package name you use in your application must be unique across all packages installed on the system; for this reason, it's very important to use a standard domain-style package for your applications. In the example above, we used the package domain "com.android"; you should use a different one appropriate to your organization.
- 你好Android-----Android新手入门
- Android你好!!
- Android 新手入门
- 开始Android-说你好
- Android新手入门 FAQ
- Android新手入门 FAQ
- Android新手入门 FAQ
- Android新手入门的十個問題!
- Android新手入门FAQ
- Android新手入门 FAQ
- Android新手入门 FAQ
- Android新手入门 FAQ
- Android新手入门 FAQ
- Android新手入门 FAQ
- 新手入门Android之XML
- Android新手入门 FAQ
- Android 手机百科全书: 新手入门
- Android 新手入门指导
- 编译时报错 error spawning c1.exe
- typedef关键字的理解
- ubuntu9.10中文语言包升级源
- 关于URL中的特殊字符
- Flex通信篇——构建企业级HTTP通信层
- 你好Android-----Android新手入门
- MongoDB数据库操作和程序基础文档
- ICE和ACE高效网络编程中间平台--远程调用中间件
- Response.Redirect在新窗口打开
- Spring 简单介绍
- 74LS595
- python 利用win32com操作excel
- wo de tupian
- 论坛