Texting while driving is allowed:

It is against the law to read, write, or send messages on a cell phone or other portable wireless device. If your cell phone rings, do not answer the call or respond to the text message. Convictions for violations of this law are subject to fines.
DMV Writen Test