I am really new to android. And my English speaking is not good. So,I was going to get a username using an EditText and set it to a TextView But the problem is that the EditText is in the first class (MyActivity),and the TextView is in the second class(MyAcyivity2).
I did everything such as FindViewById and....
but when I set on a click listener :
Textview1.setText(EditText1.getText())
and open the app, by clicking on button it says: Unfortunately app has stopped.
what to do?