Last update: Jun 14, 2022
  • 1. Add pom.xml to enable Maven builds and release management

    Hi, so this should hopefully be all ready now. With the pom.xml in place you can begin to build using maven or continue to use Ant.

    Users can add android-query to their maven enabled projects with:


    I'd recommend you add this info to the googlecode page.

    In regards to future releases, if you would be interested in doing them you would need to create a Sonatype JIRA account as outlined at , and then let me know so I can request your account gets added to the list of users authorised to stage/promote releases.

    If you're not too bothered with learning the ins and outs of Maven right now (I wouldn't blame you!), I can continue to help out by pushing up releases whenever they're ready.

    Any questions just let me know.


    Reviewed by brk3 at 2013-03-14 21:28
  • 2. Loading images in a ListView

    I'm having an issue:

    When I scroll fast a listView with images, as recycle occurs, images are displayed on the wrong item.

    Any tips about how to fix this?

    Reviewed by sergicastellsague at 2014-03-21 12:29
  • 3. Source code version

    On google code site, in download section the newest version is 0.26.8, but in source code there's still 0.25.9.

    Don't know what kind of version is in sonatype repository and / or maven central but version should be fixed.


    Reviewed by charafau at 2014-02-25 02:01
  • 4. Use Checkable instead of CompoundButton

    AbstractAQuery#checked(boolean) and AbstractAQuery#isChecked() now operate on the Checkable interface and not on the CompoundButton class.

    This allows the method to work with CheckedTextView, RadioButton, Switch and every other class implementing the Checkable interface.

    Reviewed by pbreault at 2013-03-03 15:05
  • 5. Exif rotation added

    Some photos have exif information with them. This feature takes into account the information and rotates the image. I als added an example in the demo (exif)

    Reviewed by JorgeDC at 2013-02-21 13:34
  • 6. Support for underscores in subdomains

    Exactly what it says on the tin. The Uri class used by certain flavors of HttpClient.execute() won't instantiate if there's an underscore in the URL. Yes, this is conforms to the specification, but underscores are still out in the wild.

    Reviewed by JonathanNye at 2012-07-24 20:15
  • 7. SSL Issues (Cloudflare Free SSL)

    All my images show up blank. After much investigating, I realised the issue is the free cloudflare ssl. Since I am only using aQuery to load images, I do not mind completely disabling SSL validation checks but methods to do this vary greatly from tutorial to tutorial and from every stackoverflow question to another. It seems SocketFactory is depreciated, I found this link but no solution is working. How can we disable this check easily in the latest version of aQuery? Thanks.

    Reviewed by The-Don-Himself at 2015-04-23 22:44
  • 8. Download progress status?

    Hi, is it possible to get the status of a download as a float? or int between 0 and 100?

    Didnt found any way... and .progress( just hides the progressbar after loading... no percentage... please help.

    Edit: I don't want to have a Dialog, i just want to show the user, that ist 12% at the moment.

    Reviewed by SimonTank at 2014-03-04 21:55
  • 9. no result when the server status code is not 200


    When the server send status code other than 200, the body always null!

    for example:

        header("HTTP/1.1 433 OK");
        $response = array();
        $response['key'] = 'value';
        echo json_encode($response);

    In AQuery, this will show status code 433 but the body is null!

    Could you please help in this?

    Thank you.

    Reviewed by ghatasheh at 2013-11-26 15:13
  • 10. [BUG] ah in AbstractAjaxCallback is overwrite and cleared by ah in AbstractAQuery

    What steps will reproduce the problem?

    1. Just run AjaxAuthActivity in demo project
    2. Debug output ah in networkWork() of
    3. You will see ah is null and is not set by cb.auth(this, AQuery.AUTH_PICASA, AQuery.ACTIVE_ACCOUNT);

    What is the expected output? What do you see instead? Expect ah is not null, but ah is null

    What version of the product are you using? On what operating system Release 0.25.8

    Please provide any additional information below. AbstractAjaxCallback 's ah is set to AbstractAQuery's ah in AbstractAQuery's invoke() function.

    Reviewed by gebing at 2013-05-09 08:04
  • 11. [BUG] Cache incomplete content when network error during httpDo

    1. Make a ajax call which generating file cache, eg. aq.ajax(url, File.class, cb);
    2. If there is network error during AbstractAjaxCallback#copy(InputStream is, OutputStream os, String encoding, int max), there will generate a cached file with incomplete content.
    3. Make another ajax call with same url and cache, eg. aq.ajax(url, File.class, expire, cb), AQuery will return success with incomplete content file.


    in function AbstractAjaxCallback#copy, there shuold catch exception and remove incomplete cache file

    Reviewed by gebing at 2013-05-09 08:04
  • 12. Problems with RecyclerView image loading when scrolling with dpad

    I'm using androidquery to async load images from an http server. This works perfectly with the generic Android ListView. But now I switched to the new RecyclerView and now I'm getting some problems when scrolling with the dpad.

    When I'm scrolling down with a dpad (e.g. on an Android Tv) and androidquery is loading an image via http the focus jumps to the top of the RecyclerView for some reason. This repeats every time a new image is loaded from the server, so I can only scroll the list very slowly. Also this doesn't happen when the images are loaded from the cache.

    Any ideas what could cause this problem?

    Reviewed by TheNetStriker at 2019-08-24 12:34
  • 13. java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/entity/StringEntity;

    Aquery working well in lower android version than pie ,but below error is getting while calling in android Pie - 9.

    I'm using latest aquery library android-query-full.0.26.8.jar

    Please help me to resolve these error.

    2018-11-12 15:12:29.499 14762-14762/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.rabbitshattt.linksafe, PID: 14762 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/entity/StringEntity; at at com.rabbitshattt.linksafe.Activities.SiteLogin.SiteLogIn( at com.rabbitshattt.linksafe.Activities.SiteLogin$4.onClick( at android.view.View.performClick( at android.view.View.performClickInternal( at android.view.View.access$3100( at android.view.View$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.entity.StringEntity" on path: DexPathList[[zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/base.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_dependencies_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_resources_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_0_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_1_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_2_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_3_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_4_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_5_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_6_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_7_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_8_apk.apk", zip file "/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/lib/x86, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at  at com.rabbitshattt.linksafe.Activities.SiteLogin.SiteLogIn(  at com.rabbitshattt.linksafe.Activities.SiteLogin$4.onClick(  at android.view.View.performClick(  at android.view.View.performClickInternal(  at android.view.View.access$3100(  at android.view.View$  at android.os.Handler.handleCallback(  at android.os.Handler.dispatchMessage(  at android.os.Looper.loop(  at  at java.lang.reflect.Method.invoke(Native Method)  at$  at  Suppressed: No original dex files found for dex location /data/app/com.rabbitshattt.linksafe-DIjpF4f6NzwdnuhmMoGsvw==/split_lib_resources_apk.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile( at dalvik.system.DexFile.( at dalvik.system.DexFile.( at dalvik.system.DexPathList.loadDexFile( at dalvik.system.DexPathList.makeDexElements( at dalvik.system.DexPathList.( at dalvik.system.BaseDexClassLoader.( at dalvik.system.BaseDexClassLoader.( at dalvik.system.PathClassLoader.( at at at at at 2018-11-12 15:12:29.500 14762-14762/? E/AndroidRuntime: at at at at at$1100( at$H.handleMessage( at android.os.Handler.dispatchMessage( ... 5 more

    Reviewed by dharmikghori at 2018-11-12 09:52
  • 14. Stop working

    Hello There,

    I've implemented the code in one of my project that is live and working find

    But from few days, Image is not loading yet in the live app which is fully tested.

    Please let me know the cause why this happing, and how to solve this


    Reviewed by dheerajIPHS at 2018-09-20 05:35
  • 15. Aquery : network error -101 with https

    Android Aquery is giving Ajaxstatus code as -101 with the message 'network error' while making a https request in some particular version of devices(below 7.0). With http it's working fine in all versions. With https it's not working the device versions below 7.0.

    Any working solutions?

    Reviewed by PrabhakarVoonik at 2018-02-27 15:24
  • 16. AQuery Library is not working in API 25(Android 7.1.1)

    I used this library to Hit API's, it's working on all other version but not working in version 7.1.1.

    Is there any dependency problem or permission problem for the latest version of Android. Please help me out

    Reviewed by kshitij-android at 2017-05-31 03:57
  • 17. ViewRootImpl: ViewPostImeInputStage processPointer 0

    Hello, whenever I use the syntax, "onButtonClicked");

    coupled with

    private void onButtonClicked(View view) { Log.d("TAB1", "click"); }

    the action is never trigged and I get instead a message of

    ViewRootImpl: ViewPostImeInputStage processPointer 0

    on tap and and a message of

    ViewRootImpl: ViewPostImeInputStage processPointer 1

    on release.

    This code used to work perfectly before, but now it doesn't anymore.

    Any idea? Thank you,


    Reviewed by Gob-Lin at 2017-04-27 09:51
Related tags