I need to modify preexisting .apk files present in the /data/app folder. After the modifications the signatures change in the Meta-INF folder. So in order to make sure the apk works properly I need to resign them with the correct md5sum.
Is it possible to resign the apks programmatically through java, generating private key and certs through code only?