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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:48:00+00:00 2026-06-13T06:48:00+00:00

I am developing an application and a problem occured during testing. The main activity

  • 0

I am developing an application and a problem occured during testing.
The main activity shows database records. When system memory is low (I push the home button and start a lot of apps) the garbage collector deletes the database records, and if I go back to the app, nothing is displayed on the activity (no records), and the app force closes on any actions (back, home, touch, etc.)

Any ideas to solve the problem?

  • 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-06-13T06:48:01+00:00Added an answer on June 13, 2026 at 6:48 am

    Problem solved. It came out when system memory was extremely low (I launched 10 other applications to test my application), and I solved it by using the singleton pattern on the database class.

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

Sidebar

Related Questions

I'm developing Java application using Eclipse IDE. problem is my PC is every low
I am developing application which is having Gujarati font in text-view but my problem
Iam developing one application.In that iam using the uilabels.And my problem is i need
I am Developing an application which consists of video-view,Here is my problem when I
While developing an application, I had the following problem. I wanted to return an
I'm developing android application with phonegap . Currently I'm facing one problem with inputbox
I have been developing the application for drawing, and I have the problem: my
I am developing an application using symfony2 and twig for templates. The problem comes
I am developing an xbap application and have run into a problem with users
I'm developing an Android application with a spinner. I have this problem: This is

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.