Where can I get the Android camera application source code?

前端 未结 4 456
隐瞒了意图╮
隐瞒了意图╮ 2020-12-13 00:22

I\'m referring to the camera application that is already installed on my G1, not the camera API source code.

How do I get the source code?

4条回答
  •  死守一世寂寞
    2020-12-13 00:28

    You will need to clone the project from the Android repository using git.

    The project URL is:

    https://android.googlesource.com/platform/packages/apps/Camera.git

    You can clone the project like this:

    git clone https://android.googlesource.com/platform/packages/apps/Camera.git
    

    The source code will be in the directory Camera.

    This link will tell you how to download all the sources.

    If you need help with using git then checkout git's documentation section.

提交回复
热议问题