Java tutorial
//package com.java2s; //License from project: Open Source License import android.os.Bundle; public class Main { private static boolean isShowing; private static int[] menuItems; public static void onSaveInstanceState(Bundle outState) { outState.putIntArray("drawables", menuItems); outState.putBoolean("isShowing", isShowing); } }