论坛: 公開討議 (Thread #30473)

Android対応 (2011-09-26 16:20 by coffee #59765)

Android対応について、ここに記す。

回复到 #59765×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-09-26 16:25 by coffee #59766)

現在の実装だと、Android環境に以下のクラスが無いので、
sun.misc.BASE64Decoder
sun.misc.BASE64Encoder
これを使うjunkutil.crypt.DESは動かない。

同様に、sun.misc.HexDumpEncoderを使う
junkutil.common.DataDumper#dumpByteArrayは動かない。
回复到 #59765

回复到 #59766×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-09-26 16:27 by coffee #59767)

前者について、Public Domainで実装されたBase64.javaが存在する。
これを利用できるかどうか、Public Domainについて調査を行う必要あり。
回复到 #59765

回复到 #59767×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-09-26 16:28 by coffee #59768)

後者については、車輪の再発明を行う。
回复到 #59765

回复到 #59768×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-09-26 23:09 by coffee #59776)

・Base64.javaを導入した。
 これでjunkutil.crypt.DESは動くはずである。
・sun.misc.HexDumpEncoder 相当の処理を実装した。
 これでjunkutil.common.DataDumper#dumpByteArrayは動くはずである。

詳細な検証は明後日に行う。
回复到 #59765

回复到 #59776×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-09-27 09:54 by coffee #59785)

2011/09/27
ファイルI/Oの検証のため、AndroidFileUtilTestを作成。SDカードの読み書きをテストした。
SDカードへのアクセスには、AndroidManifest.xml に
 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
の記述が必要。
また、SDカードのパスは
 Environment.getExternalStorageDirectory().getPath()
で取得する。
結果、問題なく読み書きが行えることを確認した。

1.0.8は、Andriod対応となる予定
回复到 #59765

回复到 #59785×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-09-27 22:19 by coffee #59795)

ニュース

車輪の再発明で知られるJavaライブラリ開発プロジェクトJunkUtilは
9/28日、Androidエミュレータ上での動作検証を完了しました。

Android上でのJunkUtilの使用上の注意点は以下の通りです。

・junkutil.excel を使うには別途POIライブラリが必要。
・junkutil.gui はSwing依存のため動かない。

その他のクラスは問題なくAndroid上で動くことを確認しました。
さあ、みなさんのAndroid開発にjunkUtilを導入してみましょう!!
回复到 #59765

回复到 #59795×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-10-05 18:35 by coffee #59950)

android marketのアプリ毎のpackage名は一度登録すると
変更も削除も重複も再利用もできない、ということらしい。

今後のアプリでは慎重に決めることにしよう……。
回复到 #59765

回复到 #59950×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: Android対応 (2011-10-05 23:07 by coffee #59954)

2011/10/05
Androidがある程度分かってきた。今後、
junkutil.andriod.Storage#hasSdCard
junkutil.andriod.Storage#getSdCardPath
などを追加するかもしれない。しないかもしれない。
回复到 #59765

回复到 #59954×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录