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
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); | |
imei = tm.getDeviceId(); |
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
-compile: | |
[javac] Compiling 17 source files to /Users/k/gea/android/trunk/gea/platforms/android/bin/classes | |
[javac] /Users/k/gea/android/trunk/gea/platforms/android/src/com/plugin/facebook/FacebookConnect.java:107: cannot find symbol | |
[javac] symbol : method success(org.apache.cordova.api.PluginResult,java.lang.String) | |
[javac] location: class org.apache.cordova.plugins.FacebookConnect | |
[javac] this.success(pluginResult, callbackId); | |
[javac] ^ | |
[javac] /Users/k/gea/android/trunk/gea/platforms/android/src/com/plugin/facebook/FacebookConnect.java:316: cannot find symbol | |
[javac] symbol : method success(org.apache.cordova.api.PluginResult,java.lang.String) | |
[javac] location: class org.apache.cordova.plugins.FacebookConnect |
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
// | |
// FacebookConnect.java | |
// | |
// Created by Olivier Louvignes on 2012-07-20. | |
// | |
// Copyright 2012 Olivier Louvignes. All rights reserved. | |
// MIT Licensed | |
package org.apache.cordova.plugins; |
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
sections: ['checklist','news'], | |
swap: function(section) { | |
for (var i = 0, len = _.sections.length; i != len; i++) { | |
if (section != _.sections[i]) { | |
window[_.sections[i]].d(); | |
} | |
} |
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.plugin.drawer; | |
import org.apache.cordova.api.CallbackContext; | |
import org.apache.cordova.api.CordovaPlugin; | |
import org.apache.cordova.api.PluginResult; | |
import org.json.JSONArray; | |
import android.util.Log; | |
import android.support.v4.widget.DrawerLayout.DrawerListener; | |
import android.view.View; |
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.plugin.drawer; | |
import org.apache.cordova.api.CallbackContext; | |
import org.apache.cordova.api.CordovaPlugin; | |
import org.apache.cordova.api.PluginResult; | |
import org.json.JSONArray; | |
import android.widget.AdapterView; | |
import android.widget.ListView; |
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.samsung.gea; | |
import org.apache.cordova.DroidGap; | |
import android.os.Bundle; | |
import android.support.v4.widget.DrawerLayout; | |
import android.support.v4.widget.DrawerLayout.DrawerListener; | |
import android.view.View; | |
import android.widget.ArrayAdapter; | |
import android.widget.FrameLayout; |
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.plugin.drawer; | |
import org.apache.cordova.api.CallbackContext; | |
import org.apache.cordova.api.CordovaPlugin; | |
import org.apache.cordova.api.PluginResult; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import android.support.v4.widget.DrawerLayout.DrawerListener; |
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
function Drawer() { | |
this.listeners = { | |
"init": [], | |
"close": [], | |
"open": [], | |
"select": [] | |
} | |
var self = this; |
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
var time = { | |
weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], | |
months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], | |
interval: false, | |
obj: {}, | |
i: function(obj) { |