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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:29:17+00:00 2026-05-20T12:29:17+00:00

I am a new app developer and I have created a quiz game in

  • 0

I am a new app developer and I have created a quiz game in my app. The game is to be played in portrait mode. After the game is over, the score is calculated and is shown in the score page. When I click ok, a pop up window appears and asks for the name. I have placed an option to share the result in Facebook and Twitter.

Now when I enter the name and click ok, a page with score name and share button appears. If I click share, it moves into Facebook or the other, but if I change over to landscape mode, my app crashes.

This is the same if the game is finished in landscape and switched over to portrait. How to overcome this issue? Please help me.

  • 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-20T12:29:18+00:00Added an answer on May 20, 2026 at 12:29 pm

    It would help if you posted some info about the crash, such as what shows up in LogCat. However, the usual suspect here is that you aren’t handling the activity lifecycle correctly. When the orientation changes, your app’s activities are shut down and restarted. You need to handle this correctly in your code. For details, read these articles and guide docs:

    • Handling Runtime Changes
    • Faster Screen Orientation Changes
    • Alternate Resources
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hi i am a new android developer. In my app i have created a
I have a new app I'll be working on where I have to generate
I have an app that needs to open a new window (in the same
I have a new web app that is packaged as a WAR as part
I'm architecting a new app at the moment, with a high read:write ratio. At
I'm thinking about trying out MVC later today for a new app we're starting
I'm building what could be called the DAL for a new app. Unfortunately, network
When supporting a new web app in an enterprise environment, it is often necessary
When building a new iPhone app in Xcode, I'm getting this error: codesign error:
I am working on the admin section of a new rails app and i'm

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.