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
您的按钮b变量实例化不好,您应该声明如下:
b = (Button) findViewById(R.id.simpleProgramDisplayDate);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.