We have a "silence your phone" while in our classes. If a tone of any kind is heard during class, that student is responsible to bring a healthy snack for the entire class when it meets next. It has worked very well. Instructors actually walk aroung during the class and if anyone is attending to a phone rather that to the class activity, they must give a brief talk on a pertinent subject at the beginning of the next class.