I call :
"sp = new ServiceAPI( cons.apiKey, cons.secretKey )"
But I don't know how to manage a callback to catch when the user is not connected to internet.
I have seen in other entries people mention "onConnectDone callback" but for AppWarp.
PD - sorry about my english.