Android Question Mycal.GetListofAllEventsforCalendar

pierrem

Member
Licensed User
Hi,

A call to Mycal.GetListofAllEventsforCalendar(theCal) returns :
(0) -> Title for the event
(1) -> Start date for the ...
(2) -> End date for ...
(3) -->venue/place
(4) --> ????????????????
(5) --> ??????????
(6) --> eventID

what contain list(4) and list(5) ?

Also

a call Mycal.ListExtendedCalendarEntryDetails(liste.Get(6)) to returns :

a map (...and not a list) :

(0) :hasAlarm
(1) :recurRule
(2) :duration
(3) :minutes
(4) :method
(5) :AttendeeName0
(6) :AttendeeEmail0
(7) :AttendeeStatus0

Is it normal to get a '0' ending (5),(6) and (7) ?

Thks in advance
:)
 

DonManfred

Expert
Licensed User
Thanks for the post and the link, but it doesnt frankly ansers the 2 questions
A call to Mycal.GetListofAllEventsforCalendar(theCal) returns :
(0) -> Title for the event
(1) -> Start date for the ...
(2) -> End date for ...
(3) -->venue/place
(4) --> ????????????????
(5) --> ??????????
(6) --> eventID
items returned are the same as in the CreateEvent as well as the Event ID
So this should help
http://www.b4x.com/android/forum/threads/calendar-library.12495/
CreateEvent(int CalID, String Title, String Desc, String Location, long StartTime, long EndTime, String RRule, boolean AllDay)

Is it normal to get a '0' ending (5),(6) and (7) ?
Yes. attendees is a LIST of attendees, The first item get the names ending with 0, the second gets 1 and so on....

From google SDK documentation
"attendees":[
{
"id":string,
"email":string,
"displayName":string,
"organizer":boolean,
"self":boolean,
"resource":boolean,
"optional":boolean,
"responseStatus":string,
"comment":string,
"additionalGuests":integer
}
]
 
Last edited:
Top