package="{{{app_package}}}"
android:versionCode="1"
android:versionName="{{{app_version}}}"
- android:debuggable="true">
+ android:debuggable="true">
<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="9" />
<!-- This .apk has no Java code itself, so set hasCode to false. -->
- <application android:label="@string/app_name" android:hasCode="false" android:debuggable="true">
+ <application
+ android:label="@string/app_name"
+ android:hasCode="false"
+ android:debuggable="true">
<!-- 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:label="@string/app_name"
- android:configChanges="orientation|keyboardHidden">
+ android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
+ android:configChanges="orientation|keyboardHidden"
+ android:screenOrientation="portrait">
<!-- Tell NativeActivity the name of or .so -->
<meta-data android:name=\"{{{app_package}}}\"
android:value=\"{{{app_name}}}\" />
var assets_dir = "{mainmodule_dir}/../assets"
if not assets_dir.file_exists then assets_dir = "{mainmodule_dir}/assets"
if assets_dir.file_exists then
- assets_dir = share_dir.realpath
+ assets_dir = assets_dir.realpath
var target_assets_dir = "{android_project_root}/assets"
if not target_assets_dir.file_exists then
toolcontext.exec_and_check(["ln", "-s", assets_dir, target_assets_dir])