Java tutorial
//package com.java2s; //License from project: Apache License import android.os.Bundle; public class Main { public static String bundle2string(Bundle bundle) { String string = "{"; for (String key : bundle.keySet()) { string += " " + key + " => " + bundle.get(key) + ";"; } string += " }"; return string; } }