tags:

views:

831

answers:

1

Any android developers had any success changing the package name of your application (in the manifest) of an application already being distributed in the Market?

During my upgrade progress, I decided to change the package name slightly, which means that android identifies it as a new application. So, I suppose saved preferences will be lost, but I'm really hoping there are no other "surprises" for upgrading users.

Cheers!

+4  A: 

It's not that the saved preferences will be lost, it's just that Android will set it as a completely new and seperate program which cannot access the old application's preferences.

However, if you sign your applications with the same signature and and give them the same userId then they can share information and you could migrate the original application's information to the new one.

Will
So, if they have the same signature, will the market at least remove the old application? I'm worried about the users being left with two copies!
Ralphleon
Nope. You can have multiple applications with the same signature. You could remove the old application from Market, but you'll still have the installed base.
Will
Also, any Market reviews will be lost and there won't be a smooth upgrade since it's technically seen as a new app.
fiXedd