Skip to content

Instantly share code, notes, and snippets.

@FrancescoJo
Created January 4, 2017 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrancescoJo/e5ce986104a07572549b85e74eef4f8d to your computer and use it in GitHub Desktop.
Save FrancescoJo/e5ce986104a07572549b85e74eef4f8d to your computer and use it in GitHub Desktop.
Android raw access via URI
String path = "android.resource://" + context.getPackageName() + "/" + R.raw.raw_resource_id;
Uri rawUri = Uri.parse(path);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment