忍者ブログ
AndroidSDK
[1] [2] [3]
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

総額11億円。Google主催のプログラミングコンテスト。なにしろ夢があるじゃございませんか。
参加方法は簡単
1)Android SDKをダウンロード
2)プログラムを作る
3)http://code.google.com/android/adc-submit/index.html#individual[ここ]にアップロード
これはもうやるしかない。
http://googlejapan.blogspot.com/2007/11/android-android.html[日本語での解説]

PR
こちら

AndroidにはxmlからUIを作る昨日がついているがMapViewを普通に設定するとだめで、Viewのカスタムコンポーネントとして設定してやらないとダメらしい。

aaptがコンパイルするそうだが、詳細がわからん。まともなヘルプといえばaapt自体のヘルプくらいか

Android Asset Packaging Tool

Usage:
aapt l[ist] [-v] file.{zip,jar,apk}
List contents of Zip-compatible archive.

aapt p[ackage] [-c][-f][-g][-s][-u][-m][-v][-x][-M AndroidManifest.xml] \
[-l locale1[,locale2,...]] [-d device1[,device2,...]] \
[-I base-package [-I base-package ...]] \
[-A asset-source-dir] [-P public-definitions-file] \
[-S resource-source-dir] \
file.{zip,jar,apk} [raw-files-dir [raw-files-dir] ...]

Create or update the named Zip-compatible archive. All files in raw-files-dir
will be added to the archive, as will selected directories in asset-root-dir
(which should contain a 'default' directory and some locale-specific
directories). The named locales and vendors will be added, all others
will be excluded.

aapt c[ompile] [-m][-v][-x] [-M AndroidManifest.xml] [-J R-file-dir] \
[-A asset-source-dir] [-S resource-source-dir] \
[-I base-package [-I base-package ...]] \
[-P public-definitions-file] [-R resource-intermediates-dir] \
[raw-files-dir [raw-files-dir] ...]

Compile binary resources from assets. Scans through asset-root-dir
for all sources that need to be compiled to binary assets.
If the -J option is specified, the "R.java" files will be generated
in the indicated directory. A class "R" will be generated in the
package specified by AndroidManifest.xml.

aapt d[elete] [-v] file.{zip,jar,apk} file1 [file2 ...]
Delete specified files from Zip-compatible archive.

aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
Add specified files to Zip-compatible archive.

aapt v[ersion]
Print program version.

Modifiers:
-d one or more device assets to include, separated by commas
-c compile resources from assets
-f force overwrite of existing files
-g only write generated assets; do not package source assets
-j specify a jar or zip file containing classes to include
-l one or more locale assets to include, separated by commas
-m make package directories under location specified by -J
-s sync existing packages (update + remove deleted files)
-u update existing packages (add new, replace older)
-v verbose output
-x create extending (non-application) resource IDs
-z require localization of resource attributes marked with localization="suggested"
-A additional directory in which to find raw asset files
-I add an existing package to base include set
-J specify where to output R.java resource constant definitions
-M specify full path to AndroidManifest.xml to include in zip
-P specify where to output public resource definitions
-R specify directory containing generated resource files (in or output)
-S additional directory in which to find resource source assets
-0 don't compress files we're adding
まだ暫定的なものだが
IApplication = Activity
Canvas/Panel = View
Graphics = Canvas
image = bitmap
って感じだろうか。
Graphics.カラー変換関係はColorで転用できそうだ。

ごちょごちょやりつつただいまTetrisをAndroid化中


忍者ブログ [PR]
カレンダー
10 2024/11 12
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
カテゴリー
フリーエリア
最新トラックバック
プロフィール
HN:
No Name Ninja
性別:
非公開
バーコード
ブログ内検索