how to add a new calendar events in windows phone application - windows-phone-7

I guess appointment class for Windows Phone is read only class. Can any one suggest me on how to create a calender event in Windows Phone 7 application. Is there any API available for the same.
Thanks,
Harlborn

Both the google calendar and the Windows Live calendar have a rest API. You might be able to do something by calling these methods. I have never tried either of these, but they might be worth a look.

You can't create or edit calendar items in windows phone 7

Related

Working with the to-do list in Windows Phone 7

Is there any way to work with the built in to-do list in WP7? I noticed that if you show your to-dos in the calendar then Appointments.SearchASync() will also bring them but without subject nor notes, which renders it pretty much useless.
An online service I could link my phone to that also provided an open API would also be a valid solution.
Check Calendars (Live Connect API)
I fear , Currently , You can't create or edit to do lists in windows phone 7 via SDK .

Can I stop upcoming calendar events appearing on windows phone 7 lock screen?

I want to be able to programmatically customize what notifications appear on the lock screen.
Specifically I'm trying to stop the display of upcoming calendar notifications on the lock screen. I only want to see these when I go into calendar itself.
I have a windows phone developer account so happy to create my own custom app that provides this functionality.
Andy
This type of customization is not available in the Windows Phone API.

Can i access and update sim contacts in windows phone 7 application [duplicate]

How do you access the contacts store (the contact list) within Windows Phone 7?
Thanks!
update: It seems that this might be available in the next version of WP7, Mango:
Link
EDIT: This answer was correct at the time of posting. In Windows Phone 7.1 (Mango) third-party applications will have access to contacts.
You can't. You're not allowed to. That's viewed as private data that applications shouldn't be touching.
EDIT: Although you can't directly access the contacts list, you can launch the EmailAddressChooserTask or PhoneNumberChooserTask to get back just that piece of information about a user-specified contact. (Likewise you can launch a task to save a phone number or email address.)
There is a official Walkthrough at Microsoft especially for Mango Beta 2.
Windows Phone SDK 7.1 Beta 2 gives you read-only access to the user’s contact data, aggregated across the user's different accounts.
Only possible way to save new details to a contact is via the Launchers:
SaveEmailAddressTask
SavePhoneNumberTask
SaveContactTask (which is new to Mango Beta 2)
For read only you can use:
PhoneNumberChooserTask
EmailAddressChooserTask
AddressChooserTask (which is new to Mango Beta 1)
If you want to query the whole contact list, you will need LINQ.
Check the WP7.1 SDK Beta for the class "Contacts" listed in the namespace UserData . Now you should be able to...

Get outlook-activities in a WP7-app?

How can I fetch the calendar-activities from Outlook in my Silverlight WP7-app? I want to make my own Agenda-app to run on my Windows Phone 7 (Omnia 7).
UPDATE
If not directly from phone calendar to my app, what other options do I have?
In my phone I currently have Windows Live and Outlook calendars. Im guessing that new Windows Live activities I enter on the phone is synched to my online Live-account? Could I then get those through a custom WCF-service/XML-feed instead perhaps? And likewise with the Oulook-calendar. It should be synched with the Outlook-calendar on the SharePoint-server. Maybee I can get the calendar-events in a custom server-app and feed it to the phone through the local network instead. Any suggestions?
And is there any way to add more calendar-sources then Live and Outlook to the WP7-calendar? Is there any API for this?
The short answer is: "you can't do that".
The long answer is: "sorry you can't do that".
All kidding aside, currently the API doesn't expose any method of accessing the user's calendar. Rightly or wrongly they do this for security reasons.

WP7 any way to get the pic of the contact

i look at the list of choosers for windows phone 7 and i miss one where i can read the avatar-pic fo the contact. am i missing something here or is this just not possible yet?
thx
sargola
This isn't possible through the phone SDK at the moment.
What is exposed is being able to retrieve the email address or the phone number from a chooser. Details on that here for reference.
How to: Use Choosers for Windows Phone

Resources