Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myExternalFile = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), fName);
- FileOutputStream fos = new FileOutputStream(myExternalFile);
- fos.write(wifiInfo.getBytes());
- fos.close();
Add Comment
Please, Sign In to add comment