Use Sourceinsight to view native methods in Android

Source: Internet
Author: User

Sourceinsight really is the artifact that looks at the source code. As long as you know the filename, you can quickly navigate to the file. Recently in the study of Android's touch system, it was found that Motionevent's Getx () method called Nativegexaxis () and wanted to see how the native code was implemented, but I don't know where Nativegexaxis's implementation code is. The class in Android calls the local code by a similar class name or android.mk file definition. Motionevent is in the pack for Android.view, the dot is replaced by an underscore, we can speculate that the local code in Motionevent is located in the file is Android_view_ Motionevent. On the right side of sourceinsight Projectwindow input android_view_motionevent, in the red area, locate the source file immediately.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.