Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build your own CA and TA for android #3

Open
Faidon09 opened this issue Sep 27, 2016 · 1 comment
Open

How to build your own CA and TA for android #3

Faidon09 opened this issue Sep 27, 2016 · 1 comment

Comments

@Faidon09
Copy link

based on this guide (https://open-tee.github.io/android/ ) you need to have the android source.
Is it possible to use the android source that Android studio provides when you download the SDK?

In this approach I should link the two folders with this way?
ln -s $HOME/Open-TEE $ANDROID_ROOT/Open-TEE

Also how I can compile my own application?
For example i want to build the example_sha1_ca and the example_digest_ta.c and push them in the Android device.

I have successfully run the BundleTest and and Javaapitest based on this guide (https://github.com/Open-TEE/opentee-android)

Thanks

@sheepray
Copy link
Contributor

sheepray commented Feb 19, 2017

Hi @Faidon09 , sorry for the late reply. I haven't checked this repo after my PR is merged.

So, for your question Is it possible to use the android source that Android studio provides when you download the SDK?

The answer is no. AFAIK, the Android SDK you have downloaded does not contain the Android source code.

If you want to develop your own apps, you need to download the Android source code to compile it along with the opentee native app. Otherwise, it is not necessary to download the Android source code.

Speaking of your 3rd question about how to compile your own application, as I wrote above, you need to download the Android source code and configure it according to https://open-tee.github.io/android/

For how to develop apps (including CAs and TAs), you can check out here https://github.com/Open-TEE.

If you have further more questions, please let me know.

Rui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants