Android Lollipop: Where to find the "API Demos" application code pre-installed in the Android Lollipop Nexus 5 emulator

I just installed Android 5 on an Android studio and made my first launch on an emulator. I found the Demos API application really interesting, and I would like to find the code. I am talking about this application: enter image description here

Does anyone know where I can find him?

Thank you very much!

+6
source share
4 answers

See AOSP master and / or android-l-preview_r2 .


This question should probably be closed as off topic.
+4
source

Go to the installation location of the SDK samples / android-X / ApiDemo

For example: -sdk \ samples \ android-19 \ legacy \ ApiDemos. In this you can get the source code

0
source

Try to find this way:

Finder → go → go to the folder and enter: ~/Library/Android/sdk/samples

select the android level, on android-8 you will find ApiDemos in the main directory, but for android-22 you need to find legacy , and then select ApiDemos

make sure sdk is installed with android sdk manager

enjoy

0
source

In recent versions of the SDK, they place several samples in the following location:

$ sdk_dir / sources / android-19 / com / example / ...

You will find different samples depending on the version of the SDK. Api demo can be downloaded here:

https://github.com/android/platform_development/tree/master/samples

It is also interesting to check out other sample APIs and services:

https://github.com/googlesamples

0
source

Source: https://habr.com/ru/post/977069/


All Articles