Hi,
I have two activities in an application Activiy1 and Activity2 where
Activity1 is the launcher.
i have set clearTaskOnLaunch=true for activity one using below code
<activity android:name=".App1_Activity1"
android:label="@string/app_name"
android:clearTaskOnLaunch="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
I will launch the application, then from Activity 1 ->Activity2
Then i press Home key, Long press home key and select the application
again, it is showing Activity2 and not Activity1 which is the root
activity.
Am i doing wrong somewhere? If no, why is the behavior not correct.
--
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