When we useADTAAndroidAfter the project, A is not included by default.Ndroid. jarSource code, for example, when we want to view the classActivityWe usually get an interface like this:
In this case, if you want to view the class code in android in the project, you must use the following methods:
The android search code of ADT is searched from the sources folder under the sdk directory. you can view the jar code in Eclipse, but there are a lot of android source code. You need to download the entire android code to extract it, but we do not need to extract it, someone on the Internet has extracted it.
For example, the following download URL can be downloadedAndroid1.5,Android1.6OfAndroid source code
Http://rgruet.free.fr/public/android-1.5-cupcake-src.zip (21.6 MB). This is 1.5 android source code
Http://www.weka.com.br/files/android/android-1.6-donut-src.zip this is 1.6 android source code
EnterSdkIn the installation directory\ PlatformsFolder, allSdkAll versions are in this directory,
In this directoryAndroid-2,Android-3,Android-4,Android-5,Android-6,Android-7,Android-8This corresponds to the Android-8 in our general Android version.
Android2.2Version,Android-7CorrespondingAndroid2.1,Android-6CorrespondingAndroid2.0.1,Android-5CorrespondingAndroid2.0,Android-4CorrespondingAndroid1.6,Android-3CorrespondingAndroid1.5
For example, you downloadedHttp://rgruet.free.fr/public/android-1.5-cupcake-src.zipThen you should enterPlatforms \ android-3Create a folder named sources instead of source. decompress the downloaded compressed file to the sources directory, in this way, you can view the android code in Eclipse !!!!
Explanation of important file types in the Android system
Android multi-task multi-thread breakpoint download
Android Activity and Intent mechanism learning notes
Use Internet Data in Android applications