Java tutorial
//package com.java2s; import android.app.Activity; import android.os.Bundle; public class Main { public static Bundle getDialogBundle(Activity activity, String str) { return activity.getIntent().getExtras().getBundle(str); } }