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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:28:49+00:00 2026-05-20T22:28:49+00:00

Thank you in advance for any responses. I am facing rather a trivial problem.

  • 0

Thank you in advance for any responses. I am facing rather a trivial problem.
Hardware: Motorola (Android phone)

I am displaying an image in an imageview. The image itself is grabbed off a URI via ContentResolver. The problem is that whenever I tilt my mobile, the imageview gets blank. By tracing the log and variables I found out that the relevant URI goes back to its default (i.e. null) value whenever I tilt the mobile.

Of course there is a workaround for it i.e. using static variables. But I am wondering if there is another solution since I would really like to pass the URIs around in functions to do what I desire with my application.

Does anyone know what’s going on?

Regards.

  • 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-20T22:28:50+00:00Added an answer on May 20, 2026 at 10:28 pm

    Your activity is restarted automatically whenever the orientation changes between portrait and landscape. Check out these two articles for ways to handle this.

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

Sidebar

Related Questions

i have very serious problem if any tech expert can help...thank you in advance..
Thank you in advance for any responses. I am trying to have an EditText
Thanks in advance for any help you can provide on this issue! I manage
I am using c# .net. Thanks in advance for any help. I have searched
Thanks for any help in advance, I can't wrap my SQL skills around this
Greetings and thank you in advance for the help. I created a user control
I am new to programming and python so I thank you in advance for
This one has me pretty rattled so I thank you in advance for your
First, a thank you in advance. Second, this is my first post so apologies
what is webparts in asp.net? a simple example on webparts. thank you in advance.

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.