[android-developers] Re: Strange behavior when launching app from Market

2011-07-14 Thread Alan Jeon
Market app seems to be using getLaunchIntentForPackage from PackageManaer. You need to add activity that have CATEGORY_INFO to handle launch from market notification. :) Check reference from

[android-developers] Re: Strange behavior when launching app from Market

2010-05-28 Thread Max
Hey! I was having exactly the same problem Rico described, as you can see in my thread ( http://groups.google.com/group/android-developers/browse_thread/thread/76fa8600833f5348/59210de050c9bd20 ). After some investigation, I found that most launchers (including Launchalot :P) start activities

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-28 Thread TreKing
On Thu, May 27, 2010 at 6:07 PM, Rico Yao rico@gmail.com wrote: What I'm saying is that when you launch apps through Launchalot, it doesn't create multiple instances of the apps it's launching. Ah, gotcha - I didn't look deep enough to see the point of Launchalot. I was just trying to

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-28 Thread Rico Yao
Thanks for the suggestions. Unfortunately FLAG_ACTIVITY_CLEAR_TOP doesn't really work for my app because I need multiple instances of the same activities. I guess I'll just ask my users to live with this for now. Again, thanks. On Fri, May 28, 2010 at 8:06 AM, TreKing treking...@gmail.com

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-28 Thread TreKing
On Fri, May 28, 2010 at 1:30 PM, Rico Yao rico@gmail.com wrote: Thanks for the suggestions. Unfortunately FLAG_ACTIVITY_CLEAR_TOP doesn't really work for my app because I need multiple instances of the same activities. I guess I'll just ask my users to live with this for now. This may

[android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Rico
Thanks for the response. When you say default, do you mean it's the default setting in the app being launched, or the app that is launching? I've played around with launcher code samples that others have posted, and they don't do that. Example:

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread TreKing
On Thu, May 27, 2010 at 4:20 PM, Rico rico@gmail.com wrote: When you say default, do you mean it's the default setting in the app being launched, or the app that is launching? Default behavior for the Android system. Unless otherwise specified via launch mode flags, different intents

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Rico Yao
On Thu, May 27, 2010 at 2:43 PM, TreKing treking...@gmail.com wrote: On Thu, May 27, 2010 at 4:20 PM, Rico rico@gmail.com wrote: When you say default, do you mean it's the default setting in the app being launched, or the app that is launching? Default behavior for the Android system.

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Mark Murphy
Rico Yao wrote: That app (Launchalot) is a launcher app (i.e. it just launches other apps). I'm not saying that Launchalot doesn't have multiple instances of itself created if launched from the Market or notifications bar. It probably does. Anyone who puts Launchalot on the Market should