iPhone Windows Phone : | AndroidiOS Windows Phone
- AndroidiOS Windows Phone
: 2012 2 7
Windows Phone Interoperability () Windows Phone : iPhone to Windows Phone: In-App Advertisements ()
iOS Apple iAds Windows Phone Microsoft Advertising SDK
: 2012/2/10
UI
iPhone ( 1) Windows Phone ( 2) UI iPhone Microsoft Advertising Windows Phone UI
Windows Phone
iAds Internet Explorer Marketplace
Windows Phone AdControl UI BorderBrush ( Control ) XAML
<UI:AdControl Height="80" Width="460" BorderBrush="Blue" />
XAML 16
<UI:AdControl Height="80" Width="460" BorderBrush="#FFBA2121" />
iAds iTunes Connect (itunesconnect.apple.com) iAd Network Microsoft Advertising pubcenter.microsoft.com Live ID (1 50 ) EIN/TIN ()
1 () () GUID ID ID PubCenter
iAds "" "" 3 iAd URL Web URL ()
ID ID AdControl XAML XAML "UI" Microsoft.Mobile.Advertising.UI iAd.framework Xcode iAd/iAd.h
<UI:AdControl ApplicationId="00000000-0000-0000-0000-000000000000" AdUnitId="00000000" Height="80" Width="460" BorderBrush="Blue" />
AdControl IsAutoRefreshEnabled true Microsoft AdControl 60 iOS iAd
Windows Phone iAd
DispatchTimer 2 UI (DispatcherTimer) 2
// adControl.ApplicationId = AD_CENTER_APPLICATION_ID; adControl.AdUnitId = AD_CENTER_AD_UNIT_ID; adControl.IsAutoCollapseEnabled = true; adControl.IsAutoRefreshEnabled = false; adControl.AdRefreshed += new EventHandler(adControl_AdRefreshed);
// Interval 30 DispatcherTimer _timer = null; void InitializeAdRefreshTimer() { _timer = new DispatcherTimer(); _timer.Interval = TimeSpan.FromSeconds(30); _timer.Tick += new EventHandler(timer_Tick); } void timer_Tick(object sender, EventArgs e) { // _timer.Stop(); adControl.Refresh(); // : AdRefreshed } void adControl_AdRefreshed(object sender, EventArgs e) { // _timer.Start(); }
PubCenter Marketplace
Windows Phone WMAppManifest.xml (Capability)
<Capabilities> <Capability Name="ID_CAP_IDENTITY_DEVICE" /> <Capability Name="ID_CAP_NETWORKING" /> <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" /> </Capabilities>
Microsoft Advertising / ID_CAP_LOCATION
Microsoft Advertising Windows Phone PubCenter AdControl Microsoft AdCenterTM http://advertising.microsoft.com/mobile-apps Windows Phone ()
0 コメント:
コメントを投稿