Android For Beginners

Beginner 0(0 Ratings) 0 Students enrolled English
Created by skill expert
Last updated Thu, 16-Jun-2022
+ View more
Course overview

Android Intent Details
--------------------------------

Intents can be simply defined as synchronous messages by which one Android Component can request functionality of other component.
An intent can even open a web-browser for you. Any activity can send an intent by which new activity can be started.

Sample code -
Intent intent = new Intent(MainActivity.this, SecondActivity.class);
startActivity(intent);

Suppose on your Facebook Account you are on the news feed screen (which is one Activity), and want to view a pic posted by our friend. When you click on the photo, the intent associated with the click event of photo is fired which communicates the message, and the Photo page opens (which is a new Activity).


Think of intent as a message to communicate an action. It is a description of what you want done, example VIEW VIDEO, PLAY GAME etc.

<iframe id="aswift_4" name="aswift_4" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="769" height="0" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-4905108038008617&output=html&h=280&adk=3335852921&adf=1154137013Π=t.aa~a.1836167269~i.40~rp.1&w=769&fwrn=4&fwrnh=100&lmt=1655375505#_ads=1&rafmt=1&armr=3&sem=mc&pwprc=8884086629&psa=1&ad_type=text_image&format=769x280&url=https://freevideolectures.com/course/3612/android-for-beginners/6&fwr=0&pra=3&rh=193&rw=769&rpe=1&resp_fmts=3&wgl=1&fa=27&uach=WyJXaW5kb3dzIiwiMC4xLjAiLCJ4ODYiLCIiLCIxMDIuMC41MDA1LjExNSIsW10sbnVsbCxudWxsLCI2NCIsW1siIE5vdCBBO0JyYW5kIiwiOTkuMC4wLjAiXSxbIkNocm9taXVtIiwiMTAyLjAuNTAwNS4xMTUiXSxbIkdvb2dsZSBDaHJvbWUiLCIxMDIuMC41MDA1LjExNSJdXSxmYWxzZV0.&dt=1655375505196&bpp=5&bdt=600&idt=-M&shv=r20220614&mjsv=m202206140101&ptt=9&saldr=aa&abxe=1&cookie=ID=cf2c3deaacfbd0bb-22809ce8dcd300d2:T=1654664516:RT=1654664516:S=ALNI_MYi2WvMR1XtTFp0Br00p01VPyu4BQ&gpic=UID=000006739eb30cb4:T=1654664516:RT=1655355056:S=ALNI_MbUwqsehAwFBwzDXt-t2eXAuF3VIQ&prev_fmts=1160x280,769x280,0x0,346x280&nras=3&correlator=5601226382693&frm=20&pv=1&ga_vid=384070883.1654664512&ga_sid=1655375505&ga_hid=1020051375&ga_fc=1&u_tz=330&u_his=17&u_h=1024&u_w=1280&u_ah=1024&u_aw=1280&u_cd=24&u_sd=1&dmc=4&adx=44&ady=2177&biw=1263&bih=896&scr_x=0&scr_y=0&eid=44759876,44759927,44759837,31067934,44763827,31067769,31068031,31068039,42531607&oid=2&pvsid=2313396311178515&tmod=1579163831&uas=0&nvt=1&ref=https://freevideolectures.com/course/3612/android-for-beginners&eae=0&fc=384&brdim=-1280,0,-1280,0,1280,0,1280,1024,1280,896&vis=1&rsz=||s|&abl=NS&fu=128&bc=31&ifi=5&uci=a!5&btvi=3&fsb=1&xpc=mSktmHHnaJ&p=https://freevideolectures.com&dtd=55" data-google-container-id="a!5" data-google-query-id="CJy0h6jisfgCFd3ScwEd00sKQw" data-load-complete="true" style="margin: 0px; padding: 0px; left: 0px; position: absolute; top: 0px; border-width: 0px; border-style: initial; width: 769px; height: 0px;"></iframe>



They are commands which when called would act as communicators between the three core components of Android, i.e. Activities, Services and Broadcast Receivers.

While you are interacting with one activity, you might want to switch to another one; this is done by defining a proper Intent for the action. Here one Activity uses Intent to request the launch of another Activity. Thus, it is evident that using intents, one Android component can request action from the other components of Android.

Intent Types
-----------------

Delving further, Intents can be Explicit or Implicit.

----Explicit Intent

An Explicit Intent is exactly what it means literally an "explicit intention" to perform an action. Simply put, in this case, we define explicitly the Android component (Activity, Service or Broadcast Receiver) that needs calling.

----Implicit Intent

Here we do not specifically define the component that needs to be called. However, the Intent contains enough information to direct the system to fetch the correct one.

Curriculum for this course
21 Lessons 06:19:34 Hours
Lecture
21 Lessons 06:19:34 Hours
  • Android For Beginners
    Preview 00:02:15
  • Overview, Android Stack
    00:03:59
  • Android Evolution, Latest Version of Android
    00:06:25
  • Acitvity, Intent, Services, Content Provider
    00:02:02
  • Activity Lifecycle
    00:05:47
  • Intents, Intent Types
    00:03:48
  • Services, Forms of services in Android
    00:07:20
  • Content Providers, Operations in Content Providers
    00:05:51
  • Broadcast Reciver
    00:10:04
  • First Android App
    00:09:15
  • Introduction to DDMS-Android Debbuging Tool
    00:09:54
  • Android Eclipse Tutorial
    00:35:47
  • Android Tutorial On Emulator
    00:04:32
  • Structure of a Manifest File-Android Tutorial
    00:09:38
  • Introduction To json-Android Tutorial On Json
    00:14:41
  • Async Task-Android Development
    00:06:02
  • Introduction to Android Animations-Tutorial&Example
    00:11:52
  • FREE Class on Android Development
    00:54:47
  • Android Basics-Android App Development Course
    00:53:28
  • Radio Buttons, Spinners, Covers Layouts, List Views, Checkboxes
    01:44:38
  • Learning & Understanding Async Task in Android Development
    00:17:29
+ View more
Other related courses
34:30:27 Hours
Updated Wed, 08-Jun-2022
0 0 Free
27:10:39 Hours
0 0 Free
20:48:51 Hours
Updated Wed, 08-Jun-2022
0 0 Free
07:24:45 Hours
0 0 Free
39:26:26 Hours
0 0 Free
About instructor

skill expert

0 Reviews | 17 Students | 467 Courses
Student feedback
0
0 Reviews
  • (0)
  • (0)
  • (0)
  • (0)
  • (0)

Reviews

Free
Includes: