Answered by:
add/get appointments from calendar

Question
-
Hi Everybody
is it possible from my Metro app to add new appointments to the calendar ,retrieve or delete from the calendar programatically ?
another question
can i - programatically - turn the flash light on/off?
thanks in advance
Thursday, May 3, 2012 8:03 AM
Answers
-
The calendar is the Live calendar so you can ask on the Live developers forums how to access the calendar using their api's. Here is a link to the live SDK: http://msdn.microsoft.com/en-us/library/bb264574.aspx. You cannot communicate directly between Metro style applications and Calendar does not implement the Share contract so that would be your only options.
Flash light? What do you mean?
-Jeff
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Thursday, May 3, 2012 12:00 PM
- Marked as answer by MDeveloper90 Thursday, May 3, 2012 12:09 PM
- Unmarked as answer by MDeveloper90 Thursday, May 3, 2012 12:09 PM
- Marked as answer by MDeveloper90 Thursday, May 3, 2012 12:39 PM
Thursday, May 3, 2012 12:00 PMModerator -
The end user has control over the settings in the camera options UI to change camera settings (as provided by the device manufacturer). There is no programmatic way to set these options other than the ones you see listed here: http://msdn.microsoft.com/en-us/library/windows/apps/br226738.aspx
-Jeff
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Thursday, May 3, 2012 12:37 PM
- Marked as answer by MDeveloper90 Thursday, May 3, 2012 12:39 PM
Thursday, May 3, 2012 12:37 PMModerator
All replies
-
The calendar is the Live calendar so you can ask on the Live developers forums how to access the calendar using their api's. Here is a link to the live SDK: http://msdn.microsoft.com/en-us/library/bb264574.aspx. You cannot communicate directly between Metro style applications and Calendar does not implement the Share contract so that would be your only options.
Flash light? What do you mean?
-Jeff
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Thursday, May 3, 2012 12:00 PM
- Marked as answer by MDeveloper90 Thursday, May 3, 2012 12:09 PM
- Unmarked as answer by MDeveloper90 Thursday, May 3, 2012 12:09 PM
- Marked as answer by MDeveloper90 Thursday, May 3, 2012 12:39 PM
Thursday, May 3, 2012 12:00 PMModerator -
Thanks jpsanders
i mean the led flash light for the camera
can i control it by code?
Thursday, May 3, 2012 12:04 PM -
The end user has control over the settings in the camera options UI to change camera settings (as provided by the device manufacturer). There is no programmatic way to set these options other than the ones you see listed here: http://msdn.microsoft.com/en-us/library/windows/apps/br226738.aspx
-Jeff
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Thursday, May 3, 2012 12:37 PM
- Marked as answer by MDeveloper90 Thursday, May 3, 2012 12:39 PM
Thursday, May 3, 2012 12:37 PMModerator -
Thanks and i appreciate your help :)Thursday, May 3, 2012 12:39 PM
-
This has actually been addressed in 8.1 with the new Appointments APIs that any app can use to add, remove or replace appointments in the user's calendar by interacting with the preinstalled Calendar app.
Sample: http://code.msdn.microsoft.com/windowsapps/Appointments-API-sample-2b55c76e
Nick Eubanks (MSFT)
Tuesday, October 15, 2013 4:57 AM