预备知识:你可以在如下目录中找到具体的相关类:
System Applications
–frameworks/base/packages
–packages/apps
Framework Classes
–frameworks/base/core/java
–frameworks/base/core/jni
Framework Resources
–frameworks/base/core/res
System Service
–frameworks/base/service/java
–frameworks/base/service/jni具体的方式:
使用Android SDK Research
首先打开Chrome web store
在搜索框中键入:Android SDK Search
搜索到在你的Chrome浏览器中添加这个插件
然后你便可以在自己的搜索框中键入:as和自己想要搜索的类。例如:
你想搜索:Textview 可以这样输入:ad Intent使用Android Resource Navigator
在上图的搜索界面中键入:Android Resource Navigator
并在你自己的chrome浏览器中添加该插件。
插件安装完成后便可以是用了。
使用方法:Type ‘arn ’ followed by a search term into the address bar to find a particular Android framework style or theme. Use the suggestions to navigate directly to the appropriate XML resource definition.将源码离线到自己的本机:
访问https://source.android.com/该网站:上面有详细的repo教程教程我这里就不再赘述了。
文章标题
最新推荐文章于 2022-10-30 12:21:08 发布