1,首先到到http://code.google.com/android/download.html下载SDK压缩包,直接解压到你需要的目录里。里面的Emulator是一个智能手机模拟器。

2,然后是安装Eclipse的开发插件。

1)在Eclipse的菜单里选择Software Updates > Find and Install...
2
)在随后出现的窗口里选Search for new features to install,然后下一步
3
)点New Remote Site
4
)在这里随便给这个远程地址输入一个名字(比如Google Android),在下面输入网址https://dl-ssl.google.com/android/eclipse/,然后点OK,退回到上一级对话框后点完成
6
)接受license后再下一步,然后完成
7
)然后点Install All,安装完后重启Eclipse
8
)重新启动Eclipse后,在Window > Preferences... ,选择Android面板,然后后点Browse...把输入SDK的路径就完成了。

3,然后开始写个HelloWorld测试下,建立一个Android项目,修改代码如下:

packagecom.boomga;

importandroid.app.Activity;
importandroid.os.Bundle;
importandroid.widget.TextView;

public class HelloWorldextendsActivity{
/* *Calledwhentheactivityisfirstcreated. */
@Override
public void onCreate(Bundleicicle){
super.onCreate(icicle);
TextViewtv
= new TextView( this );
tv.setText(
" Hello,Android " );
setContentView(tv);
}
}

体验Android_第1张图片

4,最后来欣赏下Android的华丽界面吧:



体验Android_第2张图片


体验Android_第3张图片


5,Android的系统架构图:

体验Android_第4张图片

更多相关文章

  1. Android 控件之ImageSwitcher图片切换器
  2. Android编程心得-图片自适应心得
  3. Android 使用Canvas在图片上绘制文字的方法
  4. 用emulator启动模拟器
  5. PC安卓模拟器PANIC: Could not open:C:\Documents and Settings
  6. Android中从图库中选取图片实例详解

随机推荐

  1. 内存优化之android:largeHeap
  2. Android中的ping网络实现
  3. android LayoutInflater、setContentView
  4. Android SpannableString和SpannableStri
  5. Android NDK Log信息打印
  6. Android(安卓)3 开始 Activity MainThrea
  7. Android 通过命令将文件导出
  8. Android ListPreference
  9. android的一些常用手机信息获取
  10. android播放本地音乐程序