change function name register to registerAndroid