Is is possible to open ports using PhoneGap?
I need to share files using WiFi in my Android applic开发者_高级运维ation. Is is possible to open ports using PhoneGap?
No you cannot. Phonegap is just a wrapper around your mobile browser container. You could try using WebSockets.
Don't think Phonegap has built in support for websockets yet. But there are some resources like this: http://remysharp.com/2010/10/04/websockets-in-phonegap-projects/
精彩评论