Why are some public methods in the android source code not found on the official website and cannot be used ?, Androidpublic
Thank you for adding @ ayonggu:All codes with Hide annotations are removed when packaged as Android. jar.
For details, refer to the two types of APIs that cannot be used in the SDK ------ @ hide and internal API Introduction
Bytes ----------------------------------------------------------------------------------------------------------------
Why does the public method in the android source code not be found on the official website and cannot be used?
For example, read this:
We cannot find this method on the android development website, and we cannot call it. Why? This is because we can only call the APIS provided to us at the android Framework layer, and this method Framework layer does not open the call, so we naturally cannot call it. However, we can call this method indirectly through reflection (for details, see my previous blog ).
With online look android source code Web site: http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/
Why can't I access the android official website or download the source code from the sdk manager?
Recently, google has failed to get in, and mongo.android.com is also the same. Occasionally, google can get in. I don't know why, but I have found a lot of information to solve it.
In eclipse, I set the source code. After java is set, the android source code is invisible. After android is set, the java source code is invisible.
I also encountered this problem. There is no good solution. I usually use this idea to solve it:
Create a Java Project and a java class Test.
To view the jdk source code, open the Test class first. Then jump to the corresponding jdk class.
When you want to view the android source code, open the class in any android project and jump to it ..