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
0
votes
1 answer

Aquery some images are BLANk

I am using Aquery for a slider menu. Some images in the slider become Blank images. It occurs randomly. The images are selected from server and there is not any problem for any of the images as same images are sometimes showing and sometimes is…
Pratheesh
  • 764
  • 1
  • 11
  • 24
0
votes
2 answers

Android FilePicker dialog only working for some devices

I'm using the regular boiler-plate code for showing the File Picker dialog on android. After I get a file path, I'm uploading that file to my server using aQuery. However, the code is only working on my old samsung phone that runs on Android 4.1.2…
Harsh Nigam
  • 152
  • 3
  • 13
0
votes
1 answer

AQuery AJAX caching

How to get Android AQuery to download data from the Internet, if possible, otherwise - from the cache ??? My code: final GetFeedsAjaxCallback ac = new GetFeedsAjaxCallback(...); aq.ajax(feed, XmlDom.class, -1, ac); My code does not work if there is…
Prostoplus
  • 97
  • 1
  • 9
0
votes
1 answer

Setting up 'Image Caching' in Android

I have used AQuery to set up Image Loading via URL to set images to my ListView's ImageViews. However, the images are refreshed and reloaded every time I scroll by the images. Basically if I see the image once and then I scroll down and then if I…
Jay
  • 4,873
  • 7
  • 72
  • 137
0
votes
1 answer

AQuery load image with progress in percent on progressbar

I'm trying to load images from website with aquery and show loading progress in percent on progressbar. Documentation says, that it is possible with this sample code aq.id(R.id.image).progress(R.id.progress).image(imageUrl, true, true); This code…
ibogolyubskiy
  • 2,271
  • 3
  • 26
  • 52
0
votes
2 answers

Using AQuery with Android

I need to use AQuery in my Android project, in order to do asynchronous calls to the server. I just want to call the server and when it will give me data, I'll update my view with these data. So, I wrote the asynchronous call inside an AsyncTask.…
A M
  • 831
  • 1
  • 14
  • 26
0
votes
0 answers

Android query can't store class variable from JSON object callback

I can't write class variable from AJAX-JSON callback. It show right info inside callback but when a Query callback finishes, it is set to null. Why? This is code: public void asyncJson() { String url = "myurl"; aq.ajax(url,…
Cooper
  • 5
  • 1
  • 4
0
votes
1 answer

How to use header and parameter in AQuery and get json data in android

I am Fresh in Android query,so using AndroidQuery,with header parameter here now, but another url,other post parameter is necessary. Can not execute next callback method here, public static String getcodeJsonString(Context context2) { aQuery =…
Bixms
  • 771
  • 1
  • 7
  • 16
0
votes
1 answer

Using aquery how to resize image?

I am getting image and its detail from server,and I display this thing in listview but view of list is totally look bad,so I want to resize image,I used Aquery to get image from server,following is my code.. public class CustomAdapterTabone…
user4767117
0
votes
1 answer

Send Query parameter value containing equals(=) character

I am working on a simple http based application for android. I have login.php at a server and i am sending requests to it with the following values. Uri.Builder loginUri…
nmvictor
  • 1,109
  • 1
  • 15
  • 30
0
votes
1 answer

Call web service at splash using Aquery in android

I am using AQuery to call webservice for a couple of features in my app. For both cases, the AQuery uses two separate json files from server. Now how do I call both web services when splash screen is loading (given that internet is available)? Or do…
SagePawan
  • 364
  • 2
  • 21
0
votes
1 answer

aquery ajax callback 'method not allowed'

I just tried to do AsyncTask with aquery. I have been successfully using AsyncTask aquery on some features in my application. But when I try to display data on listfragment error appears. Error that arises is 'method not allowed' This is my script: …
Fahmi Sidik
  • 189
  • 5
  • 13
0
votes
1 answer

Download Files By Using AQuery Library

I Am Ussuing AQuery And Tring To Use This Library To Dowbload Files but i dont understand how to use it. Thats Sample Code , But I Don't Understand It. aq.download(String url, File target, Object handler, String callback) How To Derfine "Object…
Hossein Kurd
  • 3,184
  • 3
  • 41
  • 71
0
votes
1 answer

Publish progress using aquery

I need to show the file downloading progress using AQuery, is there any way showing the % of the file download instead of just showing a plain progress dialog (aq.progress(new ProrgressDialog(mContext)...))
Abdul Samad
  • 526
  • 5
  • 13
0
votes
2 answers

AQuery upload image from local device to server

I would like to do that using https://code.google.com/p/android-query/wiki/AsyncAPI Does this library have support for this purpose? I'm a newbie in Android & Java and is hard to understand the api yet.
George I.
  • 560
  • 2
  • 7
  • 26