I am trying to get the Uri from a raw file I have included in the project in the raw folder. But I am getting a FileNotFoundException,
Uri
raw
FileNotFoundException
Try this:
uri = Uri.parse( ContentResolver.SCHEME_ANDROID_RESOURCE + File.pathSeparator + File.separator + File.separator + context.getPackageName() + File.separator + R.raw.myrawname );