A driver may text while driving:

In the state of Maryland, it is against the law for any driver to use a cell phone to send or read text messages while driving. Any use of handheld cell phones while driving is prohibited, unless it is to report an emergency.
DMV Writen Test