// ex. dumpExtra(getIntent());
static private void dumpExtra(Intent intent) {
if (intent == null) {
Log.v("dumpExtra", "null");
return;
}
Bundle extras = intent.getExtras();
if (extras != null) {
Iterator<?> it = extras.keySet().iterator();
while (it.hasNext()) {
String key = (String) it.next();
Log.v("dumpExtra", "key: " + key);
}
}
}

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha