Back to project page commande-godo.
The source code is released under:
MIT License
If you think the Android project commande-godo 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 ca.ualberta.commande.android.commande_godo; //from w w w . ja v a2 s . com import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class SummaryActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_summary); setTitle("GoDo - Summary"); Intent intent = getIntent(); Bundle extras = intent.getExtras(); int tic = extras.getInt("tic"); int tiu = extras.getInt("tiu"); int tia = extras.getInt("tia"); int aic = extras.getInt("aic"); int aiu = extras.getInt("aiu"); TextView viewToSet = (TextView) findViewById(R.id.total_items_completed); viewToSet.setText("Total Items Completed: " + tic); viewToSet = (TextView) findViewById(R.id.total_items_uncompleted); viewToSet.setText("Total Items Uncompleted: " + tiu); viewToSet = (TextView) findViewById(R.id.total_items_archived); viewToSet.setText("Total Items Archived: " + tia); viewToSet = (TextView) findViewById(R.id.archived_items_completed); viewToSet.setText("Archived Items Completed: " + aic); viewToSet = (TextView) findViewById(R.id.archived_items_uncompleted); viewToSet.setText("Archived Items Uncompleted: " + aiu); } public void close(View v) { finish(); } }