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"> <platform name="android">
<config-file target="res/xml/config.xml" parent="/*"> <config-file target="res/xml/config.xml" parent="/*">
<feature name="Printer"> <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>
<feature name="KitKatPrinter"> <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> </feature>
</config-file> </config-file>
<source-file src="src/android/Printer.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" /> <source-file src="src/android/KitKatPrinter.java" target-dir="src/de/appplant/cordova/plugin/printer" />
</platform> </platform>
</plugin> </plugin>

View File

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

View File

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