diff --git a/changeAppSettings.sh b/changeAppSettings.sh index d94b35077..16406a878 100755 --- a/changeAppSettings.sh +++ b/changeAppSettings.sh @@ -907,6 +907,9 @@ echo >> AndroidAppSettings.cfg echo "# Application needs to access SD card. If your data files are bigger than 5 Mb, enable it. (y) / (n)" >> AndroidAppSettings.cfg echo AccessSdCard=$AccessSdCard >> AndroidAppSettings.cfg echo >> AndroidAppSettings.cfg +echo "# Application needs Internet access. If you disable it, you'll have to bundle all your data files inside .apk (y) / (n)" >> AndroidAppSettings.cfg +echo AccessInternet=$AccessInternet >> AndroidAppSettings.cfg +echo >> AndroidAppSettings.cfg echo "# Immersive mode - Android will hide on-screen Home/Back keys. Looks bad if you invoke Android keyboard. (y) / (n)" >> AndroidAppSettings.cfg echo ImmersiveMode=$ImmersiveMode >> AndroidAppSettings.cfg echo >> AndroidAppSettings.cfg @@ -1338,6 +1341,10 @@ if [ "$AccessSdCard" = "n" ]; then $SEDI "/==EXTERNAL_STORAGE==/ d" project/AndroidManifest.xml fi +if [ "$AccessInternet" = "n" ]; then + $SEDI "/==INTERNET==/ d" project/AndroidManifest.xml +fi + if [ "$ImmersiveMode" = "n" ]; then ImmersiveMode=false else diff --git a/project/AndroidManifestTemplate.xml b/project/AndroidManifestTemplate.xml index 0901a2fc0..a0fed6caa 100644 --- a/project/AndroidManifestTemplate.xml +++ b/project/AndroidManifestTemplate.xml @@ -28,7 +28,7 @@ - + diff --git a/project/jni/application/xrick/AndroidAppSettings.cfg b/project/jni/application/xrick/AndroidAppSettings.cfg index 7340eab20..17bf0676e 100644 --- a/project/jni/application/xrick/AndroidAppSettings.cfg +++ b/project/jni/application/xrick/AndroidAppSettings.cfg @@ -135,7 +135,10 @@ AppUsesMultitouch=n AppRecordsAudio=n # Application needs to access SD card. If your data files are bigger than 5 Mb, enable it. (y) / (n) -AccessSdCard= +AccessSdCard=n + +# Application needs Internet access. If you disable it, you'll have to bundle all your data files inside .apk (y) / (n) +AccessInternet=n # Immersive mode - Android will hide on-screen Home/Back keys. Looks bad if you invoke Android keyboard. (y) / (n) ImmersiveMode=