Android Tutorial 1

Here are steps how to develop your first app for andorid-based phone.

  • Download and install JRE or JDK . You can download from oracle website since Sun has been purchased by Oracle and doesn't support Java any more. 

                  Here is the links: JRE Download. Note the version of your operating system.

  • Download Android Bundle (eclipse + android SDK + Plugin for Eclipse), you can find more from here: http://developer.android.com/training/. In fact, android Bundle is an zipped file,just unzip it and run eclipse. If every is ok, you can start write your first project.  However, I got following error in the console: The connected host is closed... 
Google it, and I find it's problem of DDMS ( Dalvik Debug Monitor Service), which is a debug tools for your emulation(such as SMS, incoming call). You can read baike for more information. 

  • I connected my phone(MB525, or Defy, Android 2.2) to my laptop and set the type of USB is: Synchronization of windows media.  Then I start the eclipse again and can see my device from DDMS.

Note that, before that, you have to install USB Driver. For me, it's Motohelper package including USB Driver. I tried other options: such as Only charger, USB Storage, etc. They are not ok.

  • Now, I begin to develop my first app by following the steps on FirstAPP.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值