Monday, April 26, 2010

[android-developers] Changing Launch activity seems to not work on Update

For a new update I am changing the start-up workflow for the
application. Part of this is setting the
"android.intent.category.LAUNCHER" from one activity to another in my
manifest.

When I run an update from what is on the market to what I download
from my website the application starts in the Activity where it used
to start before the update. When I uninstall the application and
install it from the same package I got from my website it starts in
the Activity where I have now specified it to start. Shorter version:
Update fails to update launching activity, uninstall-reinstall does
update the launching activity.

Is this a known issue? Do I really need to add logic to correct for
people who update the app instead of installing fresh? Asking people
to uninstall for an update is not a viable option. Is there something
I can do to clean out whatever is getting saved that is causing the
app to launch with the incorrect Activity?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment