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 7080389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:47:22+00:00 2026-05-28T06:47:22+00:00

I have a splash screen , a GridView , a simple text view .

  • 0

I have a splash screen, a GridView, a simple text view.

On application start, I show the splash screen after which i call “finish()” to exit the activity and then start the “GridView” activity.

1st page: Grid View having 4 buttons, let's call it Home page..
2nd page: On click of 1st button, SAME grid view is called. But this time, there are 5 buttons.
3rd page: On click of 1st button, same grid view is called. This time there are 3 buttons.
4th page: On click of 1st button, it opens a simple text view, which has a text box and an "Home" button.

On home page, when i click the back button, I want the application to exit, or close…
But since the 1st, 2nd, 3rd page are still in the stack, I cannot just exit the application.

On my home screen, if i hit the “home” button of the tablet, the application exits. When i start the application again from the “Apps” option, the previously present screen is shown and not the splash screen!!!

I want it to show the splash screen.

  • 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-28T06:47:22+00:00Added an answer on May 28, 2026 at 6:47 am

    Call new screen using

    Intent intent = new Intent(activity,secondActivity.class);
    intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
    activity.startActivity(intent);
    

    When you hit home button , application get resume. so next time it open the same page. for this use

    @Override
    protected void onRestart() {
        // TODO Auto-generated method stub
        super.onRestart();
        startActivity(new Intent(Activity1.this,spalshscreen.class));
    }
    

    on restarting , you can also reset flag using Intent.FLAG_ACTIVITY_CLEAR_TOP if activity is in stack.

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

Sidebar

Related Questions

I have a splash screen in my application which show a splash image while
I want a splash screen to show while the application is loading. I have
hello all i have my splash screen which i want to show in landscape
I have a splash screen which appears for a few seconds before the application
My splash screen for my (very simple) Android application isn't showing. I have no
In a C# windows forms application. I have a splash screen with some multi-threaded
I have a really standard splash screen, just a simple Default.png, but for whatever
I have an application. First I display a splash screen, a form, and this
I have a splash screen on the application and on that form. I have
I have created a splash screen in which i want to create two buttons

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.