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. Soal Batt

pagi semua........

baru kejadian nih pagi ini, semalem di charge sampe full, trus airplane-mode
(spt biasa) , nah tau2 koq ada kedap-kedip merah di led-nya, pad display-on
kalo batt dah mau abis, cuma sisa 2% , ya udah langsung colok usb-pc, masih
kedap-kedip merah cek status batt 8%, itu ilang min di berapa % ya

btw kenapa bisa begini ya, biasa ok2 aja, malah pernah pas malem charge
belum full, tp gsm on, cuma data off, pagi2 masih full aja

Batt original berapa ya, trus kalo pake yg kapasitas besar, kayanya
tutup-nya gak bisa utk foto ya

~ pake web google mail ajah ~

"Indonesian Android Community [id-android]" 

2. About ACCESS_DRM permission problem


I am trying to delete the content in DrmProvider.

When i execute the statement
"getContentResolver().delete(Uri.parse("content://drm/audio/1"), null,
null);", the exception of "Requires DRM permission" will be shown.

And one of warning message was found in logger.
"04-12 13:21:51.074: WARN/PackageManager(55): Not granting permission
android.permission.ACCESS_DRM to package
(protectionLevel=2 flags=0x4444)"

Is any setting i was missed.

The following is my AndroidManifest.xml.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
      package="" android:versionCode="1"

      <uses-permission android:name="android.permission.ACCESS_DRM" />
      <uses-permission android:name="android.permission.INSTALL_DRM" /

      <application android:icon="@drawable/icon"android:label="@string/
              <activity android:name=".DRMTest"android:label="@string/
android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LAUNCHER" />

Thanks all of you


3. Buat Wallpaper

4. Android App Presentation

5. Application icon change during Application upgrade

6. top 10 ideas to make money from your Blogs.[finance4u.yolasite]

7. 98 Tips Which You LOve Most For MakIng money[finance4u.yolasite]