/ Published in: Java
Just do ti!
Expand |
Embed | Plain Text
fileselector.setName("Export xml file"); fileselector.showSaveDialog(context); if (selectedFile != null) { if (!selectedFile.exists()) { try { selectedFile.createNewFile(); "Ooops , I not can create the file [" + selectedFile.toString() + "]"); } } FileWriter writer; try { writer.write(xml); writer.close(); "Somethink a going wrong wit h IO process"); } } } });
You need to login to post a comment.
