Hi Monk,

This is Trustin, the lead of the Netty project.  Glad to hear that you
are trying to run Netty on top of the Android platform.

There was another user who reported a different problem with running
Netty on Android recently and I have resolved the problem:

    * https://jira.jboss.org/jira/browse/NETTY-103
    * http://www.jboss.org/netty/community.html#nabble-td1771503

The fix is currently in the SVN trunk, so you need to build it by
yourself, but it shouldn't be that difficult.  Please feel free to
leave a comment or ask questions to our forum - other interested users
might help you.   At last but not least, I would love to see a Netty
application runs on an Android phone. :-)

Good luck!

On Dec 14 2008, 10:14 pm, Monk <[email protected]> wrote:
> Hi,
>
> I'm thinking of building an android client as part of my project
> within my studies. The server uses Netty (http://www.jboss.org/netty/)
> to communicate. Therefore I need to evaluate whether Netty runs on
> Android before the implementation phase starts.
>
> I tried to implement some netty examples (http://www.jboss.org/netty/
> documentation.html) with the server running on my Mac and the client
> running in the android emulator.
>
> In the SecureChat example I get "ERROR/OSNetworkSystem(272): unknown
> socket error -1" from the line
>
> ChannelFactory factory = new NioClientSocketChannelFactory
> (Executors.newCachedThreadPool(), Executors.newCachedThreadPool());
>
> and then the "ChannelPipelineException("Failed to initialize a
> pipeline.", e);" when trying to connect.
>
> The Echo example also outputs 2 "unknown socket error -1" errors.
>
> Can anybody confirm that Netty can run on Android? Are the errors my
> fault? If yes, what could be the reason?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to