You will break any shortcuts that have been made to that activity (or other explicit intents that have been made to it, though for main/launcher a shortcut is by far the most common case).
On Tue, Jul 13, 2010 at 6:08 AM, Justin <[email protected]> wrote: > I think I already know the answer to this, but I just wanted to > confirm (I think no horrible ramifications): > > Are there any ramifications to changing the "MAIN"/"LAUNCHER" tags in > the manifest to a different activity? See example below: > > (original manifest segment) > ----------------------- > <activity android:name=".MyAppMain" > android:label="@string/app_name" android:theme="@android:style/ > Theme.NoTitleBar"> > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > <category android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity> > <activity android:name=".MySecondActivity" > android:label="@string/numbertwo" > android:theme="@android:style/Theme.NoTitleBar"> > </activity> > ------------------------ > > > (new manifest segment) > ------------------------ > <activity android:name=".MyAppMain" > android:label="@string/app_name" android:theme="@android:style/ > Theme.NoTitleBar"> > </activity> > <activity android:name=".MySecondActivity" > android:label="@string/numbertwo" > android:theme="@android:style/Theme.NoTitleBar"> > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > <category android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity> > ------------------------ > > Thanks, > > Justin > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

