From 74c5e46910fa66da0e8f11ed9ec1f8e0df3b63d7 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 11 Jun 2014 16:02:42 +0200 Subject: verschiebe Dateien --- js/SocialSharing.js | 591 ---------------------------------------------------- 1 file changed, 591 deletions(-) delete mode 100644 js/SocialSharing.js (limited to 'js/SocialSharing.js') diff --git a/js/SocialSharing.js b/js/SocialSharing.js deleted file mode 100644 index 71005d6..0000000 --- a/js/SocialSharing.js +++ /dev/null @@ -1,591 +0,0 @@ - - - - - - - - - - - - - SocialSharing-PhoneGap-Plugin/www/SocialSharing.js at master · EddyVerbruggen/SocialSharing-PhoneGap-Plugin · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Skip to content -
- - - - - - - -
-
- - - - - - - -
- - -
- -
- - - -
- - - -
- - This repository - - - -
- - - - - - - - -
-
- -
-
- - - -
-
-
- -
-
-
- - - - -

- public - - /SocialSharing-PhoneGap-Plugin - - - Octocat-spinner-32 - - -

-
-
- -
-
-
- - - - -
- - - - -
-

HTTPS clone URL

-
- - - -
-
- - - -
-

Subversion checkout URL

-
- - - -
-
- - -

You can clone with - HTTPS - or Subversion. - - - - - -

- - - - - - Download ZIP - -
-
- -
- - - - - - - - - -
- - -
- - - branch: - master - - - -
- - -
- - -
- Eddy Verbruggen - - - - - - -
- -
-
-
-
- - executable file - - 47 lines (36 sloc) - - 2.018 kb -
- -
-
- - - - - -
- 1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 - -
function SocialSharing() {
}

SocialSharing.prototype.available = function (callback) {
  cordova.exec(function (avail) {
    callback(avail ? true : false);
  }, null, "SocialSharing", "available", []);
};

SocialSharing.prototype.share = function (message, subject, file, url, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "share", [message, subject, file, url]);
};

SocialSharing.prototype.shareViaTwitter = function (message, image, url, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "shareViaTwitter", [message, null, image, url]);
};

SocialSharing.prototype.shareViaFacebook = function (message, image, url, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "shareViaFacebook", [message, null, image, url]);
};

SocialSharing.prototype.shareViaWhatsApp = function (message, image, url, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "shareViaWhatsApp", [message, null, image, url]);
};

SocialSharing.prototype.shareViaSMS = function (message, phonenumbers, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "shareViaSMS", [message, phonenumbers]);
};

SocialSharing.prototype.canShareVia = function (via, message, subject, image, url, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "canShareVia", [message, subject, image, url, via]);
};

SocialSharing.prototype.shareVia = function (via, message, subject, image, url, successCallback, errorCallback) {
  cordova.exec(successCallback, errorCallback, "SocialSharing", "shareVia", [message, subject, image, url, via]);
};

SocialSharing.install = function () {
  if (!window.plugins) {
    window.plugins = {};
  }

  window.plugins.socialsharing = new SocialSharing();
  return window.plugins.socialsharing;
};

cordova.addConstructor(SocialSharing.install);
-
- -
-
- - - - -
- -
- -
-
- - -
- -
- -
- - -
-
-
- -
-
- -
- - - -
- - - Something went wrong with that request. Please try again. -
- - - - -- cgit v1.3.1