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!

96 questions
9
votes
1 answer

ContentObserver for listening contact changes

I really don't understand why content observer listens the changes which is not related with the contact info. I simply registered to the URI which I wanna listen the…
Coldfish
  • 348
  • 2
  • 16
7
votes
2 answers

Curl page from left to right android

So , I am using page curl by harism , https://github.com/harism/android_page_curl and have successfully implemented it for loading images via web streaming. But can't get it work when I flip back to the previous images or pages as the images are not…
Prateek
  • 3,664
  • 5
  • 35
  • 73
6
votes
4 answers

Retrieve images of particular folder in Android

In my application I created the GridView to show the image from particular folder. The issue is that I want to retrieve images from the DCIM/100ANDRO folder. Which type of arguments should be passed through query to retrieve such type of…
void
  • 449
  • 2
  • 11
  • 26
5
votes
2 answers

Passing database to another activity via intent

I am attempting to pass the contents of a database that I have created to another activity via intent using an AsyncTask where the contents of the database will be displayed. A query would be used to specify the data to be displayed using my query…
5
votes
1 answer

ContactsContract.CommonDataKinds.Phone.CONTENT_URI vs ContactsContract.Contacts.CONTENT_URI

In how to retrieve the list of contacts in android I see code that allows you to read contacts using either ContactsContract.CommonDataKinds.Phone.CONTENT_URI or ContactsContract.Contacts.CONTENT_URI. What is the difference between them? When can…
18446744073709551615
  • 14,600
  • 3
  • 82
  • 116
4
votes
1 answer

AQuery (Android Query) How to load images actually

I am currently using Android Query library for image loading from server. MAIN PROB: I want to store images first time and then after i want to load images from cache. I have seen here options for Cache Control using memCache and fileCache But i…
Pratik Butani
  • 51,868
  • 51
  • 228
  • 375
4
votes
1 answer

Android-Query - Random SSLExceptions

I'm using Android-Query to make HTTP calls, and I keep getting random SSLExceptions, like these: AQuery(7746): javax.net.ssl.SSLException: Read error: ssl=0x19d3c0: I/O error during system call, Connection reset by peer AQuery(7746): at…
Josh
  • 11,980
  • 9
  • 70
  • 116
3
votes
2 answers

Get full conversation with Android query

I would like to get all messages from one contact. I have the contact ID _id, so I've already do something like this : private void displayMessages() { ContentResolver cr = this.getContentResolver(); try { Cursor cursor =…
Couim
  • 695
  • 3
  • 12
  • 27
3
votes
1 answer

update android-query maven library dependency

Currently the latest version provided in google code is 0.26.7 https://code.google.com/p/android-query/downloads/list But the jar in maven repository is still in 0.25.9, which is more than a year…
JR Tan
  • 1,549
  • 4
  • 16
  • 34
3
votes
3 answers

Android Query ListView image loading

Ive included my listview adapter's code below all works fine except the image isnt loaded from the url. What might be the case. I'm using the Android Query library for loading images. public Onadapter(Context context,String[] id,String[]…
Niraj Adhikari
  • 1,560
  • 2
  • 12
  • 28
3
votes
1 answer

How to specify HTTP headers for async imageloading in AQuery (AndroidQuery)?

I need to specify a specific Referer for certain images on a remote host to successfully load. (For example, the referrer needs to be "http://www.example.com", otherwise the webserver will return HTTP 403) AQuery has a section on their wiki about…
NPike
  • 12,507
  • 11
  • 61
  • 80
2
votes
1 answer

When extracting URLs from browser history it shows Cannot resolve symbol 'BookmarkColumns'

I'm trying to extract URLs from browser history. I've found below code and try to implement it. But the problem is it gives error in BookmarkColumns, BOOKMARKS_URI, noicon. I tryed this in API levels 16,23,25. But the error dosent solve. It always…
E J Chathuranga
  • 827
  • 10
  • 23
2
votes
1 answer

Android Content Provider Query with multiple WHERE selection

I am using androids content provider Media.Store External Image to fetch image file path. I want to get file path of only those images who's _ID equals to either of :- 122234, 33245, 66782, 55782. So how do I frame my Cursor.query to achieve…
2
votes
1 answer

AQuery - Item position in listview is wrong

I wrote a custom ArrayAdapter to show my listview items. My items have many types. if the type is text then i show a TextView and if the type is Image or Video i show an ImageView (for video the thumbnail). This is the code. public class…
Saeed Entezari
  • 3,303
  • 1
  • 14
  • 35
2
votes
0 answers

The method of " queryintentactivities " it didn't work in Lollipop

The problem background: above code is working fine on previous versions of Android. I want to query the app which already installed in device. My code: public static List getHomes() { List names = new ArrayList(); …
1
2 3 4 5 6 7