Книги автора: Beginning Android
Книга: Beginning Android
Intents and Views
Intents and Views
In the preceding examples, the contents of each tab were set to be a View
, such as a Button
. This is easy and straight-forward, but it is not the only option. You can also integrate another activity from your application via an Intent
.
Intents
are ways of specifying something you want accomplished, then telling Android to go find something to accomplish it. Frequently, these are used to cause activities to spawn. For example, whenever you launch an application from the main Android application launcher, the launcher creates an Intent and has Android open up the activity associated with that Intent
. This whole concept, and how activities can be placed in tabs, will be described in greater detail in Chapter 25.
Оглавление статьи/книги
Похожие страницы
- Разработка приложений баз данных InterBase на Borland Delphi
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- Chapter 6. Traversing of tables and chains
- Chapter 8. Saving and restoring large rule-sets
- Chapter 11. Iptables targets and jumps
- Chapter 5 Installing and Configuring VirtualCenter 2.0
- Chapter 16. Commercial products based on Linux, iptables and netfilter
- Appendix A. Detailed explanations of special commands
- Appendix B. Common problems and questions
- Appendix E. Other resources and links
- IP filtering terms and expressions