2012-12-03 47 views

回答

2

有專門的功能

Intent.putExtras(捆綁演員)

希望這有助於 塞爾

+0

我不知道我怎麼錯過了 - 但是這正是我想要的。謝謝! –

2

爲什麼不呢?由於存在3個活動:ActivityA,ActivityB和ActivityC ...

活動A

Intent intentA = new Intent(this,ActivityB.class); 
intentA.putExtras(new Bundle()); 

活動B

Intent intentB = new Intent(this,ActivityC.class); 
intentB.putExtras(getIntent()); 

活動Ç

Intent intentFromA = getIntent(); 
// Consume and process the Bundle here. 
相關問題