How can I get the versionCode
, versionName
, application icon and application label from an APK with PHP
I'm not that familiar with php so I can't provide any code, but the idea is:
AndroidManifest.xml
and <manifest>
tag for android:versionCode
and android:versionName
If I'm not wrong, APKs are simply zip files. And android packages will have some sort of XML file that will mention the version information.
In PHP, you can unzip as well as read XMLs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With