Questions tagged [android-query]

Android-Query (AQuery) is a light-weight library for doing asynchronous tasks and manipulating UI elements in Android.

The goal of Android-Query (AQuery) is to make Android coding simpler, easier, and more fun!

99 questions
1
vote
1 answer

AndroidQuery ajax doesn't call php page when page contains IFRAME

I tried the following code to access my PHP page: String url = "http://mypage.example.com/test.php?name="+data; aq.ajax(url, String.class, new AjaxCallback() { @Override public void callback(String url, String html, AjaxStatus…
Nestor
  • 8,194
  • 7
  • 77
  • 156
1
vote
1 answer

AQuery POST request

AjaxCallback cb = new AjaxCallback(); cb.weakHandler(this, callback).url(soapUrl).type(XmlDom.class) .header("CustomHeader", "Custom_header_string") .header("Content-Type",…
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
1
vote
2 answers

How to wait androidquery ajax finish

My problem is, this method is returning the list before the ajax fill that. How can I wait for the ajax response, before return the list? GEOCODER: public List
getAddresses(String address) { List
addresses =…
Bruno Pinto
  • 2,013
  • 3
  • 23
  • 33
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
4 answers

How to abort ajax query in android-query?

I'm trying to implement search autocompletion with android-query library I have callback instance in my activity: Callback: class SearchCompleteCallback extends AjaxCallback { public void callback(String url, ItemSearchResult…
Makc
  • 297
  • 2
  • 16
1
vote
0 answers

Android - Query MediaStore with known (potentially incorrect) filepath?

I'm trying to include a folder browser element in my app, which upon clicking an audio file, locates that file in the MediaStore and returns it's _ID. One of the issues I'm having is that for some devices, it seems the absolute file path works fine,…
Tim Malseed
  • 6,003
  • 6
  • 48
  • 66
1
vote
1 answer

How to identify when an Android-query callback failed?

I'm working with an http-based API and want to know when I encounter any errors. I'm using Android-Query (stub): AjaxCallback cb = new AjaxCallback() { @Override public void callback(String url, JSONObject…
asafge
  • 1,139
  • 1
  • 14
  • 21
1
vote
1 answer

Android-Query(AQuery) is used for SQLite Databse?

I want to fetch data from my sqlite database using AQuery. But I don't have any idea about that. So, Is it possible to fetch data from database using AQuery?? If yes, then How ?
Solution
  • 604
  • 4
  • 10
1
vote
2 answers

query method in SQLiteDatabase

I want to know how to use query method that have where clause with like property. basically what i want is to select all the columns WHERE C_NAME column is LIKE keyWord. I've tried this, but it doesn't work: cursor = db.query(TABLE, null, C_NAME,…
Saf
  • 227
  • 3
  • 11
1
vote
1 answer

Two async calls in getview(), am I doing this right?

So, I have a custom GalleryAdapter where I stream images from web with the help of an Async ImageLoading Library via ajax calls (lib name is Aquery). With the images those I stream from web, I have a corresponding audio track also, with every image…
Prateek
  • 3,923
  • 6
  • 41
  • 79
1
vote
1 answer

cannot import widget.CalendarView in Android

Please help, I'm working on CalendarView but my project cannot import this widget in source code(via intelisense or type manually). What would I need to do? My project is base on android 2.2 and above.
Jongz Puangput
  • 5,527
  • 10
  • 58
  • 96
1
vote
0 answers

Multiple embedded operators ((a AND b) OR (c AND not b)) in Android query

I'm trying to perform a query in Android using: return query(selection, null, null, null), but cannot return the needed results when using multiple operators and parentheses. This is what I'm trying to do: selection = "(KEY_VARIABLE > '5' AND…
Shawn Gee
  • 551
  • 1
  • 4
  • 4
1
vote
1 answer

Using AQuery (or other) to clone RelativeView

From what I've seen, AQuery is pretty much a jQuery for Android programming in Java. I'm a web programmer, so I'm used to jQuery, which is easy to use, so I want to do the same to manipulate the layout of my app. My question: is there an easy way…
Eduard Luca
  • 6,514
  • 16
  • 85
  • 137
1
vote
1 answer

AQuery shouldDelay and scroll listener

I have a ListView in which, as the question suggests, I am loading images with a delay. The problem is that this method is overriding my custom onScrollListener. I tried using: aq.id(listview).scrolled(new…
Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
0
votes
0 answers

query related to installing androidapp 2times

I developed an application , which consist of 2 working modes , Initially 2 modes are disabled . And iam enabling those 2 modes during app working condition(i.e by applying each checkbox to each mode). Now i have a requirement that needs 2 apps each…
Aam3r4
  • 1
  • 1