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

AQuery: How to download images in non-sequential manner without any reference to imageView in the aQuery call

Question 1: Is it possible to download image file without giving the reference to ImageView? Question 2: Can i download each file in a separage instance of aQuery or do i have to download the file sequentially? e.g, waiting for the callback of…
Abdul Samad
  • 526
  • 5
  • 13
0
votes
2 answers

Add ImageView with AQUERY to ListView

i have a working listview with text and want now to add an image with AQuery. I've changed the XML and added the ImageView element and now want to add load the image by AQuery Till now i used a SpecialAdapter for the TextViews, but i'm struggling…
Alex S.
  • 156
  • 2
  • 11
0
votes
2 answers

GridView not showing images on the first time

I have a GridView that im using to build a gallery, but im having this problem that the images are not been showing on the first time i call the Gallery Activity, but if i press BackButton and then open again the Activity, the gridview show the…
WitaloBenicio
  • 3,395
  • 5
  • 25
  • 32
0
votes
1 answer

AQuery (Android Query) Data from the cache wrong encoding

I use to get data AQuery, source encoding windows-1251 at the first show everything is fine, but after the data is retrieved from the cache, do not I get the correct encoding. I do String url = "http://example.com/"; long expire = 15 * 60 *…
cjp2600
  • 31
  • 1
  • 6
0
votes
2 answers

Android Aquery - I want use drawable in local

During the course of the project, I experience a memory leak was So the solution was to select AQuery. aq.id.image can't use R.drawable How can I use drawable image for Aquery? AQuery aq = new…
0
votes
1 answer

Using Aquery: cannot generate texture from bitmap

I am getting a error, "cannot generate texture from bitmap" when trying to populate a listview with images. I am using aquery to download, caching and retrieving them. I have an ArrayAdapter, and a serie of "News" objects, wich have, title, text and…
alvaropgl
  • 830
  • 8
  • 19
0
votes
1 answer

ExpandableListView with Multie View Types Crashing On Scroll etc

For some reason my expandableListView is crashing on Scroll or rotation change. I have two View Types for this activity Code: @Override public int getGroupType(int groupPosition){ return comments.get(groupPosition).is_load_more; …
arberb
  • 960
  • 3
  • 14
  • 25
0
votes
0 answers

GetView method from ArrayAdapter getting called onScroll up and down

I have a Custom ArrayAdapter that has a getview method, the thing is that method is being called for different views if i scroll down and up, and this make this views load again (e.g. downloading an image). In my ListActivity class, i only call…
WitaloBenicio
  • 3,395
  • 5
  • 25
  • 32
0
votes
1 answer

image bitmap shows only first item in viewpager

I have ViewPager which in I adding some views programmatically. Each page has imageview and textviews. All textviews setted fine but image display only one, I mean there is only one image only in first item of viewPager, the rest doesn't show…
pmb
  • 2,327
  • 3
  • 30
  • 47
0
votes
1 answer

Android AsyncAPI ahax query with custom http headers

How can I add this http header contentType: "application/json; charset=utf-8" to this ajax query? public void asyncJson(){ //perform a Google search in just a few lines of code String url = "http://www.mysite.com/Services/GetJson"; …
Mario
  • 13,941
  • 20
  • 54
  • 110
0
votes
1 answer

null pointer exception in AQuery (Android query) function

In my code I used AQUery library to load image from web but it is showing null pointer exception at "aq.id(R.id.img);" in my code ...in class i created globle object of AQuery class and i define function inside inner class methode.....null pointer…
bhavdip
  • 189
  • 5
  • 20
0
votes
1 answer

Android Query Image don't display

AQuery used Image don't display I'm use progressbar and AQuery Image Data does not come out, but turns progress. ==== code ==== ArrayList arrData in data public View getView(int position, View convertView, ViewGroup parent) { …
노종협
  • 1
  • 1
0
votes
1 answer

aquery post with no hashmap like in Qt

I am porting an app from BB10 to android. For an http request I am using AQuery. In Qt on BB10, I can simply post data: QByteArray data = "test"; QNetworkRequest request; request.setUrl(new QUrl("example.com")); QNetworkAccessManager manager = new…
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
0
votes
2 answers

AQuery JSonobject AjaxStatus Error

Android Code strUID = ((AQuery)aq.id(R.id.login_id)).getText().toString(); strPW = ((AQuery)aq.id(R.id.login_password)).getText().toString(); HashMap localHashMap = new HashMap(); localHashMap.put("userid", strUID); …
노종협
  • 1
  • 1
0
votes
1 answer

ProgressDialog is not showing

I am using the AndroidQuery's way of handling images in saving then to sd card. But the dialog is not showing for some reason. The images are properly saved in sd card, only the dialog is the problem.
rahstame
  • 2,148
  • 4
  • 23
  • 53