Skip to first unread message

Franck Davaine

unread,
Apr 3, 2015, 10:11:43 AM4/3/15
to mitappinv...@googlegroups.com
Hi everybody,

sorry for my bad level of english, i'm french.

I am developping an educative app for my students (i'm a mathematics teacher).

I would like my app to be less ugly on a tablet screen.

I've found tutorials to use apktool to modify android-manifest.xml to do that but when i've finished, my application can't be installed on my devices.
There is a message like "app is not installed".

Can anybody help me ? Thanks

For the method i used, it's here (in french, sorry) :

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

 

Pour conserver la signature du apk d’origine

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é.

 


Taifun

unread,
Apr 3, 2015, 10:34:27 AM4/3/15
to mitappinv...@googlegroups.com
see the following threads
Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Reply all
Reply to author
Forward
0 new messages