1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2015 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<sample>
18    <name>MidiScope</name>
19    <group>Media</group>
20    <package>com.example.android.midiscope</package>
21    <minSdk>23</minSdk>
22
23    <strings>
24        <intro>
25            <![CDATA[
26This sample demonstrates how to use the MIDI API to receive and process MIDI signals coming from an
27attached input device.
28            ]]>
29        </intro>
30    </strings>
31
32    <common src="midi"/>
33    <template src="base"/>
34
35    <metadata>
36        <status>PUBLISHED</status>
37        <categories>Media</categories>
38        <technologies>Android</technologies>
39        <languages>Java</languages>
40        <solutions>Mobile</solutions>
41        <level>INTERMEDIATE</level>
42        <icon>screenshots/icon-web.png</icon>
43        <screenshots>
44            <img>screenshots/1-main.png</img>
45            <img>screenshots/2-signals.png</img>
46        </screenshots>
47        <api_refs>
48            <android>android.media.midi.MidiManager</android>
49            <android>android.media.midi.MidiReceiver</android>
50        </api_refs>
51
52        <!-- 1-3 line description of the sample here.
53
54            Avoid simply rearranging the sample's title. What does this sample actually
55            accomplish, and how does it do it? -->
56        <description>
57            <![CDATA[
58Sample demonstrating how to use the MIDI API to receive and process MIDI signals coming from an
59attached device.
60            ]]>
61        </description>
62
63        <!-- Multi-paragraph introduction to sample, from an educational point-of-view.
64        Makrdown formatting allowed. This will be used to generate a mini-article for the
65        sample on DAC. -->
66        <intro>
67            <![CDATA[
68The Android MIDI API ([android.media.midi][1]) allows developers to connect a MIDI device to Android
69and process MIDI signals coming from it. This sample demonstrates some basic features of the MIDI
70API, such as enumeration of currently available devices (Information includes name, vendor,
71capabilities, etc), notification when MIDI devices are plugged in or unplugged, and receiving MIDI
72signals. This sample simply shows all the received MIDI signals to the screen log and does not play
73any sound for them.
74[1]: https://developer.android.com/reference/android/media/midi/package-summary.html
75            ]]>
76        </intro>
77    </metadata>
78</sample>
79