template codes for Android development