摘要: 数据存储和IO"SharedPreferences 与 Editor"SharedPreferences> boolean contains(String key)> abstract Map<String,?> getAll()> getXxx(String key,xxx defValue)> preferences = getSharePreferences(String name,int mode)mode:> Context.MODE_PRIVATE> Context.MODE_WORLD_READABLE> 阅读全文
posted @ 2012-03-29 14:46 antoniohu 阅读(188) 评论(0) 推荐(0)
摘要: 图形与图像处理Bitmap代表一张位图BitmapDrawable里封装一个BitmapBitmapDrawable drawable = new BitmapDrawable(bitmap)Bitmap bitmap = drawable.getBitmap();//获取bitmap对象创建新Bitmap对象:> createBitmap(source,x,y,width,height)> createScaledBitmap(src,dstWidth,dstHeight,filter)> createBitmap(width,height,config)> crea 阅读全文
posted @ 2012-03-28 15:29 antoniohu 阅读(233) 评论(0) 推荐(0)