开发者

how can I download a file from a password protected folder in java

want to download a file from a online server and I don't want it to be acessible outside my application so I have protected the folder using the control panel , now I need to know how can I acccess and download that file in my java program ? Its an android app that downloads a database. My situation is that I have two databases, one for the free app and another for the paid version.And I dont want people downloading the paid version to the pc and using the开发者_运维问答m on the free version app.Is there another easy way ?


Please see the Apache HttpClient Examples, Client authentication. Android ships with these libraries by default.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜