I searched over the web during the last few weeks (seriously) but I can\'t find what I need. I just would like to start an intent corresponding to the set as
This solution worked for me with Uri:
Intent intent = new Intent(Intent.ACTION_ATTACH_DATA); intent.setDataAndType(contentUri, "image/*"); intent.putExtra("mimeType", "image/*"); intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); startActivity(Intent.createChooser( intent, "Set as:"));