[android-developers] App talking to native ARM binary via sockets

2012-06-06 Thread galapogos
Hi, I'm trying to get an Android app to talk to a native Android binary service. Basically when I click a button, the app should send data to the service, and receive some data back as well. I've written the Android client app code, relevant portion below: Button.OnClickListener

Re: [android-developers] App talking to native ARM binary via sockets

2012-06-06 Thread Tony Houghton
On Tue, 5 Jun 2012 23:17:50 -0700 (PDT) galapogos gois...@gmail.com wrote: socket = new Socket(10.0.2.2, ); When I run the app, it hangs and times out when I click the button. Turns out it hangs on the socket connection. Is this because I have the wrong address, or because