Reputation: 1557
Although it seems like a simple problem, I have really come up empty on Google. I want to take a 3gp file on one device's SD card and transfer it over WIFI to another device. Really not sure how to do this, I would appreciate if someone could provide me some references or code snippets. Do I really have to do this at the FileOutputStream / socket level?
Upvotes: 1
Views: 339
Reputation: 420921
I don't know of any API for transferring files specific to Android which is not available in Java, so my best bet would be to google for an arbitrary Java-solution.
You may want to have a look at the NIO package and the FileChannel
. Specifically the transferTo
and transferFrom
methods.
Upvotes: 1