my program have more than 2 activitys, activity A,B,C...,and my
program
must launch from activity A,then A jump to B,B jump to C.now
everythign is
ok,but ,when i operate as flow:
  1.launch my program
  2.jump to B.
  3.press "home".switch to home
  4.long press "home",and select my program,switch to my program
  5.jump to C.
  6.open a dialog in C
  7.press "home".switch to home
  8 long press "home",select my program ,switch to my program
  9.exit my program
  10.long press "home",launch my program from history list. now my
program
launch from B,not A!

  I want launch my program from activity A everytime!


  this is my manifest file:
  <activity android:name=".A" android:label="@string/app_
name" android:clearTaskOnLaunch="true"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".B" android:launchMode="singleTask">
</activity>
<activity android:name=".C" android:launchMode="singleTask">
</activity>

-- 
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

Reply via email to