mrniko/netty-socketio — pull request #28 by RaduCirstoiu (2012-09-26 13:11:38+00:00)
Title: Java 6 feature usage removal (Android compatibility)

Hello,

I've recently forked you nett-socketio because I tried to use it on Android, which failed because it relied on two java 1.6 library features (Collections.newSetFromMap and String.getBytes(java.nio.charset.Charset)).
I've basically did what you were doing with Collections.newSetFromMap (wrapping a ConcurrentHashMap to create a concurrent set ) and reverted to the java 5 string charset selection.
It also seems to be ok to use other java 1.6 features as long as you don't use any of the libraries outside java 1.5 on Android.

If you look at my ConcurrentHashSet and the Collections.newSetFromMap from java 1.6 you'll see they do pretty much the same thing (proxy calls to a Map and adapt the interface to a Set).

I ran a small example on Android and I was able to connect and all, and I was going to test it further but it seems I can't find the time to do so.

Have you considered supporting Android?