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
side.
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.

Thanks,

Morgane

--



Other Threads

1. Listening to Clipboard... How to detect a "copy"

I'm interested in writing an application that extends the
functionality of the Android clipboard. Basically, when the user tries
to perform a "copy" (as in copy->paste) I want my application or
Service to perform a function on the copied text.

Is this possible?

-- 

2. Emma Instrumentation Code and How it works

Hi,

I am new to this emma world! Just trying to figure out what code emma
injects to the class that is instrumented and where? I read in this
forum that Emma injects some byte code after each basic block. Can
anyone answer me the following questions

1) What exact byte code is injected at the end of each basic block?
2) What is the impact of those byte codes in term of performance,
security and JVM?
3) I saw someone said byte code injection changes the line numbers in
the class file and has some impact in the JVM in terms of variable
location, stack table etc. What are those impacts to JVM due to these
injections?
4) Is there any behavi{*filter*}change of instrumented classes while
interacting certain classes which are instrumented within same/
different package or using methods of other external or internal
classes which are not instrumented compare to their original class
behavior which earlier was not instrumented and worked fine?
5) Can any instrumented class cause improper behavior to the existing
application and what are those probable impacts?
6) Can we use certain instrumented class in production env and is
there any risk of malfunctioning of the application in production
system?
7) Is there any security issue using instrumented class in production?

-- 

3. filter html and alert baised on criteria entered

4. Created files in external storage on Archos 5 invisible on Windows Explorer

5. Distinct query in managedQuery

6. Gallery not Recycling Views

7. Example "Tab Layout" wont work in "http://developer.android.com/resources/tutorials/views/hello-tabwidget.html"