Reputation: 81
I am beginner in android studio and When i click on button to transfer my activity from one to another then i am getting error:App is not responding? What's wrong with my code?
Here is first activity which is initial destination
Here is my Second Activity which is final destination
Upvotes: 0
Views: 2117
Reputation: 5251
Your button b variable it is bad instantiated, you should declared as follows:
b = (Button) findViewById(R.id.simpleProgramDisplayDate);
Upvotes: 3