Made into an Android library.