Pierre, > So , If I understand correctly, the communications between processes > is governed by IPC mechanism.
Yes, Android defines a default IPC mechanism (by means of AIDL) > 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 ? 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: http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking -- Yuri Morais On 25 nov, 09:28, Pierre Henry <[email protected]> wrote: > 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 ? > > On 24 nov, 12:45, Mark Murphy <[email protected]> wrote: > > > > > Pierre Henry wrote: > > > 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 ? > > > Use AIDL and remote services for that: > > >http://developer.android.com/guide/developing/tools/aidl.html > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > Android Training in Germany, 18-22 January 2010:http://bignerdranch.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

