Android App Development : Google Sign In/Login

Integrating Google Sign-In into Your Android App Try Android Sample Project Configure a Google API Console project and set up your Android Studio project Integrating Google Sign-In into Your Android App Additional Scopes OAuth2 involves authentication and authorisation Authentication and Authorization frontend and backend workflow OAuth2 workflow Source of the above image is linked to…

Create Google Form with Script

Create Google Form with Google Script Steps Use Forms Service // Create a new form, then add a checkbox question, a multiple choice question, // a page break, then a date question and a grid of questions. var form = FormApp.create('New Form'); var item = form.addParagraphTextItem(); item.setTitle('Name') .setRequired(true); form.addTextItem() .setTitle('Phone Number') .setRequired(true); var item2 =…

Setting UP Google Login for Website

OAuth2 workflow Google documentation on OAuth2 , see also Token Types Client Libraries Source of the above image is linked to the above image Workflow for serverside applications in Google Site PS: To view all accesses granted to all google apps, visit Google Security Checkup Web and App Activity Steps to integrate Google Login Create…

HTML Page with Google App Script

To add an HTML file to your Apps Script project, follow these steps: https://developers.google.com/apps-script/guides/html Open the Apps Script editor. At the left, click Add a file add > HTML. <!DOCTYPE html> <html> <head> <base target="_top"> <script> function readSSContents() { //simply call a funcion in script var ssContents = google.script.run.myFunction() } function onSuccess(numUnread) { var div…

Insert, Update and Delete with Google App Script

function insert_value(request,sheet){ var id = request.parameter.id; var country = request.parameter.name; var flag=1; var lr= sheet.getLastRow(); for(var i=1;i<=lr;i++){ var id1 = sheet.getRange(i, 2).getValue(); if(id1==id){ flag=0; var result="Id already exist.."; } } //add new row with recieved parameter from client if(flag==1){ var d = new Date(); var currentTime = d.toLocaleString(); var rowData = sheet.appendRow([currentTime,id,country]); var result="Insertion successful";…