如何获得Android的原生方法来源$ C $ C [英] How to get android's native methods source code
问题描述
时有可能得到,看在Android的程序组件的本地方法code。如果有人知道如何,请让我知道。
Is it possible to get and watch at Android's program component's native methods code. If anyone knows how to, please let me know.
推荐答案
您可以找到源头code为Android原生方式使用<打击>的谷歌code搜索 罢工>的以下服务之一:
You can find source code for Android native methods using Google Code Search one of the following services:
- AndroidXRef
- GitHub的(使用
回购:安卓/ *
搜索词)李>
- AndroidXRef
- GitHub (using
repo:android/*
search term)
搜索<一href="http://androidxref.com/source/search?project=frameworks&path=SystemClock+%7C%7C+android%2aSystemClock">SystemClock在AndroidXref ||机器人* SystemClock 将指向你的<一个href="http://androidxref.com/source/xref/frameworks/base/core/jni/android_os_SystemClock.cpp"><$c$c>android_os_SystemClock.cpp$c$c>文件反过来转发它的许多方法来<一href="http://androidxref.com/source/xref/frameworks/native/libs/utils/SystemClock.cpp">SystemClock.cpp
其他Android 的.cpp
或 .H
与本地方法的实现文件可能会以类似的方式被发现。
Other Android .cpp
or .h
files with native methods implementations could be found in a similar way.
这篇关于如何获得Android的原生方法来源$ C $ C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!