Created
January 4, 2017 03:14
-
-
Save FrancescoJo/e5ce986104a07572549b85e74eef4f8d to your computer and use it in GitHub Desktop.
Android raw access via URI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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