[android-developers] Re: Binder IPC ( native process - to - android service )
IMHO the platform is the best example ( and android platform
is better group for this kind of questiions, as this is out of scope
of the sdk )
The android-platfrom uses AIDL or sockets to communicate between
native processes and i.e. java services.
Good luck ! Frank
On 15 Dez., 16:39, a11xc07bc <a11xc0...@gmail.com> wrote:
> Hi,
>
> Does anyone know if there are any good information/examples on how to
> bind to an Android service written in Java from a native process
> written in C/C++? and use that binding for further IPC.
>
> And, what steps needs to be done in the service? in order to be
> listable/bindable from the native process:
>
> i.e. something like:
>
> sp<IServiceManager> servman = defaultServiceManager();
> servman->listServices();
>
> and
>
> sp<IBinder> binder = servman-
>
> >getService(String16("com.path.to.service"));
>
> Please reassign this question to the right forum, if this forum is
> wrong.
>
> Regards,
> a11xc07bc
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home