PNG

How to change/modify Android WorxApp Icons

How to change/modify Android WorxApp Icons

Last week I explained how to modify WorxApp Icons on iOS Devices. This time I want to show you how to do this for the Android Apps since the necessary steps are slightly different.

For Android we need to decompile the .apk files before we can edit them. To accomplish this we need the apktool. You can download the tool here. After you finished installing the apktool we can directly start with decompiling the .apk file. In this example I moved the .apk to the same folder as the apktool and run the following command: ./apktool d applicationname.apk After the decompiling is finished you´ll find a new directory within your apktool folder.

Android WorxApp

Android WorxApp

In this folder you can edit the Icons as you wish. Since the .png for different resolutions are spread across several folders I searched for launcher which will show all relevant files. As you can see I spent a lot of time to customize the files 😉

Android WorxApp

Android WorxApp

After you are done you have to rebuild the .apk file. This will also be done by the apktool. You can start this process with the following command: ./apktool b applicationfolder applicationname.apk

Android WorxApp

Android WorxApp

Now you can wrap the newly created .apk as you are used to with the MDX Toolkit.

About Jens

My name is Jens Trendelkamp. I currently work as an IT Consultant at sepago GmbH. My fields of specialty are Application Delivery, SBC\VDI Solutions and Enterprise Mobility based on Products from Microsoft and Citrix.

How to change/modify iOS WorxApp Icons

How to change/modify iOS WorxApp Icons

I was asked how to modify the WorxApp Icons to match the Cooperate Identity Policy. To accomplish this you will need a Mac with XCode installed, an Image Editor like Gimp and of course the .ipa file you want to modify.

Let´s start with extracting the icons from the .ipa file. If you do this by simply extracting the images from the .ipa file you will get the following error in Gimp and similar Programs.

iOS WorxApp

iOS WorxApp

This is absolutely normal since these Images have been optimized. To undo this we need to “uncrush” them. I found a nice script by Peter Boctor which “uncrushes” whole .ipa files. The script can be found here.

Start the script with the .ipa file you want to edit.

iOS WorxApp

iOS WorxApp

After the script successful ended you will find a new folder named like the .ipa file and an Images at the end.

For a better overview I move the files i need to edit to a separate folder. Now you can now start to edit/replace the images as you wish.

iOS WorxApp

iOS WorxApp

After we have finished editing or replacing the images we want to “crush” them again. Since I ‘am a lazy guy I created a little script which “crushes” a whole directory.

#!/bin/sh

for png in `find $1 -name “*.png”`;

do

echo “crushing $png”

pngcrush -rem allb -brute “$png” temp.png

mv -f temp.png $png

done;

I also added the path to pngcrush binary to my Environment Variable

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/

iOS WorxApp

iOS WorxApp

You´ll start the script with the following command: ./crush.sh foldername

iOS WorxApp

iOS WorxApp

iOS WorxApp

iOS WorxApp

Your folder (in my example it´s called “png”) now contains “crushed” .png files which need to be moved to your original .ipa file. To do this I extracted the WorxMail Application folder from the .ipa/Payload folder. After that I opened the WorxMail Package by clicking “Show Package Contents”. Copy the modified Icons from your folder to the WorxMail Package and make sure you replace the files.

iOS WorxApp

iOS WorxApp

iOS WorxApp

iOS WorxApp

Of course you need to put the WorxMail Application back to the .ipa file. In my case I used WinZip and simply dragged the file to the correct place.

iOS WorxApp

iOS WorxApp

Now it´s time to wrap the app as usual with the MDX Toolkit and upload it to your AppController. If all worked well you can now install/update the customized app which hopefully looks better than mine J

iOS WorxApp

iOS WorxApp

About Jens

My name is Jens Trendelkamp. I currently work as an IT Consultant at sepago GmbH. My fields of specialty are Application Delivery, SBC\VDI Solutions and Enterprise Mobility based on Products from Microsoft and Citrix.

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close