<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: PhoneGap iAds Plugin</title>
	<atom:link href="http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/</link>
	<description>at Adobe Systems Inc.</description>
	<lastBuildDate>Wed, 30 Nov 2011 00:47:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: NewbieDan</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-805</link>
		<dc:creator><![CDATA[NewbieDan]]></dc:creator>
		<pubDate>Tue, 04 Oct 2011 16:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-805</guid>
		<description><![CDATA[ok, I added code to my showAd methoid to show/hide an extra div at  the bottom of my app if showAd(true) is called, trouble is even if showAd(false) is called the ad banner still pops up (test ad) and my div.hide() gets called and my buttons are hidden again.  Is there a more reliable way to detect when the ad banner is shown and when it is hidden?]]></description>
		<content:encoded><![CDATA[<p>ok, I added code to my showAd methoid to show/hide an extra div at  the bottom of my app if showAd(true) is called, trouble is even if showAd(false) is called the ad banner still pops up (test ad) and my div.hide() gets called and my buttons are hidden again.  Is there a more reliable way to detect when the ad banner is shown and when it is hidden?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NewbieDan</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-795</link>
		<dc:creator><![CDATA[NewbieDan]]></dc:creator>
		<pubDate>Mon, 03 Oct 2011 18:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-795</guid>
		<description><![CDATA[HI,
Thanks for the tut but one question:
How do get the ads to show up below my app and not ontop of it, I have a row of buttons on the bottom of my app but the ads show up on top of them thereby blocking them from the view and use.  If I just add an extra 50px to the bottom of my app then that is wasted space if there is no app to show.

here is what my appdelagate.h and .m look like now:
#import &quot;iAd/iAd.h&quot;

@interface AppDelegate : PhoneGapDelegate {
	NSString* invokeString;
       BOOL bannerIsVisible;
}

@property (copy)  NSString* invokeString;
@property (nonatomic,retain) IBOutlet ADBannerView *adView;
@property BOOL bannerIsVisible;


and .m:
@implementation AppDelegate

@synthesize invokeString;
@synthesize  adView;
//@property (nonatomic,retain) IBOutlet ADBannerView *adView;
@synthesize bannerIsVisible;

......
- (void)webViewDidFinishLoad:(UIWebView *)theWebView 
{
	// only valid if DromeiOS.plist specifies a protocol to handle
	if(self.invokeString)
	{
		// this is passed before the deviceready event is fired, so you can access it in js when you receive deviceready
		NSString* jsString = [NSString stringWithFormat:@&quot;var invokeString = \&quot;%@\&quot;;&quot;, self.invokeString];
		[theWebView stringByEvaluatingJavaScriptFromString:jsString];
	}
    bannerIsVisible = YES;
	//ADBannerView *   ############ NOTICE THIS CHANGE ############
    adView = [[ADBannerView alloc] initWithFrame:CGRectZero];
	adView.frame = CGRectMake(0, 410, 320, 50); // if you want the banner to be on top of the screen remove this line
	adView.delegate = self;
	adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifierPortrait;//ADBannerContentSizeIdentifier320x50;
	[theWebView addSubview:adView];
	return [ super webViewDidFinishLoad:theWebView ];
}


......]]></description>
		<content:encoded><![CDATA[<p>HI,<br />
Thanks for the tut but one question:<br />
How do get the ads to show up below my app and not ontop of it, I have a row of buttons on the bottom of my app but the ads show up on top of them thereby blocking them from the view and use.  If I just add an extra 50px to the bottom of my app then that is wasted space if there is no app to show.</p>
<p>here is what my appdelagate.h and .m look like now:<br />
#import &#8220;iAd/iAd.h&#8221;</p>
<p>@interface AppDelegate : PhoneGapDelegate {<br />
	NSString* invokeString;<br />
       BOOL bannerIsVisible;<br />
}</p>
<p>@property (copy)  NSString* invokeString;<br />
@property (nonatomic,retain) IBOutlet ADBannerView *adView;<br />
@property BOOL bannerIsVisible;</p>
<p>and .m:<br />
@implementation AppDelegate</p>
<p>@synthesize invokeString;<br />
@synthesize  adView;<br />
//@property (nonatomic,retain) IBOutlet ADBannerView *adView;<br />
@synthesize bannerIsVisible;</p>
<p>&#8230;&#8230;<br />
- (void)webViewDidFinishLoad:(UIWebView *)theWebView<br />
{<br />
	// only valid if DromeiOS.plist specifies a protocol to handle<br />
	if(self.invokeString)<br />
	{<br />
		// this is passed before the deviceready event is fired, so you can access it in js when you receive deviceready<br />
		NSString* jsString = [NSString stringWithFormat:@"var invokeString = \"%@\";", self.invokeString];<br />
		[theWebView stringByEvaluatingJavaScriptFromString:jsString];<br />
	}<br />
    bannerIsVisible = YES;<br />
	//ADBannerView *   ############ NOTICE THIS CHANGE ############<br />
    adView = [[ADBannerView alloc] initWithFrame:CGRectZero];<br />
	adView.frame = CGRectMake(0, 410, 320, 50); // if you want the banner to be on top of the screen remove this line<br />
	adView.delegate = self;<br />
	adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifierPortrait;//ADBannerContentSizeIdentifier320x50;<br />
	[theWebView addSubview:adView];<br />
	return [ super webViewDidFinishLoad:theWebView ];<br />
}</p>
<p>&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shazron</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-764</link>
		<dc:creator><![CDATA[shazron]]></dc:creator>
		<pubDate>Thu, 22 Sep 2011 23:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-764</guid>
		<description><![CDATA[Don&#039;t know really. I&#039;ve often had the problem -- Apple is just not serving ads even the test ones sometimes.]]></description>
		<content:encoded><![CDATA[<p>Don&#8217;t know really. I&#8217;ve often had the problem &#8212; Apple is just not serving ads even the test ones sometimes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: claras</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-759</link>
		<dc:creator><![CDATA[claras]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 06:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-759</guid>
		<description><![CDATA[Hi Shazron,

I followed all steps, but nothing is showing up. No errors. The app works fine, but I don&#039;t see the ad. What could I be doing wrong?

Thank you!]]></description>
		<content:encoded><![CDATA[<p>Hi Shazron,</p>
<p>I followed all steps, but nothing is showing up. No errors. The app works fine, but I don&#8217;t see the ad. What could I be doing wrong?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shazron</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-28</link>
		<dc:creator><![CDATA[shazron]]></dc:creator>
		<pubDate>Fri, 24 Jun 2011 22:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-28</guid>
		<description><![CDATA[Yeah, the iAds plugin is outside of the WebView.]]></description>
		<content:encoded><![CDATA[<p>Yeah, the iAds plugin is outside of the WebView.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-27</link>
		<dc:creator><![CDATA[Jack]]></dc:creator>
		<pubDate>Thu, 23 Jun 2011 17:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-27</guid>
		<description><![CDATA[Is it possible to show iAds using Sencha + Phonegap + PhoneGap AdPlugin ?]]></description>
		<content:encoded><![CDATA[<p>Is it possible to show iAds using Sencha + Phonegap + PhoneGap AdPlugin ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rascaltester</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-26</link>
		<dc:creator><![CDATA[Rascaltester]]></dc:creator>
		<pubDate>Mon, 07 Feb 2011 17:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-26</guid>
		<description><![CDATA[Anyone know of any support for YOC Network and Phonegap? http://group.yoc.com/uk/]]></description>
		<content:encoded><![CDATA[<p>Anyone know of any support for YOC Network and Phonegap? <a href="http://group.yoc.com/uk/" rel="nofollow">http://group.yoc.com/uk/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shazron</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-25</link>
		<dc:creator><![CDATA[shazron]]></dc:creator>
		<pubDate>Thu, 28 Oct 2010 21:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-25</guid>
		<description><![CDATA[The demo project is just that, a demo.
If you created a new project and did what you did according to the readme, it should be fine.
Don&#039;t use iAdHost as your base.]]></description>
		<content:encoded><![CDATA[<p>The demo project is just that, a demo.<br />
If you created a new project and did what you did according to the readme, it should be fine.<br />
Don&#8217;t use iAdHost as your base.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie McDonnell</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-24</link>
		<dc:creator><![CDATA[Jamie McDonnell]]></dc:creator>
		<pubDate>Thu, 28 Oct 2010 20:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-24</guid>
		<description><![CDATA[Hi Shazron,

thanks for a great plugin, problem is I can&#039;t get the demo project to compile ;(

I&#039;ve followed the readme to the letter, a handful of times, the project zip is here:
www.jm3d.co.uk/iAdHost.zip

The error I&#039;m getting is:
cp ../*.js /Users/imacapple/Work/iAdHost/www/
cp: ../*.js: No such file or directory

And I really can&#039;t see what I&#039;m doing wrong... would you mind taking a look please? It would be a great help.

I saw this guide - should I be making these changes also:
http://www.zeletron.com.br/2010/07/adding-iad-in-phonegap-apps.html

Thanks a lot

Jamie]]></description>
		<content:encoded><![CDATA[<p>Hi Shazron,</p>
<p>thanks for a great plugin, problem is I can&#8217;t get the demo project to compile ;(</p>
<p>I&#8217;ve followed the readme to the letter, a handful of times, the project zip is here:<br />
<a href="http://www.jm3d.co.uk/iAdHost.zip" rel="nofollow">http://www.jm3d.co.uk/iAdHost.zip</a></p>
<p>The error I&#8217;m getting is:<br />
cp ../*.js /Users/imacapple/Work/iAdHost/www/<br />
cp: ../*.js: No such file or directory</p>
<p>And I really can&#8217;t see what I&#8217;m doing wrong&#8230; would you mind taking a look please? It would be a great help.</p>
<p>I saw this guide &#8211; should I be making these changes also:<br />
<a href="http://www.zeletron.com.br/2010/07/adding-iad-in-phonegap-apps.html" rel="nofollow">http://www.zeletron.com.br/2010/07/adding-iad-in-phonegap-apps.html</a></p>
<p>Thanks a lot</p>
<p>Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giulio</title>
		<link>http://shazronatadobe.wordpress.com/2010/07/12/phonegap-iads-plugin/#comment-23</link>
		<dc:creator><![CDATA[Giulio]]></dc:creator>
		<pubDate>Sat, 09 Oct 2010 11:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.nitobi.com/shazron/?p=135#comment-23</guid>
		<description><![CDATA[@Shazron, thanks for your reply. I&#039;ll try it ;-)]]></description>
		<content:encoded><![CDATA[<p>@Shazron, thanks for your reply. I&#8217;ll try it <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

