pcatzj
V2EX  ›  Android

android async-http-client 下载文件时怎么指定路径啊,难道一定要我自己拷贝的目的地址吗?

  •  
  •   pcatzj · Dec 17, 2015 · 12640 views
    This topic created in 3871 days ago, the information mentioned may be changed or developed.
    以前没用过这个框架, afinal 下载文件失败,原因还不知,然后这个工具不知道怎么指定路径,求告知!
    TJT
        1
    TJT  
       Dec 18, 2015 via Android
    HttpClient.get(String url, new FileAsyncHttpResponseHandler(File destinationFile))

    官方文档有
    pcatzj
        2
    pcatzj  
    OP
       Dec 18, 2015
    @TJT 谢谢,昨天已经辗转找到其官方文档,解决了这个问题,感谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1287 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:19 · PVG 01:19 · LAX 10:19 · JFK 13:19
    ♥ Do have faith in what you're doing.