I found the answer myself:
Intent intent = new Intent(Intent.ACTION_ATTACH_DATA); intent.setDataAndType(imageUri, "image/*"); intent.putExtra("jpg", "image/*"); startActivityForResult(Intent.createChooser(intent, getString(R.string.set_as)), REQUEST_ID_SET_AS_WALLPAPER);
You just need to make sure that uri is publicly available and will be accessible using the crop application selected by the user.
Kalvn source share