Guest User

Untitled

a guest
Dec 13th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. myExternalFile = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), fName);
  2.  
  3. FileOutputStream fos = new FileOutputStream(myExternalFile);
  4. fos.write(wifiInfo.getBytes());
  5. fos.close();
Add Comment
Please, Sign In to add comment