Android build: Version field in build dialog not used

Hi,

I noticed when analyzing the APK from the Corona Android build, that whatever is input in the Version field in the Build dialog doesn’t get put into the manifest file.
I’m assuming that the Version field in the build dialog is supposed to set the versionCode in the manifest since it doesn’t accept anything else than numbers.

Since the Version value in the Build dialog is not used, you have to manually modify the build.settings and specify a versionCode for this to be set in the manifest, otherwise the versionCode gets set to “0”.

Another problem is that there’s no way to enter the versionName property which is a string that can accept alpha-numeric content.
There seems to be some confusion about the meaning of the versionCode and versionName properties.

The versionCode is an integer number that must be incremented to a higher value every time an APK is submitted to the Android Market. Think of it as a build number, nothing else. This number is just a way for apps installed on a device to detect if an app needs updating. If a higher versionCode number exists in the Market than what’s installed on the device, then the device signals that an update is available.

The versionName is a string whose only purpose is to display that string to the user when they look at the info in Settings->Applications->Manage Applications. This string will be displayed as the version number for the app.

I usually start the versionCode property with 1 and increment by 1 for every update I submit. It’s just a build number not -really- a version number…
I set the versionName property to the version number to be displayed (like “1.0” or “1.0.1” etc).

I would appreciate if these issues could be fixed so that the APK’s generated by Corona wouldn’t have to manually be tampered with to correct them.

Best Regards,
Ingemar [import]uid: 70847 topic_id: 14285 reply_id: 314285[/import]