Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best name for versioncode and version name

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to update my application in google play.should i use 2 as a version name and version code?
anyway it doesn't allow to update with version code1.
 
Lionel Gosseries
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://support.andromo.com/kb/distributing/how-to-update-your-app-in-google-play

Update your Version

In order to update your application in Google Play you will need to increase your application's version first. You can adjust this setting from the "App Info" tab when you are editing your project. After updating the version build your app again and download the new Android Package file (APK) the represents your updated application.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The version code needs to be a monotonically increasing integer. The version name can be anything you want it to be - you may want to use the generally recognized x.y.z notation.
 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tnx all.anyway after uploading 2nd version

1)Does it automatically ask to updated to the new version or we have to write the code for it?(when user has internet connection )
2)when user try to install new version does it update or install new version as a new application ?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to write any code. When the user next visits the Play Store, the app will be listed as having an update available (at which point the user can choose to update).

It's an update - the old app will be gone, but all data and preferences are preserved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic