Algorithms and OOD (CSC 207 2014S) : Outlines

Outline 52: Building Your First App (2)


Held: Friday, 2 May 2014

Back to Outline 51 - Building Your First App (1). On to Outline 53 - Pause for Breath.

Summary

We consider mechanisms for adding activities to an Android app, along with a bit about lists in Android apps.

Related Pages

Overview

Administrivia

Upcoming Work

Extra Credit

Android activities

Switching between activities

Often done with Intents.

Typical code

public void onClickToInfo(View v) 
{
    Intent intent = new Intent(this, NameOfActivity.class);
    startActivity(intent);
} // onClickToInfo(View)

Lists

Copyright (c) 2013-14 Samuel A. Rebelsky.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.