Repository navigation
Expand file tree
/
Copy pathplugin.xml
More file actions
91 lines (82 loc) · 2.73 KB
/
Copy pathplugin.xml
File metadata and controls
91 lines (82 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="com.appshed.ioioplugin" version="0.0.3" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>IOIO OTG Cordova Android Plugin</name>
<license>Apache 2.0</license>
<js-module name="IOIO" src="ioio.js">
<clobbers target="cordova.plugins.IOIO" />
</js-module>
<platform name="android">
<source-file
src="src/com/appshed/ioioplugin/service/IOIOCOmmunicationService.java"
target-dir="src/com/appshed/ioioplugin/service"
/>
<source-file
src="src/com/appshed/ioioplugin/phonegap/IOIOCommunication.java"
target-dir="src/com/appshed/ioioplugin/phonegap"
/>
<source-file
src="src/com/appshed/ioioplugin/entity/Pin.java"
target-dir="src/com/appshed/ioioplugin/entity"
/>
<source-file
src="src/com/appshed/ioioplugin/entity/PinAnalogInput.java"
target-dir="src/com/appshed/ioioplugin/entity"
/>
<source-file
src="src/com/appshed/ioioplugin/entity/PinDigitalInput.java"
target-dir="src/com/appshed/ioioplugin/entity"
/>
<source-file
src="src/com/appshed/ioioplugin/entity/PinDigitalOutput.java"
target-dir="src/com/appshed/ioioplugin/entity"
/>
<source-file
src="src/com/appshed/ioioplugin/entity/PinPwmOutput.java"
target-dir="src/com/appshed/ioioplugin/entity"
/>
<source-file
src="res/xml/accessory_filter.xml"
target-dir="res/xml"
/>
<source-file
src="res/xml/device_filter.xml"
target-dir="res/xml"
/>
<source-file
src="libs/ioioutils.jar"
target-dir="libs"
/>
<source-file
src="libs/ioiolibbt.jar"
target-dir="libs"
/>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service
android:name="com.appshed.ioioplugin.service.IOIOCOmmunicationService">
<intent-filter>
<action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
</intent-filter>
<intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
android:resource="@xml/accessory_filter"
/>
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter"
/>
</service>
</config-file>
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="IOIOCommunication">
<param name="android-package" value="com.appshed.ioioplugin.phonegap.IOIOCommunication" />
</feature>
</config-file>
</platform>
</plugin>