7

Android Calendar methods Error

view full story
linux-howto

http://stackoverflow.com – While searching for google calendar API use in android using AccountManager I got some Problems.Problem is that while creating service object of Calendar.Builder(..) class in API v3.According to API it has method setJsonHttpRequestInitializer() but my calendar object has not that method.Then how can I set value of API key and initialise CalendarRequest object. Here is My code according to other users: Calendar service=new com.google.api.services.calendar.Calendar.Builder(transport ,jsonFactory, request ) .setApplicationName("Google-CalendarSample/1.0") .setCalendarRequestInit (HowTos)