Caused by: android.os.Message

by Pierre Henry » Wed, 25 Nov 2009 04:40:04 GMT

Sponsored Links
 I get a * NotSerializableException* exception trying to send objects
between two processes.

Is it possible to do client/server sending of serializable objects
between two processes ?


Caused by: android.os.Message

by Mark Murphy » Wed, 25 Nov 2009 04:45:36 GMT


Use AIDL and remote services for that: 

Mark Murphy (a Commons Guy)  | 

Android Training in Germany, 18-22 January 2010: 


Sponsored Links

Caused by: android.os.Message

by Pierre Henry » Wed, 25 Nov 2009 20:28:55 GMT

 Thanks Mark.

So , If I understand correctly, the communications between processes
is governed by IPC mechanism.

If I want to connect to a server from external jvm process, say a
client in his own vm, I can use the classic socket mechanism
to realize a connection ?


Caused by: android.os.Message

by Yuri Morais » Sat, 05 Dec 2009 02:38:57 GMT


Yes, Android defines a default IPC mechanism (by means of AIDL)

Yes, sockets are also provided by Android. It can be used in place of
AIDL to connect two processes in the same device, as well as two
processes communicating through the network.
If you want distributed process, it may be important to read this: #emulatornetworking

Yuri Morais


Other Threads

1. Access to grids of table

Assuming you're talking about at TableLayout, read the documentation for
that class and TableRows.

TreKing <> - Chicago
transit tracking app for Android-powered devices


2. Any sample code for using AccountManager to authenticate users?

I would like to use Google (or facebook) to authenticate my users. It
seems like I should be able to use the account manager to do this but
the documentation is a bit inadequate (the sample of writing your own
authenticator really isn't what I want). Is there any sample code out
there showing how to do this?


3. Android OS Problem: Left-to-right alphabets are rendered incorrectly

4. Coloring app in android

5. unable to open sync connection

6. Use script to run Monkey

7. Problem in sound playing in android phonegap and left swiping animation flickering problem in jqtouch?