> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
I received help from Shazron (thanks again) recently about this as well.
You can do something like this...
if (navigator.network.connection.type != Connection.NONE) {
//doSomething
}
Hope that helps.
On 7/19/11 11:30 PM, "Shazron Abdullah" <shazron....@nitobi.com>
wrote:
http://docs.phonegap.com/phonegap_connection_connection.md.html
and on/offline events:
http://docs.phonegap.com/phonegap_events_events.md.html#online
http://docs.phonegap.com/phonegap_events_events.md.html#offline
Simon Mac Donald
http://hi.im/simonmacdonald