It is installed & works sometimes but not consistently.
--
-- 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
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/ImFua9KAAGE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you
<script type="text/javascript">$(function() {document.addEventListener("deviceready", function() {networkinterface.getIPAddress(function (ip) {document.getElementById("openclose").innerHTML=ip;},function(err) {document.getElementById("openclose").innerHTML="Failed Getting IP";});}, false)});</script>
Enter code here..At least based on your attached sample page, you are not waiting for deviceready event. Your setTimeout effectively does that because it throws your js function on the stack after the rest of scripts run. But you would probably be better off properly using deviceready: