Solved

android button send text to new activity

Posted on 2014-02-08
1
448 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 500 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
looking for s6 galaxy with removable battery 4 94
Samsung Android Marshmallow + autostart apps on boot 7 208
spam sms 9 36
android secure ftp 3 38
I tend toward trying the newest hardware and software.  Thiss sometimes works out to my benefit, and sometimes not.  Because I downloaded and installed Android 5.x (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.htm…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

803 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