Abstract
The theory behind the Android UI architecture is that developers should decompose their application into distinct activities. For example, a calendar application could have activities for viewing the calendar, viewing a single event, editing an event (including adding a new one), viewing and editing events on the same screen for larger displays, and so forth. This implies that one of your activities has the means to start up another activity. For example, if a user selects an event from the view-calendar activity, you might want to show the view-event activity for that event. This means that you need to be able to cause the view-event activity to launch and show a specific event (the one the user chose).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Grant Allen
About this chapter
Cite this chapter
Allen, G. (2012). Launching Activities and Subactivities. In: Beginning Android 4. Apress. https://doi.org/10.1007/978-1-4302-3985-7_22
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3985-7_22
Publisher Name: Apress
Print ISBN: 978-1-4302-3984-0
Online ISBN: 978-1-4302-3985-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)