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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:08:14+00:00 2026-05-27T05:08:14+00:00

Today I was testing my app (wich is a very simple note application) but

  • 0

Today I was testing my app (wich is a very simple note application) but some strange behaviour occur .

  • The app consists of a big ListView which displays all the notes and a button to make a new note (activity A).

  • When I press the button to “Add new note”,it takes me to the activity B
    (with all the fields like title and text).

  • When I press “Add” ,it take me back to the activity A and displays ok
    the new Note .

The thing is that I started pressing BACK and it began to take me “back in time” where some notes were still not created,until it reached the time they were 0 notes .

Since I am new to Android devel ,is this normal or is it something wrong with my app ?

  • 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-27T05:08:15+00:00Added an answer on May 27, 2026 at 5:08 am

    When you go from one activity to another then you should finish your activity and then start new activity.
    Try the below code:

    finish();
    startActivity(new Intent(CurrentActivity.this,NewActivity.class));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been testing my app for some time now without any problems. However, today
I was doing some testing and debugging of my Iphone app today and encountered
I didn't notice it until today during some testing locally on my pc, that
Today I decide to make a resolution which consist of testing my Java application
I am after some advice and pointers on integration testing for a web app.
We have an application that is undergoing performance testing. Today, I decided to take
While testing my application in today's release of iOS 5.1 GM, I noticed that
I ran into this today when unit testing a generic dictionary. System.Collections.Generic.Dictionary<int, string> actual,
(Not to be confused with Xunit , a popular .Net unit testing library.) Today
Today I ran XtUnit at a part of my unit testing framework to to

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.