SocketChannel, broken pipe exception - Cupcake only

by moju27 » Fri, 23 Apr 2010 11:23:34 GMT

Sponsored Links
 Hello :)

I'm currently writing an application to communicate with my server app
which is on a PC on the LAN. I'm using a SocketChannel and it causes
an IO exception (broken pipe). The weird and really problematic part
is that this exception only occurs on Cupcake !!!

To give more details, the exception happens when I'm writing on the
socket channel. The socket channel says that it's connected / bound,
everything seems to be correct. Plus I see my client on the server
By the way, I use a non blocking socket.

So, I would be very happy if anyone had a clue regarding this ... I
couldn't find any help anywhere else.




Other Threads

1. SAR(Specific Absorption Rate) values of Android phones on the market

This question has nothing to do with android development. I suggest
you do a Google search for "sar values".


2. Confusion about necessity to override onConfigurationChanged()

I've seen numerous posts about letting the app control the handling of
orientation changes by setting the "android:configChanges" attribute
and overriding onConfigurationChanged().

However, it seems that its not necessary to override
onConfigurationChanged() at all. How is this possible?

I have a simple activity containing a ListView containing many items
(TextViews). I'm not overriding onConfigurationChanged() but when the
orientation is changed everything is redrawn/scaled perfectly. I can
confirm that the activity is not being destroyed and recreated.

I'm sure there is a perfectly logical explanation for this, but I
would be very interested to know what that is!

3. How to find out if a device has flash player

4. Idle time in android?

5. SD card's write authority in Android 1.6

6. difference between CharSequence and strings

7. JNI problem : from c Languege call Java method