Questions tagged [aquery]

aquery or Android-Query is a light-weight library for doing asynchronous tasks and manipulating UI elements in Android. AQuery is an open source project which significantly reduces the amount of code needed to perform asynchronous tasks and manipulate the DOM. The tag can be used for questions related to Android development using aquery.

Wiki

AQuery stands for Android Query, which is a small though powerful library for doing asynchronous tasks and manipulating UI elements in Android. AQuery is an open source project that contains library files for Android developers that makes doing repetitive tasks easier.

Android Query simplifies attaching event handlers. Rather than building out an interface or anonymous class. When working with different screen sizes Android Query lets you side-step inspection of the visual tree to see which controls were actually created from the axml file before you attempt to manipulate them by using conditional chaining of methods.

Usage:

The tag can be used for programming related problems of android development using aquery technology. The tag should be avoided for basic android related problems.

Links:

Read more:

80 questions
13
votes
1 answer

Aquery ajax request seems not starting in android

I think the code that I build for getting data from the server in JSON is not starting. In the logcat there is no text from "log.v". Also, the code that I made seems not good with the try-catch all the time. I use A query for the ajax request. Have…
user3142817
  • 787
  • 2
  • 9
  • 15
6
votes
1 answer

Android File Upload set Content Type to Image

I am having below code to upload an image from Android to a web server. It works fine except that the received image is of Content Type Octet Stream and I need it to be Content Type Image. Any idea how I can set the content type? public void…
user3795839
  • 61
  • 1
  • 2
5
votes
5 answers

Running ProGuard having AQuery library

I'm trying to configure Proguard, but I can't manage to get it working. This is the error: I've tried things like: -keep class com.android.auth.TwitterHandle.** { *; } -keep class oauth.** { *; } Without any luck. Anyways, I don't really think…
Reinherd
  • 5,476
  • 7
  • 51
  • 88
4
votes
3 answers

Aquery Android Issue on Android 4.4 Kitkat

I a getting an issue due to Aquery library for lazy loading of images on Android 4.4 Kitkat only when scrolling through the GridView/ListView loading images with pagination. Following are the logs: 12-03 10:39:43.678: W/AQuery(6261):…
Nitin4Android
  • 864
  • 2
  • 12
  • 25
4
votes
1 answer

AQuery and Volley ImageLoader for caching images

I have already implemented AQuery throughout my app for image loading. I have not used Volley Image caching yet and wondered if I could also use it for image caching as well. For what purposes might Volley API be a better fit than AQuery?
TestBest
  • 915
  • 5
  • 12
  • 22
3
votes
2 answers

Load Btimap of Video thumbnails from sdcard

I am developing a module in which I need to show all the video from phone in form of video thumbnails. I have taken BaseAdapter to show all video thumbnails into GridView. The only problem is that I had to write the code extract thumbnail from video…
Name is Nilay
  • 2,743
  • 4
  • 35
  • 77
3
votes
2 answers

Cannot get JsonObject value using Aquery in Android

Using this approach https://code.google.com/p/android-query/wiki/AsyncAPI ,I made this code for getting json data from api, but getting null, why? Is something wrong with this code or method is wrong? // get code public static void…
B B
  • 63
  • 6
3
votes
2 answers

Android query network error -101

I'm developing Android application, where tries to obtain remote JSON file using aquery. Target Version is Android 4.3 (api ver. 18). Before I was trying to get JSON using tumblr API, but I thought that maybe I'm constructing url wrong way, so I…
shtas
  • 499
  • 2
  • 17
3
votes
1 answer

Aquery image progressbar cant hide

i was trying image load in a listadapter using android query library, My problem is progress is showing but not disapearing after image load completely I followed aquery documentation see this String imageUrl =…
Kishor datta gupta
  • 1,103
  • 2
  • 14
  • 42
2
votes
2 answers

Android: download bunch of images from server

I'm developing quiz app. All questions are in server side. When user selects the category of quiz server returns the json file with questions, answer variants and image urls. For example in one category I have 10 questions and 4 questions of them…
sj_8
  • 173
  • 1
  • 16
2
votes
1 answer

How to set the maximum number of network connections in Retrofit

I was going through some AQuery code here and found there's a way to modify the number of network connections in AQuery. Is there a way of doing this in retrofit, and what are the default values for retrofit? /* Settings of Image */ //set the max…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
2
votes
0 answers

Aquery load image from file with rounded corners

I am trying to load an image from file in an ImageView using Aquery. As mentioned in docs, I can load image from url with rounded corners by applying ImageOptions. But there is no method in which I can pass both file and ImageOptions. Hence, I am…
berserk
  • 2,690
  • 3
  • 32
  • 63
2
votes
0 answers

AQuery - use cache when offline?

I'm using AQuery and referencing with this page: https://code.google.com/p/android-query/wiki/AsyncAPI Is there a way that when the device is offline, an ajax call can use the cached data, but still let that expire when the device gets back online?…
Devin Rodriguez
  • 1,144
  • 1
  • 13
  • 30
2
votes
2 answers

Loading Image into a Webview using aquery results in NullPointerEx

I'm using Android Studio. AQ version : compile group: 'com.googlecode.android-query', name: 'android-query', version: '0.25.9' I used the same technique in an eclipse project few months ago and it worked:(. In fragment's onActivityCreated: aq =…
malinjir
  • 1,475
  • 2
  • 12
  • 17
2
votes
2 answers

Android AQuery for Image Loading

Currently i m using Android AQuery and displaying it and its working fine. but i m having an issue that if image that is returned from Web server is not of same size as that of image container then it does not fit to the container. I have used the…
Usman Kurd
  • 7,212
  • 7
  • 57
  • 86
1
2 3 4 5 6