@Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0, MENU_ITEM_QUICK_HELP, 0, R.string.menu_quick_help) .setIcon(android.R.drawable.ic_menu_search); menu.add(0, MENU_ITEM_HELP, 0, R.string.menu_help).setIcon(android.R.drawable.ic_menu_help); return true; }
@Override protected void onCreate(Bundle savedInstanceState) { processor = new SubscriptionProcessor(this); preferences = Preferences.getPreferences(this); super.onCreate(savedInstanceState); if (preferences.isFirstLaunch() || processor.fetchAllSubscriptions().getCount() == 0) { Dialogs.showOkConfirmation(this, R.string.initial_setup, R.string.msg_create_sub, null); } }