如何找到容易的机器人类的源机器、人类、容易

2023-09-06 02:38:16 作者:只是忽然很想你

大家好,

我知道我可以从 http://android.git.kernel.org/ 访问Android源$ C ​​$ C ,但很难选择合适的混帐回购协议,如果我只知道包和一个机器人类的名称。

I know I can access android source code from http://android.git.kernel.org/, but it's hard to select the right git repo if I only know the package and the name of an android class.

有没有一种方法来定位 http://android.git.kernel.org/ 的文件?

Isn't there a way to locate a file in http://android.git.kernel.org/ ?

在此先感谢

推荐答案

大多数,你会希望看到的东西都可以在 框架/基 回购。 这包括pretty的多所有的公共和私有API类将Android的Java框架。

Most things you'll want to see can be found under the frameworks/base repo. This includes pretty much all the public and private API classes that make up the Android Java framework.

如果您希望能够从Eclipse中浏览源代码,就可以按照本指南:的http://blog.michael-forster.de/2008/12/view-android-source-$c$c-in-eclipse.html

If you want to be able to browse the source from within Eclipse, you can follow this guide: http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html

最后, Android的SDK参考搜索扩展Chrome浏览器,您可以通过键入广告在URL栏中浏览公共API,它增加了一个方便的查看源文件链接,如果每个Javadoc页面。

Finally, the Android SDK Reference Search extension for Chrome lets you browse the public API by typing ad into the URL bar, and it adds a convenient "view source" link to each Javadoc page.