Added an android authenticator based on Apache 2.0 licensed code from https://github...
authorkenstir <kenstir@gmail.com>
Sat, 16 Nov 2013 02:25:02 +0000 (21:25 -0500)
committerkenstir <kenstir@gmail.com>
Sat, 16 Nov 2013 02:25:02 +0000 (21:25 -0500)
commit20011f82809e0371b32fb660608dd00283e25a40
treec61deb23db64026df93f3667e5c61a5cac003060
parentd4645cb115197b050a1b654b9d573864df726d07
Added an android authenticator based on Apache 2.0 licensed code from https://github.com/Udinic/AccountAuthenticator

The main problem in the EG app in the android-minor-cleanup branch is that when the auth token expires or you rotate the device at the wrong time you get repeated crashes.  My hypothesis is that using native android.accounts facilities for getting access to auth tokens will clean up the auth handling and also make authentication accessible to Services.
27 files changed:
.gitignore
Open-ILS/src/Android/.gitignore
Open-ILS/src/AndroidAuthenticator/.classpath [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/.gitignore [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/.project [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/AndroidManifest.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/libs/android-support-v4.jar [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/libs/org.opensrf2_serialized_reg.jar [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/project.properties [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-hdpi/evergreen_launcher_icon.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-ldpi/evergreen_launcher_icon.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-mdpi/evergreen_launcher_icon.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-xhdpi/evergreen_launcher_icon.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/layout/activity_login.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/values-v11/styles.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/values-v14/styles.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/values/strings.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/values/styles.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/res/xml/authenticator.xml [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/src/org/evergreen_ils/auth/Authenticator.java [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/src/org/evergreen_ils/auth/AuthenticatorActivity.java [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/src/org/evergreen_ils/auth/AuthenticatorService.java [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/src/org/evergreen_ils/auth/Const.java [new file with mode: 0644]
Open-ILS/src/AndroidAuthenticator/src/org/evergreen_ils/auth/EvergreenAuthenticate.java [new file with mode: 0644]