Are you using android ndk to compile your c program? If so you would
probably notice that there is no IPC support in it. Then no android'ish way
to call IPC from a c program...

What don't you just do your gps tweaking in java, there is a full GPS api
in android java framework, isn't it?

Emeric
Le 19 nov. 2012 13:43, "Android Dev" <devandro...@gmail.com> a écrit :

> Hello all,
> Not sure if this is the right place to post this question. I am trying to
> access the GPS device driver outside the java framework. I refer to gps.h
> from hardware_legacy. In my c user program I get the sGpsInterface before
> calling init with the callback functions (I only implemented three of them
> and left the rest pointing to empty functions). After calling start it
> fails complaining about IPC communication. Any idea? Is it supposed to work
> or am I missing something?
>
> thanks
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to