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:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
2) Second Activity Java Code:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
3) Main XML :
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience. (Kindly check attachments)
4) Second Activity XML:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
5) Android Mainfest File:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
End of Codes
This is my first contribution here and I hope that I can find some help from you guys
Thanks!
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:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
2) Second Activity Java Code:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
3) Main XML :
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience. (Kindly check attachments)
4) Second Activity XML:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
5) Android Mainfest File:
As a new user you cannot yet post links or images. This is an anti-spam measure, we apologize for any inconvenience.(Kindly check attachments)
End of Codes
This is my first contribution here and I hope that I can find some help from you guys
Thanks!