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
1
vote
1 answer

Android - AQuery get image on callback method

Hi I have a request URL (Google Places Request URL) and the response I get is a image. How can I get the image on callback function? Update AQuery aQuery = new AQuery(getApplicationContext()); String urlString =…
1
vote
1 answer

Android Query: grid display (images)

I would like to display a number of images in grid format, 2 images per line. How do i do this with Android Query? Existing examples are insufficient and lack proper documentation... activity_identify_animals.xml:
chuckfinley
  • 2,577
  • 10
  • 32
  • 42
1
vote
1 answer

Android JSON ajaxQuery with HTTP POST

How can I use this android ajax query to make a http post request with parameters? String url = "http://www.mysitecom/MyService.asmx/GetJson"; // I want to add an string parameter to this query and make it HTTP POST aq.ajax(url,…
Mario
  • 13,941
  • 20
  • 54
  • 110
1
vote
1 answer

androidquery AjaxStatus -103 error

I'm using AQuery to feed an AutocompleteTextView in my app from a web service. But I got AjaxStatus error -103. What means this status error ? Thanks in advance for your answer
Hasina
  • 335
  • 3
  • 13
1
vote
1 answer

Caching Zoomable Web Image

Aquery Zoomable Web Image In addition to ImageView, a WebView can be used to display an image along with Android build in zoom support for WebView. Image will be centered and fill the width or height of the webview depending on it's orientation. I…
rahstame
  • 2,148
  • 4
  • 23
  • 53
1
vote
0 answers

What is the correct way to handle the AQuery (android-query) download result?

Sorry if I missed something obvious, I tried really hard but didn't find any clue to answer my question. So, my task is to download several images using their URLs and store them in some folder. I tried different approaches but for several reasons I…
remarkov
  • 140
  • 1
  • 12
1
vote
1 answer

AQuery select image from gallery

I am using AQuery to load images taken by camera and displaying them in my activity in a image view. The problem is that when I try to do the same but instead of taking a picture, just select the image from my gallery, my image view appears to have…
Lunchbox
  • 1,538
  • 2
  • 16
  • 42
0
votes
0 answers

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…
M.Prabha karan
  • 697
  • 6
  • 17
0
votes
2 answers

How to parse Json data with object class from url using AQuery

This is my code and I am having error to parse data from object, what changes can be done so as to parse data... aQuery.ajax(fetch_url, JSONObject.class, new AjaxCallback(){ @Override public void callback(String url,…
Ayush Katuwal
  • 139
  • 1
  • 2
  • 11
0
votes
1 answer

AQuery to Retofit

I heard that Retrofit is more simple and useful. because AQuery was first made to download images so It isn't that good to do network with the server. I read the documents but I couldn't understand it. If I see an example, I think I can understand.…
dogyhbin2
  • 25
  • 6
0
votes
1 answer

AQuery JSONObject null

This is the full code of fragment which I am trying to use. I used AQuery to get the json. But I had a problem. The JsonObject,JsonObject... always gets null. I tried the url on "postman" and It returned the json I needed. The question is 1. I…
dogyhbin2
  • 25
  • 6
0
votes
1 answer

Save last data in AQuery (Callback)

Could you tell me how can i save my last Callback data ? I would like to use it offline . Thanks for reading Regards public void onClick(View v) { final Double waluta_from_wartosc = Double.valueOf(editText_waluty.getText().toString()); …
0
votes
2 answers

android how to set Error image using Aquery library

I have a custom Gridview. In my adapter asynchronous image downloading done using AQuery. images are downloaded properly but in some cases error will occur so that time imageView background goes totaly white.i want to set that error image. Now here…
0
votes
0 answers

Send image String in next activity and and load image using AQuery

Initially i was using bitmap to handle image event I can able to pass bitmap to activity and can load image also But when i was testing i found in some device bitmap crash What i have done -- For image selection and passing : private void…
tiger
  • 413
  • 1
  • 5
  • 18
0
votes
2 answers

listview recycling with difrent layout styles

i have a listview with difrent style items, a header style (black) with the date and a item stile for the items of that date. Now wen i scroll down the information is not in the right item. sometimes the title goes in the black bars and sometimes…
user3142817
  • 787
  • 2
  • 9
  • 15