After saving the image on the SD card
use this to perform another action.
final Intent intent = new Intent(MyClass.this, TargetClass.class); final String root = Environment.getExternalStorageDirectory().getAbsolutePath(); intent.setData(Uri.parse(root + "/my/image/path/image.png")); startActivity(intent);
if you are a receiver, you can get the path by calling
Uri path = getIntent().getData();
in onCreate receiving activity. This is the standard way to check the path with other actions.
source share