忍者ブログ
AndroidSDK
[11] [10] [9] [8] [7] [6] [5] [4] [3]
×

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

こちら

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
PR

コメント


コメントフォーム
お名前
タイトル
文字色
メールアドレス
URL
コメント
パスワード
  Vodafone絵文字 i-mode絵文字 Ezweb絵文字


トラックバック
この記事にトラックバックする:


忍者ブログ [PR]
カレンダー
03 2024/04 05
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
性別:
非公開
バーコード
ブログ内検索