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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:05:07+00:00 2026-06-06T03:05:07+00:00

I am relatively new to the Eclipse & ADT plugin world, so any answers

  • 0

I am relatively new to the Eclipse & ADT plugin world, so any answers can you please explain what it’s doing? It would be very helpful.

Basically, I have a list in one activity that will be populated by a HTTP request from a database API, this I am still working on. However, what I wish to know, is am I able to take the string in the ListItem and give that to a TextView in the next activity?

So for example, I tap ‘Record 1’ and it takes ‘Record 1’ and puts it inside a variable, then sends the user to the next screen, and inserts the variable into a TextView. Is this possible?

Thank you.

  • 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-06T03:05:09+00:00Added an answer on June 6, 2026 at 3:05 am

    Get what you want from the adapter, then put that into the Intent that starts the new activity:

        listView.setOnItemClickListener(new OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
                String string = parent.getAdapter().getItem(position);
                Intent intent = new Intent(this, nextActivity.class);
                intent.putExtra("text", string);
                startActivity(intent);
            }
        });
    

    In the new Activity you then get the Intent that started the new Activity and get the String you put into it:

    String data = getIntent().getStringExtra("text");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im relatively new to the Android world but I have a quick question. I
I'm relatively new to Java, eclipse and android so this could be a completely
Eclipse 3.5 has a very nice feature to generate Java hashCode() functions. It would
I am relatively new to Eclipse. When I build my project in Eclipse, I
I'm relatively new to C & C++ and stuck at compiling (or should I
Relatively new to using database and for some reason I can't get this 'execute'
I relatively new to using Eclipse with the Android SDK. Whenever I encounter an
I'm new to eclipse plugin development, and I inherited some Eclipse plugin code and
im relatively new to ROR, and would like some help with the following code.
I'm a relatively new developer who uses the Force.com IDE on eclipse. What are

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.