Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.mytest">
- <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="24" />
- <application android:label="@string/app_name"
- android:hasCode="false">
- <activity android:name="android.app.NativeActivity"
- android:configChanges="orientation|keyboardHidden"
- android:label="@string/app_name" >
- <meta-data android:name="android.app.lib_name"
- android:value="native-activity" />
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- </application>
- </manifest>
- void android_main(struct android_app* app)
- {
- // ...
- }
- // more details ...
- // https://developer.android.com/reference/android/app/NativeActivity.html
Advertisement
Add Comment
Please, Sign In to add comment