In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
The knowledge of this article "how to apply local applications in Android" is not quite understood by most people, so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to apply local applications in Android" article.
❑ ACTION_ANSWER
Open an Activity to handle incoming calls. At present, it is handled by the local telephone dialing tool.
❑ ACTION_CALL
Start the phone dialing tool and immediately initiate a call with the number in the data URI. Generally speaking, if possible, it thinks it is a better way than using Dial_Action.
❑ ACTION_DELETE
Launch an Activity to allow you to delete the data entry stored in the URI location.
❑ ACTION_DIAL
Start a phone dialer and dial using the number preset in the data URI. By default, it is handled by the Android local phone dialing tool. This dialing tool regulates most numbers; for example, tel:555-1234 and tel: (212) 555-1212 are valid numbers.
❑ ACTION_EDIT
Request an Activity to edit the data at URI.
❑ ACTION_INSERT
Open an Activity that inserts a new item at a specific cursor in the data field. When called as a child Activity, it must return the URI of the newly inserted project.
❑ ACTION_PICK
Launch a sub-Activity to let you pick a project from the URI data. When closed, it must return the URI that points to the selected project. The Activity you start depends on the data you want to pick; for example, passing in content://contacts/people will trigger a local contact list.
❑ ACTION_SEARCH
Start a UI to perform the search. Use the SearchManager.QUERY key value in the Intent packet to provide a string of search content.
❑ ACTION_SENDTO
Start an Activity to send a message to the specified contact in URI.
❑ ACTION_SEND
Start an Activity to send specific data (the receiver chooses by parsing the Activity). Use setType to set the type of Intent to the type of mime that transmits data.
The data itself depends on the type and is stored using EXTRA_TEXT or EXTRA_STREAM. In the case of e-mail, Android native applications can also accept extras using EXTRA_EMAIL, EXTRA_CC, EXTRA_BCC, and EXTRA_SUBJECT keys.
❑ ACTION_VIEW
The most common action. The View action requires the data in the Intent URI to be displayed in the most reasonable manner. Different applications will process View requests, depending on the data in URI. In general, the http: address opens in the browser, the tel: address opens in the dialing tool and the number is called, the geo: address is displayed in the Google map application, and the contact content is displayed in the contact Manager.
❑ ACTION_WEB_SEARCH
Open an Activity and perform a web search based on the text in the data URI.
Like these Activity actions, the Android native application also includes a large number of Broadcast actions that are used to create Intent to notify the application of system messages.
The above is about the content of this article on "how to apply local applications in Android". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.