Monday 12 November 2012

Types of Intent Filters ?

1.setAction(String name)
2.setData(uri data)
3.addCatagery(String catagery)

1.setAction filter is used to perform the Action on the Activity.
Ex:
Making a phone call.
Activating the camara
View the web pages.

2.setData Intent filter is used to set the Data to the Activity.
Ex:
Display the phone number on the dial pad.

3.addCatagery Intent filter is used to add the catagery to the Activity.
Ex:
Opening the catagery in default Lanching the Activity.


Any one know more Answer Please post as a Comment.



1 comment:

  1. Greetings! Very helpful advice in this particular article!
    It is the little changes that will make the most important changes.
    Many thanks for sharing!

    Feel free to surf to my webpage ... best registry cleaner for windows 7

    ReplyDelete