It's against the law to use a handheld electronic device, such as a smartphone, while cycling. You should safely pull over if you need to make a call or send a message.