随笔分类 -  android

摘要:http://www.tuicool.com/articles/f2y2Az 阅读全文
posted @ 2017-06-14 23:58 code666 阅读(110) 评论(0) 推荐(0)
摘要:final Button btn_gallery=(Button)findViewById(R.id.btn_gallery);btn_gallery.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View v){ Intent intentgallery=new ... 阅读全文
posted @ 2017-06-08 21:23 code666 阅读(2509) 评论(0) 推荐(0)
摘要:case TAKE_PICTURE: Intent openCameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); Uri imageUri = Uri.fromFile(new File(Environment.getExternal 阅读全文
posted @ 2017-06-08 09:08 code666 阅读(209) 评论(0) 推荐(0)
摘要:byte[] data=SocketClientUtil.receiveData(bytes); //,result Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length); bmp.compress(Bitmap.Compr 阅读全文
posted @ 2017-06-06 12:40 code666 阅读(1036) 评论(0) 推荐(0)