Opening android AOSP native applications in eclipse
I need to edit the original Android Apps from packages in terms make my own distro/mod.. I want to make changes to the In Call screen, lock screen, contact开发者_运维技巧s, calendar etc.. I understand that for doing this I will have to build everything from source, however I need to edit the source and to do so I need to open the OS provided apps as eclipse projects,
When I did I saw that there are
missing imports which are hidden in the SDK (or missing)
hidden parameters within the classes..
I don't want to use reflection since the whole code is here and available, but how do you build a platform development kit..
or PDK ?:)
Can any one help?
You start by reading the documentation.
EDIT:
If you are trying to download some single project from AOSP and compile it using the SDK, odds are very strong that it will not work, and that you will encounter problems like the ones you cite. You do not build Android by building individual apps; you build Android ("my own distro/mod") by building the entire firmware. Most AOSP applications are not designed to be compiled by the SDK, but need the whole firmware.
Please check Using eclipse to browse and edit AOSP. You can atleast edit your code using eclipse, but you will have to use AOSP build system to build your distro.
You might also check Debugging Android Java Framework services as that would help debug your changes.
Just open Eclipse, then go to "window" +"preferences" +"android" there you will get sdk location,then give the appropriate path of the android sdk for proper run...
精彩评论