I’m using Sencha Touch 2 with PhoneGap. I need to determine my device IP address when connected to a Wi-Fi network. Is there any way to do it? Thx
I’m using Sencha Touch 2 with PhoneGap . I need to determine my device
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would need to create a plugin to read the IP address of the device. Here is a tutorial I wrote that covers how to write an Android plugin for Cordova 2.0.0 and the example is getting an IP address.
http://simonmacdonald.blogspot.com/2012/08/so-you-wanna-write-phonegap-200-android.html