Category in Android

Source: Internet
Author: User

Provides additional information about the action to be executed, which is generally used when the activity is started implicitly. The common category is as follows:

 

Category_alternative
Sets whether the activity can be considered an optional action of the data that the user is browsing.
 
Category_app_browser
Used with action_main to start Browser Applications
 
Category_app_calculator
Used with action_main to start the calculator Application
 
Category_app_calendar
Used with action_main to start the calendar application
 
Category_app_contacts
Used with action_main to start the Contact application
 
Category_app_email
Used with action_main to start the mail application
 
Category_app_gallery
Used with action_main to start the image library Application
 
Category_app_maps
Used with action_main to start the map application
 
Category_app_market
This activity allows users to browse and download new applications.
 
Category_app_messaging
Used with action_main to start the SMS Application
 
Category_app_music
Used with action_main to start the music application
 
Category_browsable
The activity that can be safely called by the browser must support this category.
 
Category_default
Set whether this activity is optional for the default action.
 
Category_embed
Can run in the parent activity container
 
Category_home
Main activity. When the application starts, it is the first activity to be displayed.
 
Category_launcher
It should be displayed in the upper startup list

Category_monkey
This activity may be executed by monkey or other automated testing tools.
 
Category_openable
Indicates a get_content intent that only requires contentresolver. openinputstream to enable URI
 
Category_preference
This activity is a tab
 
Category_sample_code
Used as a simple code example (usually not used)
 
Category_selected_alternative
Sets whether the activity can be considered an optional action of the user's selected data.
 
Category_tab
To use it as a tab in an existing tabactivity
 
Category_test
For testing (usually not used)
 
Category_unit_test
Joint Test

Reference: http://blog.csdn.net/ygc87/article/details/7480695

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.