Explicit Intent Problem

  • Replies:0
SMR SKL
  • Forum posts: 6

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:

image

2) Second Activity Java Code:

image

3) Main XML :
image

4) Second Activity XML:

image

5) Android Mainfest File:

image

End of Codes

This is my first contribution here and I hope that I can find some help from you guys :)

Thanks!

Deactivated Account

Reply