Recent changes

2013-04-14 2013-04-02 2013-02-17 2013-01-29 2013-01-20 2013-01-18 2012-12-08 2012-11-06 2012-09-04 2012-08-02

Android

LiveWallpaper

LiveWallpaperで、リソースを取得する

http://stackoverflow.com/questions/5398705/live-wallpaper-bitmap-canvas

Hmmm. Feels like something squirrelly is going on. Suggest breaking things up to make them very step-by-step, to make sure each piece of the puzzle fits. Here's some code that works for me:

mContext = getApplicationContext();
mRes = mContext.getResources();
mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.myimage, mOpts);

(This way you can make sure your resources are good; not sure what else to suggest except converting file to png) Also--your bitmap should be 480x800 not 800x480.

リソースを使う場合、importが必要。 http://hau.sakura.ne.jp/blog/2011/03/post-357.php#comments

HTTP関連

Assets関連

WebView関連

課金

その他