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
2 answers

Is there a way to send multiple types of HashMap parameters through Ajax in Android Studio?

I'm a beginner at Android Studio and I'm using Ajax to send data to my database server. I have two types of HashMap parameters that I need to query. One is for all the String values in my form and the other is for the image file but I can't seem to…
Ayushi Pandey
  • 15
  • 1
  • 7
1
vote
1 answer

Storing an image in sdcar using Aquery - Android

I am trying to store an image from the net into my emulator's sdcard. However I get an expection more specifically a null object reference. W/AQuery: reporting:java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String…
Theo
  • 3,099
  • 12
  • 53
  • 94
1
vote
2 answers

AQuery does not load images in Android Studio

I'm trying to load images through a URL to my ListView through an adapter but AQuery doesn't seem to load the URLs to the ImageViews. I have tried doing this with Picasso Image Loader and it worked but I prefer AQuery and I need to resolve this…
Jay
  • 4,873
  • 7
  • 72
  • 137
1
vote
2 answers

parse the image from url

I am trying to parse image from server,and I am using a query, in my Logcat response is showing but image is not displaying! The following is my response of Json and snippet code. Can anyone help? [ { …
fazilpuriasa
  • 297
  • 3
  • 8
  • 19
1
vote
1 answer

Android aquery image loading both with placeholder and progressbar

I am trying to use aquery for image loading. Here is my layout:
yrazlik
  • 10,411
  • 33
  • 99
  • 165
1
vote
0 answers

Android: Bitmap doesn't get added to ArrayList

I create a Bitmap using Android Query like this: ArrayList bitmapArray = new ArrayList(); aq = new AQuery(HomeCategoryActivity.this); aq.ajax(currentUrl,Bitmap.class,0,new AjaxCallback(){ @Override public void…
1
vote
2 answers

How to get https string in Android(with AQuery)

I have a problem in android, this project get some before, but now the webapi turns http to https and it can't works, I have no idea how to fix it, private AQuery aq; aq = new AQuery(this); aq.ajax(url, String.class, new AjaxCallback()…
Louis
  • 123
  • 1
  • 3
  • 11
1
vote
1 answer

Aquery vs ButterKnife and Picasso

What is the difference between using Aquery and Using Butterknife for injection and Picasso for async image loading? Thanks
dowjones123
  • 3,695
  • 5
  • 40
  • 83
1
vote
1 answer

Android Query: Wrong Umlauts (HTML download)

i use android query to download the html from my site. aq.ajax(url, String.class, new AjaxCallback() { @Override public void callback(String url, String html, AjaxStatus status) { wvTest.loadDataWithBaseURL(null,…
Phillipp
  • 1,425
  • 2
  • 12
  • 27
1
vote
0 answers

Implement AndroidQuery for getting last version of my app on Google Play

I would like to check by code if the app installed on device is the last update. I've tried many things but does not work. Finally I've found this interensting API: https://code.google.com/p/android-query/wiki/Service. I'm trying to implement it but…
Carl
  • 111
  • 1
  • 12
1
vote
0 answers

AQuery 405 Method Not Allowed

When I use AsyncHttpClient to get response from my request URL(Using GET method), it works fine. Now I am trying to use AQuery library, and get 405 error. How can I deal with this problem? My code: public void queryAPI(String url, Map
Daryn
  • 770
  • 9
  • 19
1
vote
1 answer

Download image to Google Map Marker using Aquery

I am developing an Android application and have problem with downloading images to my map. In my application i am using Google Maps v2 and Aquery to download images. I want to show the related image when user clicks a marker on the map. This is the…
Barış Akkurt
  • 2,255
  • 3
  • 22
  • 37
1
vote
0 answers

Call to jquery function from external file

I Have a Jquery file ("Maestro.js") and a function: function SetDDLNumbers () { for (var i = 0; i < 51; i++) { $('#ContentPlaceHolder3_ShuttersCount').append(new Option(i, i)); …
shmulik hazan
  • 173
  • 2
  • 17
1
vote
7 answers

Android Query - detecting location

I am using Android Query to detect user's location. For some reason, when I try to retrieve my latitude and longitude, it shows my previous location which is a couple hundred meters away, as if it was cached. What could be the issue here? public…
chuckfinley
  • 2,577
  • 10
  • 32
  • 42
1
vote
2 answers

Getting network errror while fql query with androidquery

Im trying to do a FQL query in my android application with AQuery. In the first FQL Query i got the JSON just normal, but when i scroll my list to get more posts (calling another method using created_time comparisons ) i got a network error e aquery…
WitaloBenicio
  • 3,395
  • 5
  • 25
  • 32