ファイル構成とか
とりあえず Hello World 的なものを書いた(というより Eclipse が自動生成したものを読んだり弄ったり)。
src の下にソースコード、 res の下に設定やデータ等の各種リソースファイルを配置。 res/layout/main.xml がソースコード中の R.layout.main という int のリソース ID に対応していて、R.java 自体は gen の下に自動生成される。なるほどなるほど。
重要っぽいクラス
リファレンス: http://developer.android.com/reference/packages.html
- android.view.View
- android.view.ViewGroup <: View
- android.app.Activity
- android.app.Service <: ContextWrapper <: Context
- android.content.Intent
- android.content.ContentProvider