摘要:
在android联系人界面,点击添加头像后可以选择一个图像的部分区域来作为头像。查看了一下代码,模仿着写了一段从文件中选择部分区域:Java代码Intentintent=newIntent("com.android.camera.action.CROP"); intent.setClassName("com.android.camera","com.android.camera.CropImage"); Filefile=newFile(filePath); Uriuri=Uri.fromFile(file); intent.setD 阅读全文
posted @ 2012-10-15 12:02
pandans
阅读(4086)
评论(0)
推荐(0)

浙公网安备 33010602011771号