- Acquire the application and unzip the contents.
Modify any of these images in the res/drawable directory:
Filename | Resolution | Usage |
pw_eye_smal.png | 32x32 | The low-res application icon used when displaying the application |
pw_eye.png | 48x48 | The standard application icon used when displaying the application |
pw_eye_large.png | 72x72 | The high-res application icon used when displaying the application |
pw_logo_android.png | Logo used in application. Default is the PortWise logo. |
After the graphics has been updated a new application has to be created. These are the tools used to create the new application:
- keytool, jarsigner and zipalign (3:rd party tools).
- keytool and jarsigner comes from the JDK.
- zipalign comes from the Android SDK. Download and install SDK according to its documentation to use zipalign.
Remove the old signature by removing the META-INF directory.
Pack up the application:
- Zip up all the files into a zip file with the modified graphics.
- Rename the zip file to TruID-unaligned.apk.
Sign the application. All Android applications must be signed.
Generate key to be used for signing. It is important that the signature keys are safely stored.
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -validity 10000
Sign the .apk file
jarsigner -verbose -keystore my-release-key.keystore TruID-unaligned.apk alias_name
Align the signed apk.
zipalign -v 4 TruID-unaligned.apk TruID.apk