Get outlook-activities in a WP7-app? - windows-phone-7

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.

Related

Microsoft Outlook on PC does not update calendar via iCal link (google calendar) but does on iPhone

so this is a real brain buster. I have searched and tried every different setting there is.
For some reason, my google calendar adds updates in via my outlook on my iPhone, and via the google calendar app, but when I type in a new appointment on my computer and hit update, it erases all of the appointments I put in on my computer and downloads them from the server.
I have done the following:
I added in 4 different types of calendar, with
http://(googleaddress/private).ics
webcal://(googleaddress/private).ics
http://(googleaddress/public).ics
webcal://(googleaddress/public).ics
I even tried contacting Microsoft's support, and they told me it was impossible that my iPhone was updating the google calendar, as it is not supported. The support person refused to acknowledge that my phone was in fact updating my calendar, and they claimed it was my other exchange account doing it. However that makes no sense, as I removed my other Exchange email account to make sure that was not happening, and it surely was not.
So my question, why in the world would Outlook the IOS app be able to update my google calendar perfectly, but my PC cannot? I am pretty sure I saw some add-ins online that I could use to do this, but I was trying to do it without downloading more software. The fact that my phone can do it and my computer cannot is really irritating to me, both using Microsoft Outlook.
Thank you in advance guys.
Corey

how to add a new calendar events in windows phone application

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

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 .

Sharing something in Social Media in WP7

I want to implement a share option in my app which will allow user to share something or say post something to his linked account(like facebook, twitter, linkedin etc). But i am not getting any clue. I read somewhere that in WindowsPhoneTool71 the share property is inbuilt, but I am using WindowsPhoneTool7. So anybody out there to help me out.
Thanks!!
Why are you using WP7 rather than WP7.1? The Mango release was rolled out months ago, so you can guarantee that any Windows Phone 7 user will certainly have had the update by now. With Windows Phone 7.1 the ShareStatusTask will do exactly what you want in just lines of code!
ShareStatusTask task = new ShareStatusTask();
task.Status = "User Status";
task.Show();

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...

Resources