AndroidQuery

Related tags

UI/UX androidquery
Overview
Comments
  • Add pom.xml to enable Maven builds and release management

    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:

    <dependency>
        <groupId>com.googlecode.android-query</groupId>
        <artifactId>android-query</artifactId>
        <version>0.24.3</version>
    </dependency>
    

    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 https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide , 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.

    -Paul

    opened by brk3 7
  • Loading images in a ListView

    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?

    opened by sergicastellsague 3
  • Source code version

    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.

    Thanks

    opened by charafau 3
  • Use Checkable instead of CompoundButton

    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.

    http://developer.android.com/reference/android/widget/Checkable.html

    opened by pbreault 3
  • Exif rotation added

    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)

    opened by JorgeDC 3
  • Support for underscores in subdomains

    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.

    opened by JonathanNye 3
  • SSL Issues (Cloudflare Free SSL)

    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 http://stackoverflow.com/questions/1217141/self-signed-ssl-acceptance-android but no solution is working. How can we disable this check easily in the latest version of aQuery? Thanks.

    opened by The-Don-Himself 2
  • Download progress status?

    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(R.id.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.

    opened by SimonTank 2
  • no result when the server status code is not 200

    no result when the server status code is not 200

    Hello

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

    for example:

    <?php 
    
        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.

    opened by ghatasheh 2
  • [BUG] ah in AbstractAjaxCallback is overwrite and cleared by ah in AbstractAQuery

    [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 AbstractAjaxCallback.java
    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.

    opened by gebing 2
  • [BUG] Cache incomplete content when network error during httpDo

    [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.

    Suggestion:

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

    opened by gebing 2
  • Problems with RecyclerView image loading when scrolling with dpad

    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?

    opened by TheNetStriker 0
  • java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/entity/StringEntity;

    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 com.androidquery.AbstractAQuery.post(AbstractAQuery.java:2140) at com.rabbitshattt.linksafe.Activities.SiteLogin.SiteLogIn(SiteLogin.java:287) at com.rabbitshattt.linksafe.Activities.SiteLogin$4.onClick(SiteLogin.java:245) at android.view.View.performClick(View.java:6597) at android.view.View.performClickInternal(View.java:6574) at android.view.View.access$3100(View.java:778) at android.view.View$PerformClick.run(View.java:25885) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 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(BaseDexClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at com.androidquery.AbstractAQuery.post(AbstractAQuery.java:2140)  at com.rabbitshattt.linksafe.Activities.SiteLogin.SiteLogIn(SiteLogin.java:287)  at com.rabbitshattt.linksafe.Activities.SiteLogin$4.onClick(SiteLogin.java:245)  at android.view.View.performClick(View.java:6597)  at android.view.View.performClickInternal(View.java:6574)  at android.view.View.access$3100(View.java:778)  at android.view.View$PerformClick.run(View.java:25885)  at android.os.Handler.handleCallback(Handler.java:873)  at android.os.Handler.dispatchMessage(Handler.java:99)  at android.os.Looper.loop(Looper.java:193)  at android.app.ActivityThread.main(ActivityThread.java:6669)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)  Suppressed: java.io.IOException: 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(DexFile.java:354) at dalvik.system.DexFile.(DexFile.java:101) at dalvik.system.DexFile.(DexFile.java:75) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354) at dalvik.system.DexPathList.(DexPathList.java:164) at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:74) at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:65) at dalvik.system.PathClassLoader.(PathClassLoader.java:64) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:727) 2018-11-12 15:12:29.500 14762-14762/? E/AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:810) at android.app.LoadedApk.getResources(LoadedApk.java:1032) at android.app.ContextImpl.createAppContext(ContextImpl.java:2345) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5749) at android.app.ActivityThread.access$1100(ActivityThread.java:199) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650) at android.os.Handler.dispatchMessage(Handler.java:106) ... 5 more

    opened by dharmikghori 0
  • Stop working

    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

    Thanks.

    opened by dheerajIPHS 0
  • Aquery : network error -101 with https

    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?

    opened by PrabhakarVoonik 6
  • AQuery Library is not working in API 25(Android 7.1.1)

    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

    opened by kshitij-android 1
  • ViewRootImpl: ViewPostImeInputStage processPointer 0

    ViewRootImpl: ViewPostImeInputStage processPointer 0

    Hello, whenever I use the syntax

    aq.id(R.id.myButton).clicked(this, "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,

    P

    opened by Gob-Lin 2