Skip to Navigation | Skip to Content



PhoneGap iAds Plugin | July 12th, 2010

Hey its a new plugin for PhoneGap. I call it the “PhoneGap AdPlugin”, and even though it only supports iAds currently, there is potential for supporting the other ad networks as a backup to iAds. Make sure you read the RELEASE NOTES in the README for limitations.

Get the source and view the README

Below are screenshots from the test app included, called ‘iAdHost’

Posted in phonegap | 7 Comments » | Add to Delicious | Digg It

This entry was posted on Monday, July 12th, 2010 at 9:25 am and is filed under phonegap. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

7 Responses to “PhoneGap iAds Plugin”

  1. Daniel Kim Says:

    Great! Thank u very much!

  2. Jimmy Fountain Says:

    Great news! Do you need the ‘edge’ version of phonegap to get this working or will plug-ins work on the current 1.9.1 release?

  3. shazron Says:

    Should work with current release.

  4. Scott Says:

    Could you post your HTML for the Phonegap HTML file shown in the windows above?

  5. shazron Says:

    It’s in the source, if you read the README. http://github.com/shazron/PhoneGap-Plugins/tree/master/AdPlugin/iPhone/iAdHost/www/

  6. Russ Says:

    The Apple iAd docs (http://developer.apple.com/iphone/prerelease/library/documentation/UserExperience/Conceptual/iAd_Guide/Introduction/Introduction.html) says “While an advertisement is displayed, your application’s activities should be scaled back, and features that require the user to see or hear the user interace should be suspended.”.

    How can I detect that the ad was clicked so I can pause the game music I have playing and pause the game?

  7. shazron Says:

    @russ
    Might be in the next feature update – I have to hook into the native callbacks and send out DOM events to the UIWebView.

Leave a Reply


Search Posts

Archives

Categories

Get Adobe Flash playerPlugin by wpburn.com wordpress themes