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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:33:31+00:00 2026-06-05T11:33:31+00:00

I need Activity A to retrieve the string value from a textview in Activity

  • 0

I need Activity A to retrieve the string value from a textview in Activity B. The catch is I don’t want Activity B to send the data, I just want Activity A to reach out and grab the data from B. I understand about Bundles and Intents, but the problem I’m having is that every time Activity B is accessed, it sends the bundled intent to A. I don’t want that to happen, I just want Activity A to grab the string from Activity B’s textview whenever Activity A is accessed. I’m using Android 2.2 and SDK 8.

  • 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-05T11:33:34+00:00Added an answer on June 5, 2026 at 11:33 am

    If I understand it correctly, your problem is that Activity A and Activity B are not talking so you need to access a certain data from A without involving B.

    Imho you can solve this problem saving the data somewhere that is shared by both Activities.
    You can use one of the options listed here in the Data Storage chapter:

    http://developer.android.com/guide/topics/data/data-storage.html

    I would go with shared preferences if it’s just a simple string.

    That said, it’s not really clear what you want.

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

Sidebar

Related Questions

I need to retrieve a value from the AndroidManifest.xml file, stored as a meta
In my application i need to get a value from an activity to a
I don't need a strict code related answer I just need somebody to tell
I need to retrieve some some raw HTML from a certain part of an
world! I'm building an application that has to retrieve data from a server in
world! I'm building an application that has to retrieve data from a server in
I'm getting data from DB and displayed in a GridView fine. But I need
I retrieve the device ID in my main activity by doing: String UDID =
i have an activity that needs another class' service to retrieve some data (DataClass).
I've got some Asynchronous cleanup activity I need to do as my Qt application

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.