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();
Related
I m starting to create an windows 8.1 app with visual studio 13'.
My idea is to create a simple login fb form - simple list with online/ offline friends and heads like android os when chatting with someone.
A very simple image how i dream it: http://img.prntscr.com/img?url=http://i.imgur.com/plb2mXc.png .
My questions are:
1) Can i keep going with this idea? I mean: Can i have permissions which i need from facebook sdk- api?
2) Heads must be create like widgets or i have to create a bar on which leans heads chat?
Thank in advanced!!!
Since friend permissions are gone (that would include the friends_online_presence permission), there is no way to build this. Check out the changelog for more information: https://developers.facebook.com/docs/apps/changelog
i use the admob wp7 sdk for displaying adds in my apps, but i dont see any, it looke like:
<google:BannerAd
xmlns:google="clr-namespace:Google.AdMob.Ads.WindowsPhone7.WPF;assembly=Google.AdMob.Ads.WindowsPhone7"
AdUnitID="MY_AD_UNIT_ID">
of course i insert my adUnitID, when i start my app i dont get anything to see, also when i enable test mode i cant see anything, what could be worng? on the homepage i see that i got requests because it counts up, but nothing to see.
other question:
are there any other add providers instead of smaato and adDuplex which provide a WP7 sdk?
As of today the Microsoft Ad SDK for WP7 can now be used in all territories where the marketplace is available.
Alternatively you could consider AdDuplex
I would recommend looking at the documentation and contacting admob support. Its a third party control so you would be lucky to find someone on here who can offer advice.
Does anybody know how to access the Xbox Live Avatar from within an XNA based Windows Phone 7 application?
Examples I have found seem to use a SignedInGamer.Avatar property, but this is not accessible from Windows Phone 7.
Is there another way or is this not possible in the first place?
as a side note, I'm using the recent Mango beta 7.1 SDK
Thanks!
It's not available in code unless you have the elevated privileges of access to XBox live.
You can, however get an image of your avatar from the web. try:
http://avatar.xboxlive.com/avatar/XXXXXXX/avatar-body.png
where xxxxx is the XBox account name. e.g. http://avatar.xboxlive.com/avatar/kris/avatar-body.png
My understanding is they are only available to partners. See this post for more information:
http://www.ozymandias.com/how-do-i-use-xbox-live-apis-on-windows-phone
However, it looks like you can demo them, here's a quick tutorial on using them:
http://xnaessentials.com/archive/2009/06/11/xna-game-studio-3-1-avatar-tutorial.aspx
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...
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.