Photos of the students included snaps of them at home, in bed, sometimes partially clothed.
In one case the school claimed a student was popping pills: in fact he was eating candy.
Along with the photos, data on your location is displayed in the intercept so you can be easily tracked.
All this happens without any awareness by the phone user -- the screen can either be turned off or on, it does not matter.
Camera spying is so widespread that it's happening in schools.
Just this year Lower Merion Township in suburban Philadelphia, settled a lawsuit brought by two students, paying them $610,000 in compensation. The school provided 2,300 Mac Books to their students and installed spy software on them that snapped pictures of the students.
Webcams and phone cams are also an important source for corporate spying.
This works in two ways: companies and organizations spying on their own employees, and competitors and thieves spying on corporations.
Many of the images obtained were very personal ones and could be used to either embarrass or blackmail users.
Reports in the UK say that NSA engineers helped GCHQ develop the Optic Nerve program.
'Sextortion," the secret control of webcams or smartphone cameras to run extortion rackets against people, is also a growing problem.