I'm wondering if I can just add an extra intent filter to the new LAUNCH activity and maybe the launch icon will be able to trigger the new activity...
I'm not home now so I can't give it a try :P Thanks Mark for your help! On Jul 14, 1:49 pm, Mark Murphy <[email protected]> wrote: > On Wed, Jul 14, 2010 at 1:32 PM, Moto <[email protected]> wrote: > > I'm currently running into an issue that makes sense but I'm not too > > sure how to resolve it... > > > Here is the scenario: > > > App v1 > > icon LAUNCH is set to ActivityMain from the manifest file > > > App v2 > > icon LAUNCH is set to ActivityAll from the manifest file and > > ActivityMain no longer exists > > > After updating to App v2 the app icon fails to launch the application > > saying it doesn't exist! > > Correct. The launcher, shortcuts, and everything will continue to > point to the original activity. The launcher will be fixed on the next > reboot, as you have discovered. Users will have to re-create any > shortcuts they made, or anything else they tied into your application > (e.g., Locale profile to start your activity under certain > conditions). > > > So how can I refresh the applications package or better the launch > > icon and shortcut icons so that my users don't experience this after > > an upgrade of my newest app version? > > Do not change your start activity. If needed, have ActivityMain call > startActivity() on ActivityAll and then finish(). > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

