Note that there are some explanatory texts on larger screens.

plurals
  1. POKill activity when it comes to foreground
    primarykey
    data
    text
    <p>i m writing an application n stuckup with one problem.I have three activity A,B and C. when i goes from activty A to B and B to C and if i press menu button on device.my application goes into background state. when i reopen application it shows Activity C. I want when i reopen my application it should shows Activity A instead of any other activity from Activity stack. I have gone through some activity lifecycle method and try to override it.i have override onStart() ,onPause() method and finsh activity C as well as Activity B and the problem i m facing is when i go from Activity C to activity D activity C finish all background activity n m not able to go back to acitvity C on finish of Activity D. Can anyone help me how to show specific acitivity on resume of application?? thansks in advance.</p> <p>here is my manifest.xml</p> <p> </p> <pre><code>&lt;uses-sdk android:minSdkVersion="4" /&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;uses-permission android:name="android.permission.READ_PHONE_STATE"/&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt; &lt;application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" &gt; &lt;activity android:label="@string/app_name" android:name="com.buttonpay.Login" android:screenOrientation="portrait" android:clearTaskOnLaunch="true" &gt; &lt;intent-filter &gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".ButtonPayActivity" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;!-- HomeTab Activity --&gt; &lt;activity android:name="com.buttonpay.home.Utilities" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.Top_up" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.HomeScreen" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.MyAccount" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.TransactionHistory" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.TransactionDetailsActivity" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.TransactionList" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name="com.buttonpay.home.BusinessSummaryActivity" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;activity android:name=".home.MobileMoneyActivity" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;!-- balance tab Activity --&gt; &lt;activity android:name="com.buttonpay.balance.BalanceTab" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" /&gt; &lt;!-- Favouritetab Activity --&gt; &lt;activity android:name="com.buttonpay.favourite.FavouriteTab" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" /&gt; &lt;!-- ComingSoon --&gt; &lt;activity android:name="com.buttonpay.home.ComingSoon" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;!-- Settings --&gt; &lt;activity android:name="com.buttonpay.settings.SettingList" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:screenOrientation="portrait"/&gt; &lt;/application&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload