Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
78 views
in Technique[技术] by (71.8m points)

How to get android's native methods source 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.

question from:https://stackoverflow.com/questions/5804674/how-to-get-androids-native-methods-source-code

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can find source code for Android native methods using Google Code Search one of the following services:

The search for "SystemClock || android*SystemClock" in AndroidXref will point you to the android_os_SystemClock.cpp file which in turn forwards many of its methods to SystemClock.cpp

Other Android .cpp or .h files with native methods implementations could be found in a similar way.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...