Back to project page minha-parte-na-conta.
The source code is released under:
Copyright (c) 2015, Daniel Monteiro All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:...
If you think the Android project minha-parte-na-conta 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 br.odb.myshare; //w w w . j a v a 2 s.c o m import br.odb.myshare.datamodel.BarAccount; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class ShowCreditsActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_show_credits); } @Override protected void onPause() { if ( BarAccount.getCurrentBarAccount() != null ) BarAccount.getCurrentBarAccount().saveAccount( this ); super.onPause(); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.show_credits, menu); return true; } }