如何实现Android Studio 里点击按钮然后进入另一界面,然后可以输入文字并保存

操作代码该怎么写?本人想做个手账类的app,新手求大神指导。

第一个功能跳转页面
intent 就能实现

从MainActivity 跳转到SecondActivity
Intent intent = new Intent(MainActivity.this,SecondActivity.class);
startActivity(intent);

第二个你的意思有点模糊
如果是当前页面输入文字后在下一个页面获取
就可以使用buddle 绑定,通过intent 方式

  Intent intent = new Intent();
       Bundle bundle = new Bundle();//新建Bundle
       bundle.putString("name", "zhangsan");//把文本内容绑定入bundle,获取是对应的,类似键值对,键key:name,值value:zhangsan
       bundle.putString("country", "china");
       intent.setClass(ActivityMain.this,Second.class);
       intent.putExtras(bundle);
       startActivity(intent);         

如果是输入的文字保存到数据库,所有的页面都能访问(此时访问是发送请求从数据库获取)
那就连接数据库