Java tutorial
//package com.java2s; //License from project: Open Source License import android.os.Bundle; public class Main { private static final String EXTRA_ZEN_MODE = "zen_mode"; public static Bundle create(int selectedZenMode) { Bundle bundle = new Bundle(); bundle.putInt(EXTRA_ZEN_MODE, selectedZenMode); return bundle; } }