The element in this case specifies the MIME media type that the activity is capable of handling. com"); startActivity(i); Note that the setType() method automatically clears any data you set using the setData() method; hence, you do not need to use the setData() method.

Xml file. DEFAULT" /> Your application will now be automatically launched when the device has booted up. 7 Calling Built-In Apps ❘ 23 One of the key features of Android is the functionality it provides for applications to call other applications seamlessly. This enable you to integrate various applications on the device to form a coherent experience for your users. This recipe shows you the various ways to call the applications on your device.

Download PDF sample

Rated 4.84 of 5 – based on 25 votes