merged the Constants class from AndroidBase