Thanks for trying Crosswalk. You can remove permissions with apktool. 1, decompiled the apk Apktool d [apk name here].apk
2, You must keep the android.permission.ACCESS_NETWORK_STATE for Crosswalk to avoid crash. Can’t detect network if you remove android.permission.ACCESS_WIFI_STATE. Can’t choose file if you remove android.permission.INTERNET. android.permission.WRITE_EXTERNAL_STORAGE can be removed if you don’t use shared mode. You can open the AndroidManifest.xml in the decompiled directory, and delete the line with the permission. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 3, recompiling the apk Apktool b [name of folder of apk you decompiled] [desire name of new apk file].apk 4, sign the apk Java –jar signapk.jar certificate.pem key.pk8 [name of apk you just copied].apk [another name].apk More information in https://www.reddit.com/r/Android/comments/11852r/how_to_modify_an_apk. You can also try to use Crosswalk plugin in Cordova, there are no those additional permissions. Cordova plugin add cordova-plugin-crosswalk-webview Thanks, Junwei. From: Crosswalk-help [mailto:[email protected]] On Behalf Of Irbis Sent: Sunday, September 06, 2015 4:36 PM To: [email protected] Subject: [Crosswalk-help] CrossWalk14+XDK+Construct2: Problems with permissions Hello! I have a problem. I've made a game using Construct 2 game engine. Then I've used the Intel XDK software to export the game for mobiles, using Crosswalk14. The game runs suprisingly well but I have problem with Permissions. Crosswalk14, by default, sets all sort of permissions. Most of which are needless in my case. So I would like to get rid of most of them. But I don't know how. I've figured out, and was also advised, to do so by editing the AndroidManifest.xml file. But either time I do that, the App refuse to install on Android. I tried doing the modifications using notepad, notepad++, OpenOffice, WordPad. Every time with the same result. So I am either using the wrong software to edit it, or I am doing something wrong in general. Do you guys know how can I get rid of those permissions? I need to add - I am not a native programmer. So I don't know how to code directly. Hence why I am using Construct 2. The matter is quite urgent because I am supposed to p[publish the game tomorrow Monday the 7th. But I cannot do so with those permissions in check. The Google Play users will flame me to the ground. Its a simple action game. If such a game would have all those permissions it would look like a spyware device. And people on Google Play are exceptional careful when it comes down to this. So they would discard the game even before seeing the Splash screen. Best Regards Radek
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
