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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:12:33+00:00 2026-05-29T11:12:33+00:00

When i connect my android phone to my computer, compile my project in eclipse

  • 0

When i connect my android phone to my computer, compile my project in eclipse and upload my app to my deivce everything works fine. Including pressing the home button, if i press home, and come back to the app later the game state is saved and returns. However if I export my app (As if I was going to release it) and then let’s say email it to myself, and install it that way. Everytime I hit the home key and then reopen my app, it completely restarts my app. (doesn’t save state) is something different in the debugging verison of the app? Also note, if i install the app from eclipse, disconnect my device from the computer and run it that way, it still remembers the state like it should! Only the exported copy will not work correctly.

  • 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-29T11:12:34+00:00Added an answer on May 29, 2026 at 11:12 am

    It is up to you to save the state and restore it when you return to your app.

    It sounds like you are relying on the system not killing your app as your save state method.

    You should understand the Activity Lifecycle and work with it. The system will eventually shut down your app and reclaim its memory regardless of how you deploy the app to your phone.

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

Sidebar

Related Questions

In my project, I have to connect an Android mobile phone to a remote
I connect my android phone to eclipse. And I see these message from Logcat.
I am using a Bluetooth device to connect with the android Phone manually there
I'm having trouble connecting a socket from my android phone to my computer running
My team and I are trying to connect an Android phone to the WiFly
I can successfully connect through Bluetooth my Nexus One Android Phone to another Bluetooth
I have been asked to write an android app to connect to a http
Suppose I'm working on an Android application. Suddenly I connect my Android phone to
How to connect an android device to a wireless printer through native app.I mean
I am attempting to have my android phone connect to my servlet and send

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.