passing a class from one process to another

by DevilMayCry » Mon, 13 Apr 2009 12:12:42 GMT

Sponsored Links
 Hi guys i am looking for an example that allows me to pass a custom
class to a remote process. So far in the doc remote service example
only an integer is passed i would like to pass a class on my own. I
have implemented the parcelable protocol but i am really not  sure how
to pass that class. Any help please?


passing a class from one process to another

by Ralf » Mon, 13 Apr 2009 12:54:40 GMT

 You might want to read the section on the developer guide on AIDL and IPC: 

It explains how you can send a Parceleable data via an IPC.


Sponsored Links

Other Threads

1. onDraw not getting called very often

I have a View in which onDraw() is called once at the beginning, and
again about 5 seconds later, then maybe once/minute.

Any ideas what could be causing this? I'm expecting draw calls

There is some drawText that is displaying all the time, but it is not
updating unless the once/minute call comes along.



2. PhoneStateListener stops when in sleep

I have a phone state listener running in a service to report current
cell information. I log the cell information when signal strength
change is detected.

This all works as expected when running the application, and when in
the background, however when the phone goes into sleep, no logging

I have implemented a partial wake lock but this has no effect and
still causes the onSignalStrengthChange to not update.

Its vital to my project that the phone be allowed to sleep (or at
least act like it). While lisening to changes in the radio.

Any help would be great.



3. urgent-not able to display remote images in gallery

4. do a grid 3d like Layar for AR

5. Camera recorder fail to prepare on Android 2.0.1

6. Lookinf for android devoloper

7. App testing - Nexus One / Droid