1.Getting Started
To begin with, I set ADT(Android Developer Tools) on my computer.
I went this WEB,”Getting Started”(http://developer.android.com/training/index.html), and download the SDK(ADT bundle for linux or windows).
2.Building Your First App
- To start develop, double click Eclipse icon in the unpacked downloaded directory.
- Plug in the real devices to computer with a USB cable.
Set real devices “setting > development option > enable USB debugging”.
Select “run configurations > target > active devices.
Thus app runs on the smart phone, and output “Hello World”. - Building a simple user interface
To design UI, edit activity_main.xml and strings.xml - Starting another activity
My first android app runs successfully, but I couldn’t understand why it moves and how to construct another one.