Where is the source code for Android's web browser?

不羁岁月 提交于 2020-01-13 09:07:08

问题


Since Android has such pathetic documentation, I'm looking for the source code for the browser so I can see what objects it provides to JavaScript. Where should I look? Is there an online source code browser?


回答1:


It's in the Git repository:

https://android.googlesource.com/platform/packages/apps/Browser

https://android.googlesource.com/platform/external/webkit/+/android-3.2.4_r1/WebCore/xml/XMLHttpRequest.h

Edit:

The applications are now mirrored on github. You can find the browser here: https://github.com/android/platform_packages_apps_browser.git




回答2:


Or try GrepCode: You can even throw a stack trace at it and it shows all relevant java files in all platform versions.




回答3:


you can also use the link below in case you need more options

https://android.googlesource.com/platform/packages/apps/Browser



来源:https://stackoverflow.com/questions/6962368/where-is-the-source-code-for-androids-web-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!