如何获得Android的原生方法来源$ C ​​$ C [英] How to get android's native methods source code

查看:113
本文介绍了如何获得Android的原生方法来源$ C ​​$ C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能得到,看在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 (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文件反过来转发它的许多方法来<一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屋!

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