anismiles / websocket-android-phonegap

This is a Java library that implements Websockt API (Draft-75/76) for Android platform. Library uses java.nio.* packages for efficient non-blocking evented behavior. It easily gets integrated with Phonegap framework.
http://wp.me/pVyFz-qO
MIT License
322 stars 137 forks source link

Websocket.getId unknown #25

Closed moadibfr closed 11 years ago

moadibfr commented 11 years ago

I tried to use this in order to have a websocket available in my webview but I get the error:

Uncaught TypeError: Object [object Object] has no method 'getId'

I added @JavascriptInterface in WebSocket but still it seems that won't do the trick. I wonder if anyone had an idea about what I could do to get this working.

moadibfr commented 11 years ago

finally got it to work but I could not identify what was causing this...