File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
src/android/fr/drangies/cordova/serial Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
The MIT License
2
2
3
- Copyright (c) 2013 Xavier Seignard. http://drangies.fr
3
+ Copyright (c) 2015 Xavier Seignard. http://drangies.fr
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Cordovarduino is a Cordova/Phonegap plugin that enable you to use serial communi
16
16
### Install it
17
17
From the root folder of your cordova project, run :
18
18
```
19
- cordova plugin add https://github.com/stereolux /cordovarduino.git
19
+ cordova plugin add https://github.com/xseignard /cordovarduino.git
20
20
```
21
21
22
22
### How to use it
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
3
<plugin xmlns =" http://www.phonegap.com/ns/plugins/1.0"
4
- id =" org.stereolux .cordova.serial"
4
+ id =" fr.drangies .cordova.serial"
5
5
version =" 0.0.2" >
6
6
<name >Serial</name >
7
7
<description >Cordova plugin to communicate with the android USB serial port</description >
17
17
<platform name =" android" >
18
18
<config-file target =" res/xml/config.xml" parent =" /*" >
19
19
<feature name =" Serial" >
20
- <param name =" android-package" value =" org.stereolux .cordova.serial.Serial" />
20
+ <param name =" android-package" value =" fr.drangies .cordova.serial.Serial" />
21
21
</feature >
22
22
</config-file >
23
- <source-file src =" src/android/org/stereolux /cordova/serial/Serial.java" target-dir =" src/org/stereolux /cordova/serial" />
24
- <source-file src =" src/android/org/stereolux /cordova/serial/UsbBroadcastReceiver.java" target-dir =" src/org/stereolux /cordova/serial" />
23
+ <source-file src =" src/android/fr/drangies /cordova/serial/Serial.java" target-dir =" src/fr/drangies /cordova/serial" />
24
+ <source-file src =" src/android/fr/drangies /cordova/serial/UsbBroadcastReceiver.java" target-dir =" src/fr/drangies /cordova/serial" />
25
25
<source-file src =" lib/usbseriallibrary.jar" target-dir =" libs" />
26
26
</platform >
27
27
</plugin >
Original file line number Diff line number Diff line change 1
- package org . stereolux .cordova .serial ;
1
+ package fr . drangies .cordova .serial ;
2
2
3
3
import java .io .IOException ;
4
4
import java .util .concurrent .ExecutorService ;
Original file line number Diff line number Diff line change 1
- package org . stereolux .cordova .serial ;
1
+ package fr . drangies .cordova .serial ;
2
2
3
3
import org .apache .cordova .CallbackContext ;
4
4
@@ -17,7 +17,7 @@ public class UsbBroadcastReceiver extends BroadcastReceiver {
17
17
// logging tag
18
18
private final String TAG = UsbBroadcastReceiver .class .getSimpleName ();
19
19
// usb permission tag name
20
- public static final String USB_PERMISSION ="org.stereolux .cordova.serial.USB_PERMISSION" ;
20
+ public static final String USB_PERMISSION ="fr.drangies .cordova.serial.USB_PERMISSION" ;
21
21
// cordova callback context to notify the success/error to the cordova app
22
22
private CallbackContext callbackContext ;
23
23
// cordova activity to use it to unregister this broadcast receiver
You can’t perform that action at this time.
0 commit comments