Questions tagged [droidquery]

droidQuery is the Android port of jQuery.

droidQuery is an open source library that can be used to select and manipulate groups of Views (such as completing animations, attribute changes, etc), complete network requests, and perform other common tasks. droidQuery is designed to be syntactically similar to , (down to the $), and it is often mistaken for at first glance.

8 questions
1
vote
1 answer

Android Droid Query How To Recognize Pinching and Zooming

I have been using the droidQuery library, which is really great and easy to use. I have used it for custom gesture detection mostly so far. I have a swipeInterceptorView with a swipe listener for detecting swipes, but I also need to detect pinching…
superuser
  • 731
  • 10
  • 28
1
vote
1 answer

Android SwipeInterceptorView Using DroidQuery for A TextView

I am using the droidQuery library to add some gesture detection to my app. I was having trouble adding the SwipeInterceptorView in my xml file (see original question here, so I define it inside my onCreate method and give it the same parameters.…
superuser
  • 731
  • 10
  • 28
1
vote
0 answers

Why isn't this PropertyChangeListener working?

I am working on adding support for property observations for my open source library droidQuery, however the propertyChange method is not being called in my tests. What do I need to do to get this to work? Here is my code: ViewObserver.java package…
Phil
  • 35,852
  • 23
  • 123
  • 164
1
vote
2 answers

Android Swipe to change fragments not working

I am trying to make an app where a user can swipe and change which fragment they are seeing on the screen. I can not use view pager because I want the user to be able to swipe to different fragments forever. Here is the detector in my fragment: …
superuser
  • 731
  • 10
  • 28
1
vote
1 answer

What are the pros and cons of using HttpUriRequest vs. HttpURLConnection?

I have made several apps and libraries for Android that use HttpUriRequest to create network requests (for example, my droidQuery library), however I have been seeing some new libraries emerging (such as OkHttp, which is meant to be extraordinarily…
Phil
  • 35,852
  • 23
  • 123
  • 164
0
votes
0 answers

How to use an Eclipse Project as a library in Android Studio

I need to use https://github.com/phil-brown/droidQuery in a new android project. Unfortunately droidquery looks to be an eclipse project and I need to use it as a library in Android Studio. Can this be done?
AlexF11
  • 231
  • 1
  • 5
  • 20
0
votes
1 answer

Android droidQuery Swipe Length detection

I am using the droidQuery library to handle swipe events using the method $.with(myView).swipe(new Function(...)); (see my previous post here), and I was wondering if their is a way to expand upon the answer in order to check how long the user is…
superuser
  • 731
  • 10
  • 28
0
votes
1 answer

How do I manage a stack of previous SearchView searches and access them via the Up button?

I am working on a simple application that uses droidQuery to make network requests to fetch public stream data from a variety of websites. The requirements of the project include supporting API 8, and having an ActionBar. Instead of using…
Phil
  • 35,852
  • 23
  • 123
  • 164