Texting and Driving

How police would ever prove the act caused a crash and what your rights are, if you were ever the driver at fault.