Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String FILENAME = "UserFile.txt";
- final String UserName = Enom + "_" + Eprenom;
- FileOutputStream fos;
- try {
- fos = openFileOutput(FILENAME,
- Context.MODE_WORLD_READABLE);
- OutputStreamWriter osw = new OutputStreamWriter(fos);
- osw.write(UserName);
- osw.flush();
- osw.close();
- } catch (FileNotFoundException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
Add Comment
Please, Sign In to add comment