1.显示跳转
A.class跳转
用例:
1 |
Intent it = new Intent(A. this ,B. class ); |
2 |
//it.putExtra("key","value"); //跳转时传的参数 |
3 |
startActivity(it); |
B.包名、类名跳转
用例:
1 |
Intent it= new Intent(); |
用例:
1 |
Intent it = new Intent(A. this ,B. class ); |
2 |
//it.putExtra("key","value"); //跳转时传的参数 |
3 |
startActivity(it); |
用例:
1 |
Intent it= new Intent(); |