from Create Google Calendar event with SMS and Email notification by Ofir Perry Bibi
A simple tool to create an event with notifications in a Google Calander.

GCalData.html
GCalData

Class GCalData

java.lang.Object
  extended by GCalData

public class GCalData
extends java.lang.Object

Author:
Ofir Bibi This Class uses the GData interface for the Google Calendar. Using this class you can create a new event in your calendar. In the future it might do more...

Constructor Summary
GCalData()
           
 
Method Summary
static int addEvent(java.lang.String userName, java.lang.String password, java.lang.String title, java.lang.String content, java.lang.String location, boolean smsMe, boolean emailMe, int DelayInMin)
          This method creates a new event in your calander with given parameters for content and reminders.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCalData

public GCalData()
Method Detail

addEvent

public static int addEvent(java.lang.String userName,
                           java.lang.String password,
                           java.lang.String title,
                           java.lang.String content,
                           java.lang.String location,
                           boolean smsMe,
                           boolean emailMe,
                           int DelayInMin)
This method creates a new event in your calander with given parameters for content and reminders.

Parameters:
userName - your google username
password - your google password
title - The title of the event
content - The content of the event
location - The location of the event
smsMe - true if you want an sms reminder
emailMe - true if you want an email reminder
DelayInMin - gap in minutes from now to the time of the event.
Returns:
0 if the event was created, negative number for errors.


Contact us at files@mathworks.com