我想添加一个compassoverlay,但是我遇到了一些错误:
this.mCompassOverlay = new CompassOverlay(context, new InternalCompassOrientationProvider(context), mMapView);
mMapView.getOverlays().add(this.mCompassOverlay);
无法解析符号'mCompassOverlay' 和 无法解析符号'上下文'
我在哪里获得“符号”?
答案 0 :(得分:1)
解决:
Event newEvent = new Event()
{
Summary = ee[0],
Start = new EventDateTime()
{
DateTime = DateTime.Parse(ee[2] + "T" + ee[3] + ":00+02:00")
},
End=new EventDateTime()
{
DateTime=DateTime.Parse(ee[4] + "T" + ee[5] + ":00+02:00")
},
Location=ee[2],
};
EventsResource.InsertRequest ins = service.Events.Insert(newEvent, nazwa_cal);
Event doins = ins.Execute();
Console.WriteLine("Event created: {0}", doins.HtmlLink);