Intent传递图片

来源:互联网 发布:js加密使用方法 编辑:程序博客网 时间:2024/06/01 09:23
ImageView driverphoto=(ImageView)view.findViewById(R.id.userphoto);
        driverphoto.setDrawingCacheEnabled(true);    
        driverphoto.buildDrawingCache();
                Bitmap bitmap = driverphoto.getDrawingCache();  
                byte buff[] = new byte[125*250]; 
                buff = Bitmap2Bytes(bitmap);
原创粉丝点击