Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>To quote the <a href="http://developer.android.com/reference/android/content/Intent.html" rel="noreferrer">API docs</a>, an <code>Intent</code> is basically a <em>passive data structure</em> holding an abstract description of <strong><em>an action to be performed</em></strong>, with two primary pieces of information, action and data.</p> <p>At the most basic level, an <code>Intent</code> can be seen as an action that you can tell Android to invoke - and what happens depends on what is registered for that action.</p> <p>The action part of an <code>Intent</code> is a string or string constant, and the data portion is a string representing a <code>URI</code>. In addition to these main attributes, you can add new attributes via an extra, which is just a map of key-value pairs.</p> <p>For more info, refer to <a href="http://developer.android.com/guide/topics/intents/intents-filters.html" rel="noreferrer">Intents and Intent Filters</a>, the <a href="http://developer.android.com/reference/android/content/Intent.html" rel="noreferrer">Intent</a> class, or <a href="http://mylifewithandroid.blogspot.com/2007/12/playing-with-intents.html" rel="noreferrer">Playing with Intents</a>.</p> <p>I also recommend the book <a href="http://apress.com/book/view/9781430215967" rel="noreferrer">Pro Android</a>, which goes into these API details at length. There is a newer version called Pro Android 2 (haven't read it).</p> <p>If you search <a href="http://books.google.com/books?id=Bam8K5SIiTkC&amp;printsec=frontcover&amp;dq=pro+android&amp;hl=en&amp;ei=quS7S9evF9HdnAfGs5DFCA&amp;sa=X&amp;oi=book_result&amp;ct=result&amp;resnum=1&amp;ved=0CDgQ6AEwAA#v=onepage&amp;q=intent&amp;f=false" rel="noreferrer">Google Books for it</a>, you can see extracts of the book, look at Chapter 3, "Using Resources, Content Providers, and Intents" for more info.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload