Back to project page irma_android_verifier.
The source code is released under:
GNU General Public License
If you think the Android project irma_android_verifier listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.irmacard.androidverifier; /* w w w . ja va 2s . c om*/ import android.support.v4.app.FragmentActivity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.NavUtils; import android.view.MenuItem; public class VerificationDetailActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_verification_detail); getActionBar().setDisplayHomeAsUpEnabled(true); if (savedInstanceState == null) { Bundle arguments = new Bundle(); arguments.putLong(VerificationDetailFragment.ARG_ITEM_ID, getIntent().getLongExtra(VerificationDetailFragment.ARG_ITEM_ID, 0)); VerificationDetailFragment fragment = new VerificationDetailFragment(); fragment.setArguments(arguments); getSupportFragmentManager().beginTransaction() .replace(R.id.verification_detail_container, fragment) .commit(); } } @Override public boolean onOptionsItemSelected(MenuItem item) { if (item.getItemId() == android.R.id.home) { NavUtils.navigateUpTo(this, new Intent(this, VerificationListActivity.class)); return true; } return super.onOptionsItemSelected(item); } }