Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

android button send text to new activity

Posted on 2014-02-08
1
Medium Priority
?
461 Views
Last Modified: 2014-03-01
I am studying android development.
I have a button in my main activity and when the user clicks the button I want some text to display in a textview in another activity. How do I do this. I've read up on intents but can't seem to grasp how to start. Thanks.
0
Comment
Question by:centem
1 Comment
 
LVL 13

Accepted Solution

by:
Molnar István earned 2000 total points
ID: 39852393
Hi
you can use extras to send message from one activity to anothet
http://stackoverflow.com/questions/18146614/how-to-send-string-from-one-activity-to-another

hope it helps
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The case of the missing phone talks about the way a small electronic gadget (the mobile phone) has penetrated into our lives and has made us addicted to it.
If you use the Google Now Launcher, as an aftermarket add on, have a Samsung Note 5 and are worried about power consumption be wary of using the ultra power saving mode.  Here is what happened to me when I made the mistake of trying this out...
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question