This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class receiver extends BroadcastReceiver { | |
private DroidGap dClass; | |
@Override | |
public void onReceive(Context context, Intent intent) { | |
Bundle extras = intent.getExtras(); | |
String referrerString = extras.getString("referrer"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rosetta.sms_sxsw; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
public class receiver extends BroadcastReceiver { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rosetta.sms_sxsw; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import org.apache.cordova.*; | |
import android.telephony.TelephonyManager; | |
public class sms_sxsw extends DroidGap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rosetta.sms_sxsw; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import org.apache.cordova.*; | |
import android.telephony.TelephonyManager; | |
public class sms_sxsw extends DroidGap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rosetta.sms_sxsw; | |
import org.apache.cordova.DroidGap; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rosetta.sms_sxsw; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
public class receiver extends BroadcastReceiver { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rosetta.sms_sxsw; | |
import java.util.List; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import org.apache.cordova.*; | |
import android.telephony.TelephonyManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cordova.define("cordova/plugin/AccountList", function(require, exports, module) { | |
var exec = require("cordova/exec"); | |
var AccountList = function () {}; | |
AccountList.prototype.get = function(params, success, fail) { | |
return cordova.exec( function(args) { | |
success(args); | |
}, function(args) { | |
fail(args); | |
}, 'AccountList', '', [params]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cordova.define("cordova/plugin/AccountList", function(require, exports, module) { | |
var exec = require("cordova/exec"); | |
var AccountList = function () {}; | |
AccountList.prototype.get = function(params, success, fail) { | |
cordova.exec(success,fail,"AccountList", "get", params); | |
}; | |
/* | |
return cordova.exec( function(args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin tools(media) | |
.tools | |
if media.flagged != 1 | |
.flag flag | |
else | |
.flag unflag | |
if media.sticky != 1 | |
.stick stick | |
else | |
.stick unstick |