In my county, you can be cited for texting in your car while it’s immobile in the parking lot.
I slept it off one night and they tried to arrest me. Fortunately, I stashed my keys about 40 feet from me so the cops could not find the keys..no dui
they were pissed but it helped to know the law.