as they are ... My problem is that I have an image, the application takes the photo, shows it in a Web service. Through this code:
private void tomarFoto() {
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE);
}
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) {
Bundle extras = data.getExtras();
Bitmap imageBitmap = (Bitmap) extras.get("data");
im5.setImageBitmap(imageBitmap);
}
}
But I want to decode or bitmap the image to send it to the database and reveal it using a Visual Studio form with C #.
I appreciate your help and I hope to help you soon.