Function key: Browser

Example: Open a URL with Browser

start_webpage_template.xml
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <templates>
  3. <template prio="20" name="Browser" icon="@drawable/http_request">
  4. <keyConfiguration>
  5. <function>
  6. <invocations>
  7. <invocation>
  8. <intent>
  9. <action>android.intent.action.VIEW</action>
  10. <data></data>
  11. <component>org.mozilla.klar/org.mozilla.focus.activity.IntentReceiverActivity</component>
  12. </intent>
  13. </invocation>
  14. </invocations>
  15. </function>
  16. </keyConfiguration>
  17. <parameters>
  18. <parameter name="@string/uri">
  19. <path>//data</path>
  20. </parameter>
  21. </parameters>
  22. </template>
  23. </templates>