Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void writeProvision (Context context, String provision){
- String path = context.getFilesDir().getAbsolutePath();
- File file = new File(path + "/provisionFile.txt");
- try {
- FileWriter out = new FileWriter(file);
- out.write(provision);
- out.close();
- } catch (IOException e) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement