Core code to be reused in other Android apps