I have created a Mobile application, and as it's my first application, and I'm learning how to do windows phone applications, I want to insert ads into.
I have seen this site: http://social.msdn.microsoft.com/Forums/windowsapps/en-US/8adb6cb5-4274-40b3-b1eb-4f06fdaedb86/how-do-i-add-advertisements-in-my-app?forum=wpdevelop
but when I add using Microsoft.Advertising.Mobile.Xna I have been able to add the reference Microsoft.Advertising.Mobile and Microsoft.Advertising.Mobile.UI but I haven't found Microsoft.Avertising.Mobile.Xna
Is there an other way to insert ads created by Microsoft PubCenter, Am I missing something about Xna?
you should follow these steps for windows phone 7 Advertising Sdk Implementation:
Installing the Microsoft Advertising SDK.
Registering the application with the Microsoft pubCenter.
Embedding the ad control in the application.
For Implementing AdControl in App you can try this:
XAML:
<advertising:AdControl ApplicationId="test_client"
AdUnitId="Image480_80">
</advertising:AdControl>
Note: Add this in <phone:PhoneApplicationPage> Tag
xmlns:advertising="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI"
After this you can see Test Ads in your Application.
for more Reference you can go here Using display ads in Windows Phone 7 apps and you can find good sample here Windows Phone 7 AdControl Example
Related
I have developed a custom teams app which is a message extension using bot framework v3 (c#). I'm having a adaptive card with a submit button, this button trigger AdaptiveSubmitAction, its working on desktop teams app but on mobile version this is not working.
Is there anything I have add to make this work on mobile app also.
According to Gousia, this is a bug and is being looked into
I'm developing a Windows Store app. In the app I'm using the Groove SDK to query the Microsoft Store for movie titles. I can get the movie I'm looking for along with all of it's meta data. How can I launch the Windows Store app to show the user the same movie as available from Microsoft?
This has been very confusing. I have a Surface with Windows 8.1. It comes with the Windows Store app, a Music app and a Video app. The Video app says "xbox video." I've read that it has now changed to "Groove." I've look for documentation on how to link content but have found nothing.
the Groove SDK APIs will return deep links to content. Launch this deep link using Windows API
Launcher.LaunchUriAsync(new Uri(myGrooveDeepLink));
Notice that you will have to add a "target=app" parameter to your uri to launch the app instead of the web site.
https://msdn.microsoft.com/en-us/library/dn546675.aspx
I am trying to create an UWP app that uses xinput. Trying to get input from a controller using a WPF app , all good. Trying the same code in a UWP app nothing. Am I doing something wrong or xinput really doesn't work with UWP.
There is a new WinRT API in the Windows.Gaming.Input namespace for universal Windows apps. This API supports both the Xbox 360 Common Controller and the Xbox One controller, including access to the left/right trigger motors. The latest version of GamePad is implemented using this new API when built for Windows 10. You can refer to MSDN for Windows.Gaming.Input namespace.
As about XInput: For UWP, you can continue to use the XInput 1.4 API but need to change from linking to xinput.lib to xinputuap.lib, which is an adapter for the new API for universal Windows apps--this adapter does not exist headset audio either. This blog may help you.
I'm novice when it comes to using API's with C# apps, and I decided to start a windows 8 Modern UI application. I've looked for information about how to integrate facebook into a project using the facebook API, and I found some useful answers, but some things are still unclear to me...
I've not found any official Facebook API for C#, I created an developer acount on Facebook but when i want to create a project using it, there is no choice for a c# application.
I've searched the Internet and found this : https://github.com/facebook-csharp-sdk/facebook-windows8-sample
I downloaded it and put the app's id I got from Facebook on it, but it doesn't work. My question is simple: Is there any official API with documentation or a website where I can get real and exact information for it?
The Official SDK from Facebook is only for PHP, Javascript, iOS and Android.
For the .NET world, there is the Facebook C# SDK which you have already found. You can do everything with it, including full Windows 8 Apps with Facebook integration.
The main site is at http://CSharpSDK.org/
I am developing an application in which I need to display the ads. So now the problem is I cannot use ad-control that is provided by Microsoft. The client has said that he will provide different types of ads like banner,interstitial,gallery and expandable ads. Are there any policies that prohibit me to use my own controls to display the ads rather than using ad-control by Microsoft?
Yes, this is legal, but there are policies regarding WP7 advertising:
Here’s official text from the Microsoft Windows Phone 7 Marketplace guidelines:
2.7 If your application includes or displays advertising, the advertising must comply with the Microsoft Advertising Creative Acceptance Policy Guide.