Purpose:
- You can add Microsoft advertisement on your app if you are sending it to app store and you will want your user to make use of the app free while advert its runing on it.
- But user that upgrade by paying some little cents will have the app runing without advert.
Get access to Microsoft Advertisement Code on Github
Codes and screenshort below:
Code for MainPage.xaml
<Page | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
xmlns:local="using:MicrosoftAdvertsementOnApp" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
xmlns:Universal="using:Microsoft.AdMediator.Universal" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
x:Class="MicrosoftAdvertsementOnApp.MainPage" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
mc:Ignorable="d"> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Universal:AdMediatorControl x:Name=" AdMediator_3E8C7E" HorizontalAlignment= "Left" Height="250" Id="AdMediator-Id-0585DBBD-0695-4116-86CF-8AEA59BD21F1" VerticalAlignment="Top" Width="300"/> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
</Grid> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
</Page> Code within MainPage.xaml.cs
|
No comments:
Post a Comment
Note: only a member of this blog may post a comment.