Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Instantly share code, notes, and snippets.

@koyachi
Created November 17, 2009 21:47
Show Gist options
  • Save koyachi/237294 to your computer and use it in GitHub Desktop.
Save koyachi/237294 to your computer and use it in GitHub Desktop.

Revisions

  1. koyachi created this gist Nov 17, 2009.
    16 changes: 16 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    emacsでandroid

    0. SDKいれてAVDも作っておく
    android create avd -n <name> -t <targetID> [-<option> <value>] ...
    0. http://riddell.us/tutorial/android/android.htmlのelisp入れる
    1. emulator起動
    M-x android-start-emulatorかemulatorコマンド
    2. 新規プロジェクト作成
    android create project --target <targetID> --path /path/hoge --activity MyProgram --package com.example.hoge
    target: android list targetsででてくるものから選択
    path: プロジェクト保存場所
    activity: Activityクラスの名前
    package: com.example.myprojectみたいなやつ。
    3. Project/res/layout/main.xml開いて、M-x android-ant-install

    4. ソース修正したら M-x android-ant-reinstall