ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #22858
Re: How to access to "platform-api"?
-
To:
ubuntu-phone@xxxxxxxxxxxxxxxxxxx
-
From:
Gerry Boland <gerry.boland@xxxxxxxxxxxxx>
-
Date:
Thu, 17 Nov 2016 00:12:18 +0000
-
In-reply-to:
<CAKKWdtdS9Vu+s8gGnBw2WGbe3DkgUKx6ntw3xKmN=ny90JrfXg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
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