From 370fb17e53e1387f6ce5e5e15ee4a5fdc8a34e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastia=CC=81n=20Katzer?= Date: Tue, 20 Aug 2013 18:27:33 +0200 Subject: [PATCH] Initial start of Android support --- plugin.xml | 12 ++++++++++++ src/android/Printer.java | 28 ++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 src/android/Printer.java diff --git a/plugin.xml b/plugin.xml index e1569d1..6a549d4 100644 --- a/plugin.xml +++ b/plugin.xml @@ -35,4 +35,16 @@ + + + + + + + + + + + + diff --git a/src/android/Printer.java b/src/android/Printer.java new file mode 100644 index 0000000..2d45b47 --- /dev/null +++ b/src/android/Printer.java @@ -0,0 +1,28 @@ +/** + * Printer.java + * Cordova Printing Plugin + * + * Created by Sebastian Katzer (github.com/katzer) on 20/08/2013. + * Copyright 2013 Sebastian Katzer. All rights reserved. + * GPL v2 licensed + */ + +package de.appplant.cordova.plugin; + +import java.io.File; +import java.util.ArrayList; + +import org.json.JSONArray; +import org.json.JSONException; +import org.json.JSONObject; + +import android.content.Intent; +import android.net.Uri; +import android.text.Html; + +import org.apache.cordova.CordovaPlugin; +import org.apache.cordova.CallbackContext; + +public class Printer extends CordovaPlugin { + +}