Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7655977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:39:10+00:00 2026-05-31T12:39:10+00:00

I am writing an application in which there are 5 activity A,B,C,D,E,F.Activity A is

  • 0

I am writing an application in which there are 5 activity A,B,C,D,E,F.Activity A is a login screen when user login A invoke a screen which has four tab and each tab has a screen.I want when user move from login screen to Activity B pressing back button should not come to login screen until not logout.

My tab activity has four screen like first one is monitoring and other are chat,operators and controls.I want pressing back button does not come to first login screen until logout how can this possible.

Actually i want until the user logout pressing back button come to monitoring screen that come after login.If user close the application using home button and then again start the application come to monitoring window not the login screen.how can this possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:39:11+00:00Added an answer on May 31, 2026 at 12:39 pm

    You should say finish() and then go to your next Activity from loginscreen

    // your click

    finish();

    Intent i = new Intent(getApplicationContext(),NextActivity.class)
    startActivity(i);

    From your last activity say i.addFlags(Intent.FLAG_NO HISTORY) and call loginscreen

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing an application in which there will be multiple departments and for each
I am writing an application which produces invoices. I was wondering it there was
I'm writing an application which has to be configurable to connect to Oracle, SQL
I'm writing an application which plays multiple sounds concurrently, each sound needs to be
I'm writing an application which utilises tables which can be printed if the user
I'm writing a Java application which requires a number of resource files (there will
I am writing an application which has a JLayeredPane (call it layers) containing two
I am writing an application which contains some graphs drawn in OpenGL ES. each
I am writing an application which contains some graphs drawn in OpenGL ES. each
I'm writing a MATLAB application which has many functions spread over different files. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.