Télécharger apktool.jar (le renommer si le nom est plus long) et le mettre dans C:/windows/
Copier toto.apk à la racine du C
Pour décompiler toto.apk :
Lancer cmd
cd \
Pour décompiler taper apktool d -s toto.apk
Le dossier se trouve à la racine du C:\
Editer le fichier manifest.xml avec notepad++
Pour permettre l’usage de l’application sur des grands écrans :
Entre le dernier tag uses-permission et le tag application, ajouter :
<supports-screens android:resizeable="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="false" />
Dans le tag application ajouter :
android:theme="@android:style/Theme.NoTitleBar"
Pour recompiler :
Lancer cmd
cd \
Saisir apktool b toto toto.apk
Le fichier .apk se trouve dans c:/toto/dist
Avec 7zip, ouvrir (ne pas dézipper) l’ancien apk et le nouvel apk
Copier le fichier "resources.arcs » et le fichier android-manifest.xml du nouvel apk vers l’apk d’origine (car il contient la signature).
Refermer 7zip
L’ancien apk modifié est prêt à être utilisé.
Trying to push the limits of App Inventor!
Snippets and
Tutorials from
Pura Vida Apps by
Taifun.