pycharm安装后打不开,提示config path无效
发布网友
发布时间:2022-04-26 22:26
我来回答
共1个回答
热心网友
时间:2022-04-06 11:24
public void save(){
try {
FileOutputStream outStream=this.openFileOutput("a.txt",Context.MODE_WORLD_READABLE);
outStream.write(text.getText().toString().getBytes());
outStream.close();
Toast.makeText(MyActivity.this,"Saved",Toast.LENGTH_LONG).show();
} catch (FileNotFoundException e) {
return;
}