How to create a new file at a server location using android studio? I tried,
new File(new URI("file:///xx.xx.xx.xx/input.lock")).createNewFile();