きょこみのーと

技術に関係ないほうのブログ

2012-12-01から1ヶ月間の記事一覧

AndroidでのBitmapをHashMapで持つ感じにしようとしたら警告がでた

ソース: Map<Integer,Bitmap> bitmapMap = new HashMap<Integer,Bitmap>(); 警告: Use new SparseArray(...) instead for better performance どうやら、HashMap使うよりSparseArray使ったほうがパフォーマンスいいよ?とのこと。 というわけで SparseArray<Bitmap> bitmapArray = new SparseArray<Bitmap>()</bitmap></bitmap></integer,bitmap></integer,bitmap>…

Google Play 課金調査まとめメモ

とりあえずガイドライン。たぶんサンプルにコードがあると思う http://developer.android.com/guide/google/play/billing/index.html 翻訳版。(ここが一番わかり易い。関連情報も必読) https://sites.google.com/a/techdoctranslator.com/jp/android/market/…