[Android] Adapted sensor implementation