Android sensor assignment