Jack7,
I used your idea, but went about it in a little different way. I have Mac computers with airport routers. The airport utility provides the signal strength from the iPhone in dBm.
It appears that the app uses WiFi if the signal strength is, for example, -58dBm (considered excellent by...