开发者

android tcp/ip client using phonegap

开发者 https://www.devze.com 2023-03-03 09:50 出处:网络
I am new to mobile development and I would like to write a TCP/IP client to run on android using phonegap, can anyone tell me where to开发者_开发知识库 start?

I am new to mobile development and I would like to write a TCP/IP client to run on android using phonegap, can anyone tell me where to开发者_开发知识库 start?

I was thinking of writing a class for this in java using the Android SDK and invoking it using javascript through the _android.webkit.WebView.addJavascriptInterface(Object, String)_ method but I do not know if this is the best way to achieve this.


take a look at how to write phonegap plugins: http://wiki.phonegap.com/w/page/36752779/PhoneGap-Plugins

0

精彩评论

暂无评论...
验证码 换一张
取 消