I have the following:
A very long URL of where the image is located (on the internet)
String imageAddress = data.getExtras().get("imageHTTP").toString();
The returns fine and there is an image ending with .jpg
The next part is where I'm having problems. Basically I've got a crop intent that accepts Uri's but the following doesn't work:
Uri imageUri = Uri.parse(imageAddress);
Intent intent = new Intent(this, com.android.camera.CropImage.class);
intent.setData(uri);
intent.putExtra("return-data", true);
startActivityForResult(intent, CROP);
Any ideas?
Following error code:
got exception decoding bitmap
java.lang.NullPointerException
at com.android.camera.Util.makeInputStream(Util.java:337)