摘要:
ByteArrayOutputStream baos = new ByteArrayOutputStream();Bitmap bm = BitmapFactory.decodeFile(mFileNamePath);bm.compress(Bitmap.CompressFormat.JPEG, 100, baos);String photodata = new String(Base64.encode(baos.toByteArray(), Base64.DEFAULT));SoapObject request = new SoapObject(NAME_SPACE, METHOD_NAME 阅读全文