Tuesday, January 28, 2014
android client gets the version number apk files on the FTP server
I will now install APK files stored on an FTP server, check the FTP client on the mobile version number is higher than the version number of the mobile device, if there is a new version of the FTP, then download the apk to the mobile terminal, how to get on FTP The APK version number, FTP with only one apk installation file
Reply:
If you want to download the entire APK to determine the version number, the price is not too much points, phone traffic valuable ah.
Usually with a small text file or xml file to determine the version number.
Reply:
We are all on the server and put an xml file, and read this file to determine whether or not to upgrade
Reply:
Ah, I thought back to this idea of a problem
I began to think after extracting apk file, reads the configuration file, but it does not seem to be read remotely
Reply:
Why not get hold of the interface it?
Reply:
The server supports HTTP, it is theoretically possible to support this feature.
Need to resolve their landlord zip format,
Then AndroidManifest.xml codecs, and then determine the version number.
Just download the stored data interval ZIP Index of area and AndroidManifest.xml.
Loss of flow is not.
In fact, the second floor is the most convenient way:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment