I want to install/uninstall
apps silently without user confirmation dialog. I tried two solutions, rooted device and install app in system directory, but found a better solution mentioned in this site.
To achieve that first you have to obtain the certificates that were used to sign the Android OS installed on the device – a pair of certificates (.pk8 + x509.pem) – to generate a java certificate.
The certificates pair (platform.pk8 + platform.x509.pem) can be found under {Android Source}/build/target/product/security.`
I downloaded the certificate pair from source code for 4.1.2 android version and used them to sign my application but it doesn't work for mr.
Can anyone please explain how I can get those certificates from the ROM
of my device or is there another solution?