惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
G
Google Developers Blog
宝玉的分享
宝玉的分享
爱范儿
爱范儿
Last Week in AI
Last Week in AI
U
Unit 42
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
D
DataBreaches.Net
Recent Commits to openclaw:main
Recent Commits to openclaw:main
雷峰网
雷峰网
T
The Exploit Database - CXSecurity.com
L
LangChain Blog
C
CERT Recently Published Vulnerability Notes
S
Schneier on Security
C
Cisco Blogs
MongoDB | Blog
MongoDB | Blog
G
GRAHAM CLULEY
Hacker News - Newest:
Hacker News - Newest: "LLM"
大猫的无限游戏
大猫的无限游戏
L
LINUX DO - 最新话题
D
Docker
K
Kaspersky official blog
Security Latest
Security Latest
博客园 - 【当耐特】
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Hacker News
The Hacker News
P
Privacy International News Feed
Microsoft Security Blog
Microsoft Security Blog
V2EX - 技术
V2EX - 技术
The Last Watchdog
The Last Watchdog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Martin Fowler
Martin Fowler
Latest news
Latest news
Project Zero
Project Zero
TaoSecurity Blog
TaoSecurity Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Threat Research - Cisco Blogs
H
Heimdal Security Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
Help Net Security
Help Net Security
A
Arctic Wolf
Cisco Talos Blog
Cisco Talos Blog
Engineering at Meta
Engineering at Meta
M
MIT News - Artificial intelligence

博客园 - Kenny田

iOS 下 Podfile 使用方法 使用 NVM 管理不同的 Node.js 版本 将React Native集成至Android原生应用 Gradle在Windows环境与Linux上配置有哪些不同? 学习Android Studio里的Gradle 解决 Android Studio 乱码问题 不知道如何处理的Windows Phone异常 用命令行安装并启动Windows Phone 8 App 在Windows Phone项目中调用C语言DLL PLSQL Developer 初始化错误 [原]初次运用数据缓存机制 [原]执行存储过程后返回影响的行数 [原]可定义的英文小日历 可逆加密解密程序(ASP版) [原]有TreeNode”并不包含“Nodes”的定义困扰的朋友看过来 全文服务(Microsoft 搜索)不可用。系统管理员必须启动此服务 [转]解决sql2000挂起无法安装的问题 [转]安装SQL Server 2000 时出现 command line option syntax error [原]如何将一个表中的某一列的数据全部复制到另一个表中
演示Microsoft Advertising SDK for Windows Phone 8.1
Kenny田 · 2014-03-19 · via 博客园 - Kenny田

演示Microsoft Advertising SDK for Windows Phone 8.1,Only for Windows Phone 8.1

1、在References上点右键,添加引用,找到Microsoft Advertising SDK for Windows Phone 8.1 (XAML)

2、能在References里看到,就是表示添加成功了

3、引用代码(注意:跟Win8一样是using开头的)

xmlns:ui="using:Microsoft.Advertising.Mobile.UI"

4、广告代码

<StackPanel>
    <!--640x100_music_video-->
    <TextBlock Text="640x100_music_video" FontSize="20" />
    <ui:AdControl ApplicationId="132e7a5d-97f7-4d24-a5bf-fb88297e2d80" AdUnitId="161706" Width="610" Height="100" HorizontalAlignment="Left" />

    <!--480x80_tools_productivity-->
    <TextBlock Text="480x80_tools_productivity" FontSize="20" />
    <ui:AdControl ApplicationId="132e7a5d-97f7-4d24-a5bf-fb88297e2d80" AdUnitId="161712" Width="480" Height="80" HorizontalAlignment="Left" />

    <!--300x50_sports-->
    <TextBlock Text="300x50_sports" FontSize="20" />
    <ui:AdControl ApplicationId="8311d455-7e75-43e0-a325-7f2ad9279eac" AdUnitId="166517" Width="300" Height="50" HorizontalAlignment="Left" />

    <!--320x50_social-->
    <TextBlock Text="320x50_social" FontSize="20" />
    <ui:AdControl ApplicationId="8311d455-7e75-43e0-a325-7f2ad9279eac" AdUnitId="166614" Width="320" Height="50" HorizontalAlignment="Left" />
</StackPanel>

5、F5 跑起来,有图有真相(没想到可以同时显示3个广告)

 

源代码下载

离线 Windows Phone 8.1 SDK 文档

http://download.csdn.net/detail/kennytian/6921913

http://download.csdn.net/detail/kennytian/6921883

http://download.csdn.net/detail/kennytian/6921909