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

推荐订阅源

Cyberwarzone
Cyberwarzone
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Exploit Database - CXSecurity.com
有赞技术团队
有赞技术团队
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
GbyAI
GbyAI
A
Arctic Wolf
Simon Willison's Weblog
Simon Willison's Weblog
美团技术团队
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
NISL@THU
NISL@THU
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
N
News and Events Feed by Topic
M
MIT News - Artificial intelligence
T
Tenable Blog
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
S
Security Affairs
T
Troy Hunt's Blog
月光博客
月光博客
SecWiki News
SecWiki News
PCI Perspectives
PCI Perspectives
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Fortinet All Blogs
IT之家
IT之家
F
Full Disclosure
博客园_首页
C
CERT Recently Published Vulnerability Notes
T
Threatpost
Last Week in AI
Last Week in AI
C
Cisco Blogs
H
Heimdal Security Blog
大猫的无限游戏
大猫的无限游戏
Webroot Blog
Webroot Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Attack and Defense Labs
Attack and Defense Labs
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
量子位
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
I
InfoQ
P
Proofpoint News Feed
Y
Y Combinator Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main

博客园 - 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