Move android helper function