Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
App Actions feature lets the users launch a specific feature in your app using the Google Assistant. By enabling Android App Actions to extend your app, users can easily deep link into your apps via the Assistant by simply speaking a request to the Assistant. If the user has your app already installed, the Assistant triggers deep linking when users say an invocation phrase that includes your app name, such as ”Ok Google, order a pizza from the Pizza app”.
The Android operating system has provided some built-in actions for the ease of developers.
As an example we can see this :actions.intent.ORDER_MENU_ITEM, an action to order something.
actions.intent.ORDER_MENU_ITEM
Similarly, we can check other actions as well.
To enable App Actions, you add an actions.xml file to your Android app project that tells Google what built-in intents your app supports.
Actions will run on devices back till Android 5 (API level 21). The recommended OS version is Android 8 (API level 26) or higher.
Create a new actions.xml file in your res/xml directory.
actions.xml
res/xml
Here’s an example(to book a taxi) of an actions.xml with an Action that is fulfilled using an App Links URL:
Once created, reference your actions.xml file from your AndroidManifest.xml file using a <meta-data> tag:
AndroidManifest.xml
<meta-data>
Credits
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.