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
require_once 'vendor/google-api-php-client/src/Google/autoload.php'; | |
// email address from the client | |
$serviceAccountName = '####################@developer.gserviceaccount.com'; | |
$scopes = array( | |
'https://www.googleapis.com/auth/calendar', | |
'https://www.googleapis.com/auth/calendar.readonly' | |
); |
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 escape = { | |
"&": "&", | |
"<": "<", | |
">": ">", | |
'"': """, | |
"'": "'", | |
"`": "`" | |
}; | |
var badChars = /[&<>"'`]/g; |
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.phonegap.Sample; | |
import java.io.File; | |
import android.app.AlertDialog; | |
import android.app.AlertDialog.Builder; | |
import android.app.PendingIntent; | |
import android.app.ProgressDialog; | |
import android.content.Intent; | |
import android.content.pm.PackageManager.NameNotFoundException; |
NewerOlder