Here you can find the source of dumpBundleKeys(Intent intent)
public static void dumpBundleKeys(Intent intent)
//package com.java2s; import android.content.Intent; import android.os.Bundle; import android.util.Log; public class Main { private static final String TAG = "dev"; public static void dumpBundleKeys(Intent intent) { if (intent == null) { Log.d(TAG, "intent is null"); return; }/*from w w w . ja v a 2 s.c om*/ dumpBundleKeys(intent.getExtras()); } public static void dumpBundleKeys(Bundle bundle) { if (bundle == null) { Log.d(TAG, "extras bundle is null"); return; } Log.d(TAG, "bundle keys:"); for (String o : bundle.keySet()) { Log.d(TAG, o); } } }