Tuesday, March 17, 2009

Eclipse for Android

http://www.eclipse.org/downloads/
http://d.android.com/guide/developing/eclipse-adt.html
http://d.android.com/guide/tutorials/hello-world.html

先上網下載eclipse (Eclipse Classic, Linux 32 bit) 和android-sdk.
然後, 加掛android 的plugin,以及指定 SDK 的位置。

SDK 裡有一些sample 可以跑,開一個新的project 把code 加進來:
File > New > Android Project, "Create project from existing source", choose "SDK\samples\HelloActivity"

然後點Run , eclipse 就會自己開啟emulator 執行程式。

No comments:

Related Posts Plugin for WordPress, Blogger...