开发者

i want to know how can we send and recieve files on android phone?

Can u people help me in getting java code to transfer files (FTP) over the LAN.Give me the complete code for this.

I wan that a FTP request to be send to the desired host and if the host accept the request then the browse menu be opened that allows the host to select the file to be transfered.Then by clicking on some button the FTP 开发者_开发百科operation should be completed. The ttransfered file should be saved in an appropriate folder on the client side.

i will be greately thankful to u people.


apache has a java library for FTP that should work on android.

http://commons.apache.org/net/


you need to add jar file commons net.jar and follow the Link http://androiddev.orkitra.com/?p=28. That will be sufficent.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜