I never got a ticket while riding my bike but I have been pulled over by city police. I was riding at night and made the mistake of waving at the officer as I passed him. It's kind of weird to have the lights turned on you while riding. I didn't break any laws but he thought it was suspicious that I was riding at night. I told him that I just got off work and that this was a good time for me to ride. He wanted my name, address and phone number incase of any buglaries that may happen. Great, I'm a suspect before any crime has been committed! But, hey at least I didn't get a ticket :-)