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?
May be the easy one to see the source: In Android studio 2.3, Build -> Analyze APK -> Select the apk that you want to decompile . You will see it's source code.
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.
Google has moved hosting to their own servers, so the process has changed. You can no longer browse the kernel source online, but the Android source code can be downloaded from http://source.android.com/source/downloading.html.
You'll need a git client, and a lot of time to download the entire source code.
If you don't want the entire current version of Android, here are some alternatives:
Searching through these public repos should give you enough code to work with.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With