Posted on 2010-01-13 18:29
oathleo 阅读(273)
评论(0) 编辑 收藏 所属分类:
Android
1.图片:
InputStream is = getResources().openRawResource(R.drawable.node);
bitmap = BitmapFactory.decodeStream(is);
canvas.drawBitmap(bitmap, i, j, mFramePaint);
2.自定义draw
onDraw方法
3.System.out
Log.i("tag", "test"+ new Date());
在Lotcat中查看
4.invalidate