A framework for detecting whether a user is using their phone with their left or right hand