Apparently there are apps for Android and Apple you can use for this. The author uses about $20 in parts to build the control box and then that goes into the phone for the apps to control. Cool build. Could be a nice build for kids too.
http://www.instructables.com/id/OscilloPhone-Use-your-Smartphone-as-an-Oscilloscop/?ALLSTEPS