Java tutorial
//package com.java2s; import android.os.Bundle; public class Main { public static String getStringFromBundle(Bundle b) { return b.getString("message"); } }