• 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 193dee8 2013-10-09 17:31:24 Masahiko, SAWAI Added a project * bitmap-drawing-and...
README.txt 1.06 k 193dee8 2013-10-09 17:31:24 Masahiko, SAWAI Added a project * bitmap-drawing-and...
pom.xml 3.04 k 965e4ff 2019-05-02 13:04:39 Masahiko, SAWAI Updated projects file.

README.txt

! bitmap-drawing-and-show

Bitmap を作成してそこに画像を描画しておき、
それを ImageView にセットして表示するサンプル。

Bitmap へのラスタライズ処理が重い場合、それをキャッシュしておく
ことで View#onDraw() の負荷は軽くなる。また Bitmap をファイルへ
保存することもできる。

!! Bitmap 作成

* Bitmap.createBitmap(int w, int h, Bitmap.Config config) : Bitmap


!! Bitmap への描画

* new Canvas(Bitmap bitmap) : Canvas
* Canvas#drawXXX()


!! ビルドターゲット

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 - アプリケーションのアンインストール