As shown below:
public static void stringTxt(String str){ try { FileWriter fw = new FileWriter("/sdcard/aaa" + "/");//Path in SD card (); (str); (); } catch (Exception e) { (); } }
The above method of saving String as a TXT file in an SD card on Android is all the content I share with you. I hope you can give you a reference and I hope you can support me more.