mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
DemoRunner: Enable Android virtual MIDI
This commit is contained in:
parent
ab2aeedfa7
commit
de9c29f8e7
5 changed files with 32 additions and 2 deletions
|
|
@ -93,7 +93,8 @@ android {
|
|||
main.java.srcDirs +=
|
||||
["../../../../../modules/juce_core/native/javacore/init",
|
||||
"../../../../../modules/juce_core/native/javacore/app",
|
||||
"../../../../../modules/juce_gui_basics/native/javaopt/app"]
|
||||
"../../../../../modules/juce_gui_basics/native/javaopt/app",
|
||||
"../../../../../modules/juce_audio_devices/native/javaopt/app"]
|
||||
|
||||
main.res.srcDirs +=
|
||||
[]
|
||||
|
|
|
|||
|
|
@ -30,6 +30,20 @@
|
|||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<service android:name="com.rmsl.juce.VirtualMidiServices$VirtualUmpService" android:enabled="false" android:exported="true"
|
||||
android:permission="android.permission.BIND_MIDI_DEVICE_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.media.midi.MidiUmpDeviceService"/>
|
||||
</intent-filter>
|
||||
<property android:name="android.media.midi.MidiUmpDeviceService" android:resource="@xml/juce_midi_virtual_ump"/>
|
||||
</service>
|
||||
<service android:name="com.rmsl.juce.VirtualMidiServices$VirtualBytestreamService" android:enabled="false" android:exported="true"
|
||||
android:permission="android.permission.BIND_MIDI_DEVICE_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.media.midi.MidiDeviceService"/>
|
||||
</intent-filter>
|
||||
<meta-data android:name="android.media.midi.MidiDeviceService" android:resource="@xml/juce_midi_virtual_bytestream"/>
|
||||
</service>
|
||||
<provider android:name="com.rmsl.juce.JuceSharingContentProvider" android:authorities="com.rmsl.jucedemorunner.sharingcontentprovider"
|
||||
android:grantUriPermissions="true" android:exported="true"/>
|
||||
</application>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<devices>
|
||||
<device manufacturer="Raw Material Software Limited" product="DemoRunner" name="Raw Material Software Limited DemoRunner">
|
||||
<input-port name="In"/>
|
||||
<output-port name="Out"/>
|
||||
</device>
|
||||
</devices>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<devices>
|
||||
<device manufacturer="Raw Material Software Limited" product="DemoRunner" name="Raw Material Software Limited DemoRunner">
|
||||
<port name="MIDI 2.0"/>
|
||||
</device>
|
||||
</devices>
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
cameraPermissionNeeded="1" androidReadMediaAudioPermission="1"
|
||||
androidReadMediaImagesPermission="1" androidReadMediaVideoPermission="1"
|
||||
androidBluetoothScanNeeded="1" androidBluetoothAdvertiseNeeded="1"
|
||||
androidBluetoothConnectNeeded="1">
|
||||
androidBluetoothConnectNeeded="1" androidEnableVirtualMidi="1">
|
||||
<CONFIGURATIONS>
|
||||
<CONFIGURATION isDebug="1" name="Debug" recommendedWarnings="LLVM" androidAdditionalRawValueResources="Source/accessibilitynotificationicon.png"/>
|
||||
<CONFIGURATION isDebug="0" name="Release" recommendedWarnings="LLVM" androidAdditionalRawValueResources="Source/accessibilitynotificationicon.png"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue