Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String filename = "kontaktebi123.vcf";
- FileOutputStream outputStream;
- try {
- outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
- PrintWriter osw = new PrintWriter(outputStream);
- ArrayList<String> nomrebi = numberGenerator(view);
- osw.printf("blablabla")
- osw.flush();
- osw.close();
- } catch (Exception e) {
- e.printStackTrace();
- }
- String fileDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath();
- String fileName = "kontaktebi123.vcf";
- File file = new File(fileDir + "/" + fileName);
Add Comment
Please, Sign In to add comment