Android 用Intent實現活動之間數據的傳遞

好了,你們,基本最最基本的經過一個Intent啓動一個活動你們都懂了,那咱們學一下,那個那個,就是Intent之間數據的傳遞。java 先看看當前活動向下一個活動傳遞數據: 這裏用到一個putExtra()方法,咱們呢,在menu裏再加一個選項。web case R.id.chuandi_hw: String hw = "hello world"; Intent intent4 =
相關文章
相關標籤/搜索