Droid Platform
Droid Platform
Droid Platform
Examples:
Data
to
view
on
a
map
geo:0,0?q=1600+Pennsylvania+Ave
+Washington+DC
Number
to
dial
in
the
phone
dialer
tel:+15555555555
new
Intent(Intent.ACTION_VIEW,
Uri.parse("tel:+15555555555"));
Intent
newInt
=
new
Intent(Intent.ACTION_VIEW);
newInt.setData(Uri.parse("tel:+15555555555"));
Intent.setType(String
type)
Intent.setDataAndType(Uri
data,
String
type)
HelloWorldWithLogin
Users
must
authenticate
before
they
can
view
the
LoginActivity
<activity
.>
<intent-lter
android:icon="drawable
resource
android:label="string
resource
android:priority="integer
.
.
.
<action
android:name=actionName"
/>
</intent-lter>
</activity>
parent
component
android:priority
Priority
given
to
the
parent
component
when
handling
matching
Intents
Causes
Android
to
prefer
one
activity
over
another
Higher
values
represent
higher
priorities
<intent-lter
>
<data
android:host="string"
android:mimeType="string"
android:path="string"
android:pathPattern="string"
android:pathPrex="string"
android:port="string"
android:scheme="string"
/>
</intent-lter>
<intent-lter
>
.
.
.
<category
android:name="string"
/>
</intent-lter>
<intent-lter
>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.BROWSABLE"
/>
<data
android:scheme="geo/>
<intent-lter>
HelloAndroidWithLogin
CheckActivityIntents