On Mon, Apr 16, 2012 at 11:24 AM, Tom <karbonki...@gmail.com> wrote:

> My issue is, in that process if I create a reference to an IBinder by
> making my own AIDL and extending the stub than call addSystemService
> with my own, unique name how can I communicate to this process? In
> another process I call getSystemService and the reference to the
> IBinder is obtained just fine, but my problem arises when I try to
> call any of its methods. I get a StackOverflowError.
>

You have a bug in your code.  Look at the stack trace and see where your
code is infinitely recursing.

Re:

- Is is possible to use SystemService without your process actually
> being a Service using Android's APIs?
>

This doesn't make sense.  A SystemService is not a Service, they are
completely separate things.  If you are writing an application, you should
be implementing it as a Service that clients access with
Context.bindService().

- If it is not possible, how can Parcelable objects be passed to and
> from separate process so that an app can leverage private/ system APIs
> using root?
>

That doesn't sound like something I'd want to help with. :)

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to