Last active
January 7, 2017 15:15
-
-
Save Krita3/36deebc1996f5daf507499648219d196 to your computer and use it in GitHub Desktop.
Kit-Lab_Android: FileProvider URI Old Sample @20170107
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
// 仮に .../files/directory_name/hoge.txt を共有する場合 | |
String shareFilePath = getFilesDir() + "/hoge.txt"; | |
File shareFile = new File(shareFilePath); | |
Uri shareUri = Uri.fromFile(shareFile); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment