How to dedect internet connection on Phone's?

Get help using Construct 2

Post » Thu Apr 11, 2013 8:02 pm

Hi,

How can i dedect internet connection on phones with Construct2? Specially for CocoonJs.

Sorry for my bad english.

Thanks for reading have a nice day.

B
32
S
10
G
3
Posts: 310
Reputation: 6,081

Post » Thu Apr 11, 2013 10:41 pm

You could just do an AJAX request to your own website (if you have one) -- and if it fails -- device is offline.
B
4
Posts: 14
Reputation: 703

Post » Fri Apr 12, 2013 2:57 pm

[QUOTE=jtokarchuk] You could just do an AJAX request to your own website (if you have one) -- and if it fails -- device is offline.[/QUOTE]

Thank you very much your idea works perfect.
B
32
S
10
G
3
Posts: 310
Reputation: 6,081


Return to How do I....?

Who is online

Users browsing this forum: irina, Minchequeo and 27 guests