integrating API with HelloAndroidActivity