I'm having the same problem. To make it work, I remarked out the
connect command. Surprisingly the Sensor Graph tutorial worked as long
as Amarino (on the phone) was connected to the device. If not
connected or if out of range the app did not crash but just stopped
getting data. I would much rather handle connecting from code.