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

2010-04-26 Thread jgostylo
This is on a Samsung Moment running 1.5.

I have verified that my Nexus One running 2.1 update 1 does not
produce this issue.  One other person that tested this out for me was
also having this issue and they were on an HTC Hero.

Maybe this is a 1.5 issue?

Jake

On Apr 26, 11:28 am, Mark Murphy mmur...@commonsware.com wrote:
 jgostylo wrote:
  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?

 Which device are you testing this on?

 I seem to recall some HTC Heros having a problem similar to this one,
 several months ago.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Android Training...At Your Office:http://commonsware.com/training

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-04-26 Thread Mark Murphy
jgostylo wrote:
 This is on a Samsung Moment running 1.5.
 
 I have verified that my Nexus One running 2.1 update 1 does not
 produce this issue.  One other person that tested this out for me was
 also having this issue and they were on an HTC Hero.
 
 Maybe this is a 1.5 issue?

Possibly.

My memory is hazy, but I seem to recall the problem is tied to some
amount of caching that's going on.

Have you tried the upgrade, followed by a reboot? IIRC, the Hero-related
issues cleared up after a reboot. If so, then we're probably talking
about the same issue.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Online Training: 10-14 May 2010: http://onlc.com

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en