Giter Site home page Giter Site logo

Comments (10)

amitshekhariitbhu avatar amitshekhariitbhu commented on April 28, 2024 1

I have uploaded the version 0.2.0 here ignore dev version and use this

com.amitshekhar.android:android-networking:0.2.0

Will upload the jar file by tomorrow.

from fast-android-networking.

hiteshrawat avatar hiteshrawat commented on April 28, 2024 1

Thanks Amit. Keep it up. Your AndroidNetworking library is very useful for beginners.

from fast-android-networking.

amitshekhariitbhu avatar amitshekhariitbhu commented on April 28, 2024

@hiteshrawat : Using getHeaders, do you want to get Headers returned from server?

from fast-android-networking.

hiteshrawat avatar hiteshrawat commented on April 28, 2024

Yes, I want to store cookies returned by server

from fast-android-networking.

amitshekhariitbhu avatar amitshekhariitbhu commented on April 28, 2024

In version 0.1.0 there is no way to access headers from server. I have added it in 0.2.0. which I am testing now. and going to release by tomorrow, For now you can use that version

'com.amitshekhar.android:android-networking:0.2.0-dev-0'

The sample code is :

AndroidNetworking.get(url)
                            .build()
                            .getAsOkHttpResponse(new OkHttpResponseListener() {
                                @Override
                                public void onResponse(Response response) {
                                    Log.d(TAG, "Headers :" + response.headers());
                                }

                                @Override
                                public void onError(ANError anError) {
                                    //handle error
                                }
                            });

from fast-android-networking.

hiteshrawat avatar hiteshrawat commented on April 28, 2024

thank you Amit. Please add download link for .jar library files also

from fast-android-networking.

amitshekhariitbhu avatar amitshekhariitbhu commented on April 28, 2024

I wanted to know why don't u use gradle or is there any benefit of using jar. (eclipse it is useful other wise)?

from fast-android-networking.

hiteshrawat avatar hiteshrawat commented on April 28, 2024

Mostly I use college wifi. I dont have network connection at home. So I use jar files[like jsoup.jar] and test apps on mobile's 3g connection.

from fast-android-networking.

amitshekhariitbhu avatar amitshekhariitbhu commented on April 28, 2024

Oh nice .

from fast-android-networking.

Reza-77 avatar Reza-77 commented on April 28, 2024

Thanks for comfortable lib. where is uploaded jar file ?

from fast-android-networking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.