Java tutorial
//package com.java2s; import android.content.Intent; public class Main { public static String getButtonText(Intent intent) { return intent.getStringExtra("button_text"); } }