tags:

views:

56

answers:

1

i want to serialize an intent after i rcv it using ObjectOutputStream , but i got this exiption

java.io.NotSerializableException: android.content.Intent

is there away so i could serialize the intent, thanks.

A: 

Hi,

The closest you can get is to flatten it via the Parcelable protocol, and get the byte[] from marshall() method.

ognian