← Back to team overview

ubuntu-phone team mailing list archive

Re: How to access to "platform-api"?

 

On 15/11/16 15:58, ali hagigat wrote:
> I am trying to develop a user space code for the following platform :
> 
>  Nexus 5 + UbuntuTouch + ubuntu 15.04  Vivid
> 
> Can i access to "platform-api" functions of the operating system? and how?
> 

Code is at lp:platform-api

For UbuntuTouch, there is a part of platform-api that lies on the
android side, and another part on the Ubuntu side.

If you check out the code for UbuntuTouch for some existing platform
we've worked on, you will find platform-api in there, and part of it
(the "android" subdirectory) is built with the android toolchain to live
on the android side.

Then on the Ubuntu side, hybris is used to link that android library
with an Ubuntu-side library, giving Ubuntu-side applications access to
those hardware bits.
-G





Attachment: signature.asc
Description: OpenPGP digital signature


References