使用 Android 在服务器位置创建一个新文件

问题描述

如何使用 android studio 在服务器位置创建一个文件? 我试过了,

new File(new URI("file:///xx.xx.xx.xx/input.lock")).createNewFile();

File path="https://xx.xx.xx.xx/";
File file=new File(path,"input.lock");

没有工作。 任何帮助表示赞赏。 提前致谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)