Change start Activity

By default, almost all people use MainActivity  as top level Activity.

But, sometimes we want to change start Activity(Start activity means that when the application starts, this Activity show up first).

I change top Activity for testing or making test program.


Change AndroidManifest.xml

<activity android:name=".crypt.AESWrapKeyActivity">
        <action android:name="android.intent.action.MAIN" />

        <category android:name="android.intent.category.LAUNCHER" />

intent-filter is core part. Add action and category to change launcher Activity.
general activity doesn’t have that kind of intent-filter.