What do you want to save?
Add Code snippet
New code examples
-
-
Javascript 2021-10-24 15:14:09
how to create json file in android programmatically
public void save(Context context, String jsonString) throws IOException { File rootFolder = context.getExternalFilesDir(null); File jsonFile = new File(rootFolder, "file.json"); FileWriter writer = new FileWriter(jsonFile); writer.write(... Add solution -
Best helpers
Ranking is empty