• R/O
  • HTTP
  • SSH
  • HTTPS

Dateibaum

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Android Samples


Name Größe Rev. Zeit Autor Log Message
src
Makefile 510 1db620e 2014-06-09 05:23:43 Masahiko, SAWAI Added some modules Added the followi...
README.txt 1 k 1db620e 2014-06-09 05:23:43 Masahiko, SAWAI Added some modules Added the followi...
pom.xml 3.08 k 965e4ff 2019-05-02 13:04:39 Masahiko, SAWAI Updated projects file.

README.txt

! listview-single-choice

要素のうち1つだけを選択できる ListView を作るサンプル。
レイアウトは標準で用意されている
android.R.layout.simple_list_item_single_choice
を利用する。

このレイアウトでは表示用の View は CheckedTextView となり、 id は 
android.R.id.text1 となる。


チェックされているアイテムの場所が以下のメソッドで取得できる。
*  ListView.getCheckedItemPosition() : int


!! ビルドターゲット

http://maven-android-plugin-m2site.googlecode.com/svn/plugin-info.html

* mvn compile - アプリケーションのコンパイル
* mvn package - apk の作成
* mvn clean - ビルドファイルの削除
* mvn install - maven の local リポジトリにインストール

* mvn android:deploy - エミュレータやデバイスにインストール
* mvn android:generate-sources

* mvn install - アプリケーションのインストール
* mvn uninstall - アプリケーションのアンインストール