Android: File listing of web server

后端 未结 2 1942
自闭症患者
自闭症患者 2020-12-20 09:40

I am trying to retrieve file listing from my (apache) http server via an android phone. Searched the web and forum without success. I was however able to do this in standard

相关标签:
2条回答
  • 2020-12-20 10:15

    ApacheURLLister is a pretty simple class with no special dependencies. You should have no problems copying it and use it directly in your code: https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/ApacheURLLister.java

    0 讨论(0)
  • 2020-12-20 10:27

    For Android Studio you can add Ivy on build.gradle file

    compile group: 'org.apache.ivy', name: 'ivy', version: '2.3.0'

    0 讨论(0)
提交回复
热议问题