Plugin has now its own package namespace

This commit is contained in:
Sebastián Katzer 2013-12-11 14:05:15 +01:00
parent e82bbe211e
commit c039585469
3 changed files with 6 additions and 6 deletions

View File

@ -40,15 +40,15 @@
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Printer">
<param name="android-package" value="de.appplant.cordova.plugin.Printer"/>
<param name="android-package" value="de.appplant.cordova.plugin.printer.Printer"/>
</feature>
<feature name="KitKatPrinter">
<param name="android-package" value="de.appplant.cordova.plugin.KitKatPrinter"/>
<param name="android-package" value="de.appplant.cordova.plugin.printer.KitKatPrinter"/>
</feature>
</config-file>
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin" />
<source-file src="src/android/KitKatPrinter.java" target-dir="src/de/appplant/cordova/plugin" />
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin/printer" />
<source-file src="src/android/KitKatPrinter.java" target-dir="src/de/appplant/cordova/plugin/printer" />
</platform>
</plugin>

View File

@ -19,7 +19,7 @@
under the License.
*/
package de.appplant.cordova.plugin;
package de.appplant.cordova.plugin.printer;
public class KitKatPrinter extends CordovaPlugin {

View File

@ -19,7 +19,7 @@
under the License.
*/
package de.appplant.cordova.plugin;
package de.appplant.cordova.plugin.printer;
import java.io.File;
import java.io.FileOutputStream;