- 博客(8)
- 收藏
- 关注
原创 如何调取其他 layout 的 view
LayoutInflater layoutInflater = LayoutInflater.from(context);
2014-05-21 01:01:54 350
原创 讲文件加入图库扫描中
private void galleryAddPic() { Intent mediaScanIntent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE); File f = new File(picfilepath); Uri contentUri = Uri.fromFile(f); mediaSc
2014-05-19 20:49:22 422
原创 将 httpClient 用于 HTTP GET 请求
1,HttpClient client = new DefaultHttpClient(); 2 ,
2014-05-18 10:00:19 373
原创 Here is the matrix to convert driver coordinates to View coordinates in pixels.
Matrix matrix = new Matrix(); CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId]; // Need mirror for front camera. boolean mirror = (info.facing == CameraInfo.CAMERA_FACING_FRONT);
2014-05-17 16:03:16 586
原创 camera 创建流程
To take pictures with this class, use the following steps: Obtain an instance of Camera from open(int).Get existing (default) settings with getParameters().If necessary, modify the returned Camera.
2014-05-17 14:40:50 358
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人