Bumping one time... On Sep 2, 1:46 pm, modaddy <[email protected]> wrote: > Hello, > > I'm trying to figure out how my Activity can detect if it was launched > by analiasas opposed to by the main icon. Is it possible to do > this? > > e.g. In my manifest file, I have: > <activity-aliasandroid:name="alias1" android:label="alias1" > android:icon="@drawable/icon" > android:targetActivity=".multipleEntryPointTestActivity"> > <intent-filter> > <action > android:name="android.intent.action.MAIN" /> > <category > android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity-alias> > > <activity-aliasandroid:name="alias2" android:label="alias2" > android:icon="@drawable/icon" > android:targetActivity=".multipleEntryPointTestActivity"> > <intent-filter> > <action > android:name="android.intent.action.MAIN" /> > <category > android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity-alias> > > alias1 and alias2 appear as expected in the Launcher, but I don't see > any way in multipleEntryPointTestActivity to tell which of these icons > launched the application. Any pointers? > > Thanks, > Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

