-
Notifications
You must be signed in to change notification settings - Fork 25
Known extensions
Phil Brown edited this page Jul 13, 2013
·
3 revisions
This document provides links to known droidQuery extension libraries. If you have worked on a droidQuery extension project, or know of any that are not in this list, please let me know!
Progress Indicator extension. Can be used to easily create and show/hide a progress bar or spinner. For example:
final Progress progress = (Progress) $.with(this).ext("progress", new ProgressOptions().indeterminate(true));
$.ajaxStart(new Function() {
public void invoke(Object... args) {
progress.start();
}
});
$.ajaxStop(new Function() {
public void invoke(Object... args) {
progress.stop();
}
});
Mail extension. Can be used to send email messages without using the native Intent
-based code. For example:
$.with(this).ext("mail", new MailOptions("{ email: 'john.doe@gmail.com',
username: 'john.doe',
password: 'idkmypsswd',
provider: 'gmail',
destination: 'jane.doe@yahoo.com',
subject: 'Check out droidQuery!',
message: 'It really simplifies a lot of common tasks on Android.',
attachment: 'path/to/droidquery.jar'
}"));