Android: How to store cookies?

前端 未结 5 882
挽巷
挽巷 2020-12-02 10:06

In my Android app, each activity is filled with data from an xml file which is somewhere on the web. The website providing these files has a login mechanism, that works with

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 10:51

    LoopJ has a built in persistent cookie store that can be used with or without the loopj framework

    https://github.com/loopj/android-async-http/blob/master/library/src/main/java/com/loopj/android/http/PersistentCookieStore.java

提交回复
热议问题