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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:11:33+00:00 2026-05-23T16:11:33+00:00

So I am working on a simple android Tetris type game. On the first

  • 0

So I am working on a simple android Tetris type game. On the first excecution of the app (from eclipse) everything works just as expected. However if I exit the app and launch it again from the phone this time I see a strange bug. There is a ghost piece that moves down the playing field, but is not actually visible. This piece causes problems because it affects the underlying grid so it takes up space, but is not actually visible. The app will keep generating these ghost pieces as well as the actual pieces the user should be seeing. It seems like the app is not entirely being killed when I exit. Any advice?

  • 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-23T16:11:34+00:00Added an answer on May 23, 2026 at 4:11 pm

    You probably have some static variables.
    If you exit and enter again those statics will still hold the old values.

    You can check it by calling System.exit(1) in onDestroy just for testing.

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

Sidebar

Related Questions

I'm new to android game development. I currently working on a simple android app
Hi i'm working on a simple boot animation app for my first app just
I'm working on a simple android live wallpaper, I'm following chapter 12 from Hello,
I'm working on a relatively simple Android app. I want it to have an
I'm working in a android project the idea is simple: I just need to
I'm working on my first android app and have an SQLite database set up
I've been working on a GUI for and Android app. Everything was going ok
I'm just trying to get a simple test app working with AlarmManager. public class
I'm working on a simple android app in which I want to, once the
I was working on a simple bubblewrap app in order to learn the android

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.