Mobile Phone Handheld Hardware Hardware Rick Rogers John Lombardo O'Reilly Media, Inc. O'Reilly Media Android Application Development, 1st Edition7.5. Version Your ApplicationAll applications submitted to Android Market must be versioned and named.
You do that with simple statements in AndroidManifest.xml, as shown in the following
segment of MJAndroid's manifest: <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.microjobsinc.mjandroid" android:versionCode="1"
android:versionName="1.0">
Obviously you want the version numbering and naming to make sense.
Android Market really only cares about the versionCode,
which needs to be monotonically increasing for each release of your
application, so a downloading device will know when to upgrade to new
versions.
 |
|
|
|
|