どんな連携ができるか
(defconst android-mode-keys '(("d" . android-start-ddms) ("e" . android-start-emulator) ("l" . android-logcat) ("c" . android-ant-compile) ("i" . android-ant-install) ("r" . android-ant-reinstall) ("u" . android-ant-uninstall)))
Ctrl+c Ctrl+c からそれぞれで、
アンインストールは、うまくできないような。
"android create project" & ACTIVITY_NAME
コマンドラインからプロジェクトを作成すると、
ACTIVITY_NAMEがうまく置換されてない。
http://code.google.com/p/android/issues/detail?id=4889
leaves ACTIVITY_NAME in: -- AndroidManifest.xml (android:name attribute) -- res/values/strings.xml (app_name) -- res/layout/main.xml (in the android:text attribute of the TextView -- src/com/example/myandroid/MyAndroidAppActivity.java (the class name is ACTIVITY_NAME despite being in the MyAndroidAppActivity.java file) If I change the target to 1, 3, or 4, it works as expected. If I have the target as 2 or 5, it gives me the ACTIVITY_NAME.
自分の環境のせいだと思っていたのだが、
まあすこし安心した。
面倒くさいのでshで書いておく。
for f in res/values/strings.xml res/layout/main.xml AndroidManifest.xml src/com/sample/$LOWER/$WORD.java do cat $f |sed -e "s/ACTIVITY_NAME/$WORD/" > $f.out mv $f.out $f done
該当するファイルは4ファイルのみ。