Skip to content

Commit a27c529

Browse files
Merge pull request #686 from TakayukiHoshi1984/feature_midi_plugin
MIDI プラグインの追加
2 parents 147c5c1 + bb449e5 commit a27c529

115 files changed

Lines changed: 20746 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# MIDI
2+
3+
## 開発環境
4+
Android Studio 2.2.1以上
5+
6+
## サポートするプロファイル
7+
- midi
8+
- soundController
9+
- soundModule
10+
- volumeController
11+
12+
## 要実装箇所
13+
下記のjavaファイルにTODOを記載しています。プラグインの要件に合わせて実装してください。
14+
15+
- MyMidiProfile.java
16+
- MySoundcontrollerProfile.java
17+
- MySoundmoduleProfile.java
18+
- MyVolumecontrollerProfile.java
19+
- MyMessageService.java
20+
21+
22+
## 関連ページ
23+
- [Device Connect プラグイン開発マニュアル](https://github.com/DeviceConnect/DeviceConnect-Android/wiki/DevicePlugin-Manual-for-Android-Studio-110)
24+
25+
## テスト
26+
以下は config オプションのテストです。
27+
28+
testString:
29+
testInt:
30+
testNumber:
31+
testBoolean:
32+
testObject:
33+
testArray:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
buildscript {
2+
repositories {
3+
google()
4+
jcenter()
5+
}
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:3.6.1'
8+
}
9+
}
10+
11+
allprojects {
12+
repositories {
13+
google()
14+
jcenter()
15+
maven {
16+
url 'https://raw.githubusercontent.com/kshoji/javax.sound.midi-for-Android/master/javax.sound.midi/repository/'
17+
}
18+
mavenCentral()
19+
}
20+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'eslint:recommended'
9+
],
10+
parserOptions: {
11+
parser: 'babel-eslint'
12+
},
13+
rules: {
14+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
16+
}
17+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
# Editor directories and files
16+
.idea
17+
.vscode
18+
*.suo
19+
*.ntvs*
20+
*.njsproj
21+
*.sln
22+
*.sw?
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# demo
2+
3+
## Project setup
4+
```
5+
npm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
17+
18+
### Lints and fixes files
19+
```
20+
npm run lint
21+
```
22+
23+
### Customize configuration
24+
See [Configuration Reference](https://cli.vuejs.org/config/).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
3+
if "%1" == "build" (
4+
if not exist node_modules npm install
5+
if not exist dist npm run build
6+
)
7+
8+
if "%1" == "clean" (
9+
if exist dist rmdir /s /q dist
10+
)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/sh
2+
3+
NODE_MODULES=./node_modules
4+
DIST=./dist
5+
6+
function build() {
7+
test -e ${NODE_MODULES}
8+
if [ $? -eq 1 ]
9+
then
10+
npm install
11+
fi
12+
13+
test -e ${DIST}
14+
if [ $? -eq 1 ]
15+
then
16+
npm run build
17+
fi
18+
}
19+
20+
function clean() {
21+
rm -fr ${DIST}
22+
}
23+
24+
case "${1}" in
25+
"build" ) build ;;
26+
"clean" ) clean ;;
27+
esac

0 commit comments

Comments
 (0)