- Forum posts: 6
Jun 3, 2014, 6:54:44 PM via Website
Jun 3, 2014 6:54:44 PM via Website
As I am new to Android,and I am still working on Lynda Tutorials,I've been stuck on Explicit Intent tutorial.
The tutorial purpose is to create an edit text with a button next to it,then you enter some text in the EditText and click the button,so you go to another activity showing you the text that you have entered.
I've followed the tutorial step by step,and as a final result,I got the first screen working perfect in the emulator (I can see the EditText and the Button) ,so I enter some text and then click the button.What happens is that I am transferred to the next activity but without the TEXT appearing on the screen!!
You can take a look at the codes:
1) MainActivity Java Code:
2) Second Activity Java Code:
3) Main XML :
4) Second Activity XML:
5) Android Mainfest File:
End of Codes
This is my first contribution here and I hope that I can find some help from you guys
Thanks!
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.