java - Google Calendar API - How To Create Service -
looking @ google calendar api v3 documentation, see them show under events.list snippet of code.
string pagetoken = null; { events = service.events().list('primary').setpagetoken(pagetoken).execute(); list<event> items = events.getitems(); (event event : items) { system.out.println(event.getsummary()); } pagetoken = events.getnextpagetoken(); } while (pagetoken != null);
i wondering how person go setting "service" in line
events = service.events().list('primary').setpagetoken(pagetoken).execute();
i think might
calendar service = calendar(httptransport, jsonfactory, httprequestinitializer)
but not 100% sure asking help. thanks!
this seems code web based calendar thing, might need web services run on android.
Comments
Post a Comment