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

  • Home
  • SEARCH
  • 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 7012149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:13:06+00:00 2026-05-27T22:13:06+00:00

http://www.devx.com/wireless/Article/39101/0/page/2 I have followed this tutorial and got it to work and everything. now

  • 0

http://www.devx.com/wireless/Article/39101/0/page/2

I have followed this tutorial and got it to work and everything. now i am working on my own stuff after getting the basics down. I dont understand though how i can change the text (above the part the user inputs their name) so a string that i have defined withing the .java file. I want to be able to change it so its like a question, the person will type the answer and hit the button, then it will say if it is correct or not. Then i will load a new string into the app and continue that process. Any ideas on how to just get text out there that i can change by just setting it equal to a new string or something like that?

EDIT:
My code right now is very sloppy, i have some random code in there commented out along with phsuedo code and all that jazz, it is unreadable if you are not me atm.

I guess my question is, How can i get a string that i create in the .java file to show up on the app UI? example:
String str = “Hello there!”;
output str into UI

  • 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-27T22:13:06+00:00Added an answer on May 27, 2026 at 10:13 pm

    How can i get a string that i create in the .java file to show up on
    the app UI?

    I’m assuming you want to display it in a TextView. If so, you can do the following:

    String str = "Hello there!";
    private TextView text = (TextView) findViewById(R.id.textViewId);
    text.setText(str);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen the following links before posting this question http://www.devx.com/wireless/Article/40792/1954 Saving Android Activity
I have created iphone bluetooth chat application using following tutorial:http://www.devx.com/wireless/Article/43502/1954. It works well.But when
I'm trying to learn this tutorial http://www.devx.com/dotnet/Article/28678/1954 in C#, I have created the datatables
I have created a dataset with the C# designer following this tutorial http://www.devx.com/dotnet/Article/28678/1954 ;
http://www.chris-wang.com/ If you hover over the textual navigation words on this page, you'll see
http://www.stellarwebsolutions.com/en/articles.php I just got the .pem to work with paypal but I cannot find
http://www.interact-sw.co.uk/iangblog/2004/04/26/yetmoretimedlocking Why is this line needed? System.GC.SuppressFinalize(tl.leakDetector); I would have thought the finalizer should
http://www.ericmmartin.com/projects/simplemodal/ There's two examples near the bottom of the page that show how to
http://www.html5canvastutorials.com/webgl/html5-canvas-webgl-plane-with-three-js/ In this example its just a rotating plane. I'm an html 5 beginner
http://www.leandrovieira.com/projects/jquery/lightbox/ sample so i have get images in while loop here is my code

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.