A man was texting with his mobile phone.