Is there anything similar to onConnectDone in App42 Cloud API ???

0 votes
Hello.

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.

Thank you.

PD - sorry about my english.
asked Jul 27, 2014 in App42 Cloud API-BaaS by miguelangeltorresfp (16 points)

1 Answer

+1 vote
 
Best answer

Hi,

Every platform has its own native method to check the connection that can be used before making a call.

You can look at the answer to this question http://forum.shephertz.com/?qa=2607/check-for-connection-to-leaderboard to find how you can check the connection.

Let me know if answer your question.

Thanks.

answered Jul 28, 2014 by hs00105 (517 points)
selected Jul 28, 2014 by miguelangeltorresfp
Thank you for you answer.

ok, I understand that App42 Cloud API can't check for Internet connectivity, isn't it correct ???
I found this solution :
http://stackoverflow.com/questions/2031824/what-is-the-best-way-to-check-for-internet-connectivity-using-net

I think it does exactly what I need.

Thank you anyway.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...