Device Monitor

Opening the Device Monitor

Here are the invocation attributes you use for the Device Monitor app:

Attribute Value
Target ID

sys.SysMon.app

Action

bb.action.OPEN

MIME type

You should specify a wildcard character *

Here are the invocation attributes you use for the Device Monitor card:

Attribute Value
Target ID

sys.SysMon.card

Action

bb.action.VIEW

MIME type

You should specify a wildcard character *

Here's a list of URIs you can use to invoke the Device Monitor card or the app:

Setting URIs
CPU

devicemonitor://cpu

Battery devicemonitor://battery
Storage

devicemonitor://storage

Memory devicemonitor://memory

Here's an example to show how you can invoke the Device Monitor app:

<invoke-target id="sys.SysMon.app">
    <entry-point-id>sysmon_app</entry-point-id>
    <invoke-target-type>APPLICATION</invoke-target-type>

    <filter>
        <action>bb.action.OPEN</action>
        <mime-type>*</mime-type>
        <property var="uris" value="devicemonitor://"/>
    </filter>
</invoke-target>

Here's an example to show how you can invoke the Device Monitor card:

<invoke-target id="sys.SysMon.card">
    <entry-point-id>sysmon_app</entry-point-id>
    <invoke-target-type>card.previewer</invoke-target-type>

    <filter>
        <action>bb.action.VIEW</action>
        <mime-type>*</mime-type>
        <property var="uris" value="devicemonitor://"/>
    </filter>
</invoke-target>

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus