The method ajax() with the callback method name as String works properly when the apk is generated in debug mode, but it is never called if it is compiled in release mode (with Android Studio), probably due to some code optimization.
aq.ajax(url, JSONObject.class, this, "jsonCallback");
public void jsonCallback(String url, JSONObject json, AjaxStatus status){
// Never called in release apk
}