Questions tagged [android-source]
Questions about the source code and building of Android itself, contributing to the Android project, Android kernel development and porting. Do not use for Android application development questions except where specific to building applications as pre-packaged parts of the system.
android-source
3,179
questions
55
votes
8
answers
110k
views
Where is android.os.SystemProperties?
I'm looking at the Android Camera code, and when I try importing android.os.SystemProperties, it cannot be found.
Here is the file I'm looking at:
https://android.googlesource.com/platform/packages/...
3
votes
2
answers
10k
views
Eclipse: "Edit Source Lookup Path..."
I am developing on a Mac with Eclipse and have the skeleton for an app that implements the standard framework callbacks (onCreate, onDestroy, onPause, etc..). When I set breakpoints in the callbacks ...
2
votes
1
answer
646
views
Where to find Android patches?
I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel ...
1
vote
1
answer
195
views
Visual Resource(s) for android.R.*?
I'm trying to find a website or a list of websites that I can reference when trying to integrate some of the built-in Android resources into my applications and I'm wondering what everyone else uses.
...
34
votes
2
answers
66k
views
Source of Android's lock screen [closed]
I am looking for the source code of the android lock screen. It can be for any version of Android (1.5, 1.6, 2.0, etc).
I tried looking in the repository at: https://android.googlesource.com/, but it ...
4
votes
1
answer
32k
views
Repo Sync a particular folder
I am trying to get the source code for the android os.
How do I repo sync a particular folder from the master branch?
0
votes
1
answer
320
views
Getting Android source
I trying to get the source of android using repo and git. Everytime I do a repo sync, the terminal indicates that it is fetching projects but it will freeze at that particular line for hours. I am ...
1
vote
2
answers
2k
views
Debug Android Source Builds
There's documentation to build the android source code base. But it's hard to find information on how to run the android os and its applications in the emulator environment so you can test your ...
8
votes
6
answers
16k
views
How to find easily the source of an android class
I know I can access android source code from https://android.googlesource.com, but it's hard to select the right git repo if I only know the package and the name of an android class.
Isn't there a ...
1
vote
2
answers
497
views
what is the use of tests present in android source code?
If you have downloaded any android source code, you would see a test folder present for almost all applications and base framework.
I wanted to know whether we build the test code too while building ...
56
votes
8
answers
87k
views
How to compile the Android AOSP kernel and test it with the Android Emulator?
Has anyone successfully compiled the android kernel and tested it in the Android emulator, and if so is there anything that special that needs to be done?
Documentation for the SDK is excellent, ...
0
votes
1
answer
929
views
Where to get Android 1.5 source?
I'm targeting Android 1.5 - I'd like to use the ScrollView widget, but there's a hard-coded value within the class which makes it kind of unusable for my purposes (it's the "touch slop" value - set to ...
0
votes
1
answer
2k
views
Given a GIT URI, how can I check it out?
In this Google IO 2009 presentation, a GIT url is provided in the slides.
The URL looks like this
http://android.git.kernel.org/?p=platform/development.git;a=commit;
h=...
664
votes
7
answers
291k
views
Where can I find Android source code online? [closed]
Where can I browse the source code for any Android Open Source Project (AOSP) application (for example the Contacts application)? Is the only way to clone the entire source repository for all of AOSP?