Fork and port of commons-eid, but for Android