Android training in Chandigarh (18) - PowerPoint PPT Presentation

About This Presentation
Title:

Android training in Chandigarh (18)

Description:

CBitss Technologies provides best IT and Management training institute in Chandigarh. Android is one of the best IT course in Chandigarh. – PowerPoint PPT presentation

Number of Views:29

less

Transcript and Presenter's Notes

Title: Android training in Chandigarh (18)


1
Android Training in Chandigarh
2
Android Intent
  • An Android Intent is a question conveying an aim
    i.e. message starting with one part then onto the
    next segment inside the application or outside
    the application. The goals can convey messages
    among any of the three center segments of an
    application - exercises, administrations, and
    communicate beneficiaries. The goal itself, an
    Intent protest, is a uninvolved information
    structure holding a dynamic portrayal of a task
    to be performed.

3
Android Intent Resolver
  • For instance, we should expect, that you have an
    Activity that necessities to dispatch an email
    customer and sends an email utilizing your
    Android gadget. For this purpose,your Activity
    would send an ACTION_SEND alongside proper
    chooser, to the Android Intent Resolver. The
    predetermined chooser gives the best possible
    interface for the client to pick how to send your
    email information.

4
S.N. Method Description
  • 1. Context.startActivity() The Intent question
    is passed to this technique to dispatch another
    movement or to get a current action to explore
    new territory.
  • 2. Context.startService() The Intent protest is
    passed to this strategy to start an
    administration or convey new guidelines to a
    continuous administration.
  • 3. Context.sendBroadcast() The Intent question
    is passed to this strategy to convey the message
    to all intrigued communicate recipients.

5
INTENTS FILTERS
  • An Intent question is a heap of data which is
    utilized by the segment that gets the expectation
    in addition to data utilized by the Android
    framework.
  • An Intent question can contain the accompanying
    segments in light of what it is imparting or
    going to perform Action This is compulsory piece
    of
  • the Intent protest and is a string naming the
    activity to be performed or, on account of
    communicate aims, the move that made place and is
    being
  • accounted for. The activity generally decides how
    whatever remains of the aim question is
    organized.The Intent Resolver parses through a
    rundown
  • of Activities and picks the one that would best
    match "The setData() technique indicates
    information just as a URI, setType() determines
    it just as a MIME write, and setDataAndType()
    indicates it as both a URI and a MIME compose."

6
Some examples of action/data pairs are S.N.
Action/Data Pair Description
  • 1. ACTION_VIEW content//contacts/people/1
    Display information about the person whose
    identifier is "1".
  • 2. ACTION_DIAL content//contacts/people/1
    Display the phone dialer with the person filled
    in.
  • 3. ACTION_VIEW tel123 Display the phone dialer
    with the given number filled in.
  • 4. ACTION_DIAL tel123 Display the phone dialer
    with the given number filled in.

7
Contact Us
  • OFFICE SCO 23-24-25, LEVEL-3,
  • near passport office,
  • Sector 34A, Chandigarh
  • PHONE 9988741983, 9914641983
  • Visit http//cbitss.com/android-training-in
    -chandigarh.html

8
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com