Navigation in Android(Explicit Intent) An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components An Intent provides a facility for performing late runtime binding between the code in different applications. Its most significant use is in the launching of activities, where it can be thought of as the glue between activities. It is basically a passive data structure holding an abstract description of an action to be performed. There are two primary forms of intents you will use, They are: Explicit Intent Implicit Intent Explicit Intent: After writing a single Activity, There comes a need to navigate to another activity to perform another task . For this we use Explicit Inents. ScreenShots: activity_main.xml: < RelativeLayout xmlns:android = "http://schemas.android.com/apk/res/android" ...
Comments
Post a Comment