how nativeactivity starts

how nativeactivity starts
http://blog.csdn.net/luoshengyang/article/details/6689748
In the above post, in  Step 34. ActivityThread.performLaunchActivity, ClassLoader would load the activity class.
For nativeactivity app, "android.app.NativeActivity" class is claimed in the android-ndk-r7-windows\android-ndk-r7\samples\native-activity\AndroidManifest.xml:
        <!-- Our activity is the built-in NativeActivity framework class.
             This will take care of integrating with our NDK code. -->
        <activity android:name="android.app.NativeActivity"


"android.app.NativeActivity" is implemented in frameworks\base\core\java\android\app\NativeActivity.java, 
in which the onCreate loads the native code.

你可能感兴趣的:(java,android,ClassLoader,Class,frameworks)