Intent:
An Intent
is an object that provides runtime binding between separate components (such as two activities). TheIntent
represents an app’s "intent to do something." You can use intents for a wide variety of tasks, but most often they’re used to start another activity.
说白了,Intent的主要作用就是启动另外一个activity。