protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
if (requestCode == 1)
{
if (resultCode == 20)
{
Bitmap cameraBitmap;

byte[] bytes = data.getExtras().getByteArray("bytes");
//这时得到    bytes  把它转换成  String  类型前,如何转码,也就是转换成自己想要的编码格式???
// String s= new String(bytes);
// new AlertDialog.Builder(this).setMessage("什么       "+s).create().show();

cameraBitmap = BitmapFactory.decodeByteArray(bytes, 0,
bytes.length);

  
在上面如果直接把  bytes   转变成  String  时会出现乱码???如何解决???