Tuesday, November 22, 2016

How To - build, sign and zipalign the already generated Android app apk file with existing key store file?

This process assumes you have html android application which you want to build, sign and zipalign in order to publish it to play store.
Build the apk using cordova command line:
1.       Open command prompt and go to the app folder path.
2.       Run the following command to generate release build
a.       Cordova build android –release
Sign the app with existing keystore
1.       Open command prompt and go to jarsigner path
2.       Jarsigner will be usually found in jdk\bin folder.
3.       Run the following command
a.       <JDK path>\bin>jarsigner -verbose -keystore <keystore file path> <apk path with apk file name> <key store alias>
4.       You will be prompted to enter the password of the key store file. Enter it.
5.       The apk will be signed but no new apk will be generated instead it’ll be overwritten.
Zipalign the apk file
1.       Open the command prompt and go to zip align path which can be found in android-sdks\build-tools\<version>
2.       Run the following command
a.       C:\Users\Yogeshwar.NR\android-sdks\build-tools\23.0.3>zipalign -f -v 4 <signed apk path> <to be generated apk file’s path>
3.       A new apk file will be generated in the specified path.

The output apk file of the last step can be published to play storeJ.

Tuesday, May 10, 2016

Why Professionals should not stop learning?

Every professional is unique in their own way of doing tasks. Each way can be better than another one or it cannot be. But they are unique that's the reason they should not stop learning.
By following or studying a way of doing things professionals can get some idea or can improve the existing system and this is the reason behind the tech we are enjoying now. From Stone age to modern Tech age the way of doing things studied and improved and still advancing by Professionals.
This is the reason why Professional should not stop learning. If they learn that is not only useful for them to improve self also they can be part of future.
one more thing - You become Professional by learning.
I am not afraid of storms for I am learning how to sail my ship. - Louisa May Alcott