2011-11-17 34 views

回答

0

哎只是簡單的,你可以在下面的例子中

Bitmap photo = extras.getParcelable("data"); 
Intent it = new Intent(getApplicationContext(), TestActivity.class); 
it.putExtra("bitmap",bp); 
startActivity(it); 

,並從意圖使用獲得的位圖通過使用putExtra()位圖

看到以下

Bitmap bp = (Bitmap) getIntent().getExtras().get("bitmap"); 

享受.. !

相關問題