如何找到容易的机器人类的源 [英] How to find easily the source of an android class

查看:120
本文介绍了如何找到容易的机器人类的源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我知道我可以从 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

最后,<一个href="https://chrome.google.com/webstore/detail/android-sdk-reference-sea/hgcbffeicehlpmgmnhnkjbjoldkfhoin"相对=nofollow> 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.

这篇关于如何找到容易的机器人类的源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆