1. 程式人生 > >Intent獲取所有攜帶引數

Intent獲取所有攜帶引數

“` java

Intent intent = new Intent();
Bundle extras = intent1.getExtras();
Set strings = extras.keySet();
for ( String string:strings
) {
Log.v(“intent extras ::”+ string);
}