I\'m not getting Path from image or video from uri that I receive from whatsApp.
Uri comes like this: content://com.whatsapp.provider.media/item/16695
Media
You can't get a path to file from WhatsApp. They don't expose it now. The only thing you can get is InputStream:
InputStream
InputStream is = getContentResolver().openInputStream(Uri.parse("content://com.whatsapp.provider.media/item/16695"));
Using is you can show a picture from WhatsApp in your app.
is