// Path: src/at/zweng/bankomatinfos/util/Utils.java
// public static void showAboutDialog(FragmentManager fm) {
// 	DialogFragment aboutFragment = new AboutDialogFragment();
// 	aboutFragment.show(fm, "dialog_about");
// }
// 
// Path: src/at/zweng/bankomatinfos/util/Utils.java
// public static void showChangelogDialog(FragmentManager fm,
// 		boolean fullChangelog) {
// 	DialogFragment changelogFragment = ChangelogDialogFragment
// 			.newInstance(fullChangelog);
// 	changelogFragment.show(fm, "dialog_changelog");
// }


import static at.zweng.bankomatinfos.util.Utils.showAboutDialog;
import static at.zweng.bankomatinfos.util.Utils.showChangelogDialog;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import at.zweng.bankomatinfos2.R;

package at.zweng.bankomatinfos.ui;


/**
 * Very simple activity, simply displays a no nfc logo (we show this if NFC is
 * not available)
 * 
 * @author Johannes Zweng <johannes@zweng.at>
 */
public class NfcDisabledActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_nfc_disabled);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main_menu, menu);
		return true;
	}

	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		switch (item.getItemId()) {
		case R.id.action_about:
			showAboutDialog(getFragmentManager());
			return true;
		case R.id.action_changelog:

// Path: src/at/zweng/bankomatinfos/util/Utils.java
// public static void showAboutDialog(FragmentManager fm) {
// 	DialogFragment aboutFragment = new AboutDialogFragment();
// 	aboutFragment.show(fm, "dialog_about");
// }
// 
// Path: src/at/zweng/bankomatinfos/util/Utils.java
// public static void showChangelogDialog(FragmentManager fm,
// 		boolean fullChangelog) {
// 	DialogFragment changelogFragment = ChangelogDialogFragment
// 			.newInstance(fullChangelog);
// 	changelogFragment.show(fm, "dialog_changelog");
// }


// Path: src/at/zweng/bankomatinfos/ui/NfcDisabledActivity.java
import static at.zweng.bankomatinfos.util.Utils.showAboutDialog;
import static at.zweng.bankomatinfos.util.Utils.showChangelogDialog;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import at.zweng.bankomatinfos2.R;

package at.zweng.bankomatinfos.ui;


/**
 * Very simple activity, simply displays a no nfc logo (we show this if NFC is
 * not available)
 * 
 * @author Johannes Zweng <johannes@zweng.at>
 */
public class NfcDisabledActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_nfc_disabled);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main_menu, menu);
		return true;
	}

	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		switch (item.getItemId()) {
		case R.id.action_about:
			showAboutDialog(getFragmentManager());
			return true;
		case R.id.action_changelog:

			showChangelogDialog(getFragmentManager(), true);
