How to add adverts in adnroid app

Hi,
I'm trying to add adverts in my app which is published on android. I'm using StageWebView and leadbolt (before it was admob) and i'm wondering if there is another way to do so? I tried to use adsense but i think it's impossible to do it on android app or am i wrong? And my question is - how to add adverts in android app published by flash cs5.5?
regards
Mike

http://code.google.com/p/flash-for-mobile/
qq讨论群:56892018
version for android http://code.google.com/p/flash-for-mobile/
version for iphone and ipad https://github.com/lilili87222/admob-for-flash
this is a actionscript native extension for developer to ad advertisement to their air mobile application run on iphone or android.it very easy to use
admob for flash android this lib enable you to add admob ad to your flash air application to add native advertisement to your actionscript3 application you just need to do four step
1.replace D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.1\lib\android\lib\resources\android-res.jar with android-res.jar
2. add this config to -app.xml
<android>
<manifestadditions><![CDATA[
<manifest android:installLocation="auto">    <uses-sdk android:targetSdkVersion="11"/> <uses-sdk android:minSdkVersion="8"/>    <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <application><!-- <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation"/> --> <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize |smallestScreenSize"/>
</application>
Unknown end tag for </manifest>
]]></manifestadditions>
</android>
3.add this config to -app.xml
<extensions>
<extensionid>so.cuo.ane.Admob</extensionid>
</extensions>
4. add code to your android air application like follow 
test1(); private function test1():void {    var admob:Admob=Admob.getInstance(); if(admob.isSupported){    admob.setUnitId(gid); admob.dispatcher.addEventListener(AdEvent?.onReceiveAd,this.adHandler); admob.dispatcher.addEventListener(AdEvent?.onFailedToReceiveAd,this.adHandler);
// admob.showRelation(AdMobAlignment?.ALIGN_BOTTOM,AdType?.BANNER); 
admob.show(50,100,AdType?.BANNER);
}else{    trace("not support"); }
protected function adHandler(event:AdEvent?):void {    trace("receive ad"); }

Similar Messages

  • How to add admob in android app with dreamweaver

    how to add admob in android app with dreamweaver ?

    flash-air-admob-ane-for-ios-and-android - Admob Ane,a adobe native extention(ANE) for actionscript developer to add go…
    code and demo.but you need upgrade to flash cc.

  • How to add Design Studio BI App into BI Workspace?

    Hi,
    is it possible to add Design Studio BI Apps into a BI Workspace (DE: BI-Arbeitsbereich) on the BIP?
    How can this be done? Has anyone successfully done it?
    BIP: BI 4.0 SP6
    I'm able to add Web Intelligence reports/files but in the folders where all the Design Studio files are I can only see the images. It looks like BI 4.0 SP6 BI-Workspace doesn't recognize the DS BI app file types?
    Thank you!
    Regards,
    David

    Ahoj Victor,
    Thanks!
    As you suggested first I tried the Web Page Module - I configured it directly with the 1 OpenDoc url - it worked.
    I ended up with the following solution for now:
    Here: BI-Launchpad > Documents > Folders > Public Folders > in the folder with the Design Studio reports
    I created: right click > New > Hyperlink: in the URL field I added the OpenDoc url of a DS report (bi app)
    and under/in BI workspace:
    (Layout: Freeform)
    From "Templates" I added 2 objects: "Navigation List" and "Viewer"
    From "Public Modules" I added the Hyperlink object I created previously - drag & drop into the Navigation List, and now when somebody clicks on the item (Hyperlink object) in the Navigation List, the document/report opens in the Viewer. Now I can have several items in the Navigation List and have them opened in the same Viewer (of course 1 report at a time).
    Regards,
    David

  • How to add OS X Messages app

    how to add yahoo messenger to OS X Messages app

    HI,
    I used to have Yahoo Messenger  as well as setting up the Yahoo Account in iChat 6 (and then updating the OS/App since to Messages 8 in Yosemite)
    I never used the Yahoo app to access mail from Yahoo.
    The version I have in Snow Leopard opens my Browser to login to web mail.
    As the Error messages said the Messaging side the app did do does not work in OS X 10.10.x
    It only lists setting the account up in Messages.
    In System Preferences > Internet Accounts enabling it there for Mail will add an Account to the Mail app.
    9:28 pm      Wednesday; April 22, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How to add osd file into app-v package - need to have two osd files within one app-v package

    We have app-v 4.6 sp2 I get one app-v existing package which has two OSD files associated.
    It is needed for separate license servers located in different sites. I need to create a new app-v package with new version of this application and want to have similar two OSD files associated with it. How to do it?

    Using Notepad for creating a new copy of an OSD is OK, but requires some thinking:
    Inside the new OSD, the NAME= and/or VERSION= attribute should be modified: you shall not have two applications with the same Name+Version combination
    the name of the new OSD file should be added to .sprj file (similar to the original OSD file name) as this motivates the Sequencer to load both OSDs when opening the package
    inside the OSD in the <MGMT_SHORTCUTLIST> section the name of the shortcut file (.lnk) shopuld be adjusted
    The new OSD won't get added to the MSI (if you are using that) unless you open & save the package in the Sequencer.
    Sorry Dan, but except for super-professionals I'd advise
    Use GridMetric
    Application Virtualization Explorer to add/modify shortcuts (you'd need the Professional Edition for App-V 4)
    or
    If you already have the package with just one OSD: select the 'Modify an existing packge' in the Sequencer, then use the 'Add
    Application' wizard. Quite at the end this will bring you to the 'shortcuts and file type associations' step. In there you can create a new shortcut (resulting in a new OSD). Other wizards make it more difficult (or impossible) to add shortcuts: https://kirxblog.wordpress.com/2011/06/01/app-v-4-6-sp1-the-right-sequencing-wizard/
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • How to add a form in apps???

    am new to apps,i develop a form using a template form. How i can add n register it in specific menu as (inventory,Purchasing)?plzzz complete steps

    Please refer to the following note/link:
    Note: 176852.1 - Integrating Custom Applications with Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=176852.1
    Oracle Applications Developer's Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf

  • How to add descriptions to web app items?

    How do I add metta data (keywords and descriptions) to my web app items? Do I need to create them as additional custom fields? 
    Any help would be appreciated.

    It's ok, I worked it out.  You just add another field - meta description and add the following code to the detail template:
    <html>
        <head>
            <title>{tag_name}</title>
            <meta name="description" content="{tag_meta description}" />
            <meta content="{tag_name}" property="og:title" />
            <meta content="{tag_meta description}" property="og:description" />
        </head>
        <body>
           <h1>{tag_name}</h1>
            <p>{tag_description}</p>
        </body>
    </html>

  • How to add photo from Photos app as iCloud/user avatar?

    Hello,
    I would like to change my login and iCloud user avatar. I have photos in the new Photos app, but I can't import or drag&drop files on the settings screen from Photos.
    "Take a photo with your iOS device or manually add photos from the Photos app." - I would like to do that, but how?
    Thank you!

    Hello,
    I would like to change my login and iCloud user avatar. I have photos in the new Photos app, but I can't import or drag&drop files on the settings screen from Photos.
    "Take a photo with your iOS device or manually add photos from the Photos app." - I would like to do that, but how?
    Thank you!

  • How to add application in Background app refresh list

    Hello, how can I add another application (for example Skype) in the list of Background app refresh? I have just 5 applications there. Is it even possible to add some more in this list? Thank You in advance for Your reply.

    I don't think you can. I believe apps have to be written to take advantage of background app refresh. Your best bet would be to contact the developer.

  • How to add a custom web apps root page?

    I saw in Jan 2013 System Update the following:
    "Render a custom page when accessing the root URL of a Web App. For example, if you have a “blog” Web App, the items can be made accessible at  /blog/my-blog-post, and you’ll have the ability to customize the /blog page"
    Could someone point me in the correct direction for instructions on how to make use of this feature. 
    Couldn't appear to find a link from the Blog release notes to anything, and also tried trawling through support and forums for a suitable post.
    Closest I found was one about using sub-folders for web app items.
    I've tried adding a page in website admin, with the same URL as the web app, but it simply throws an error as it clashes with Web App url.
    Cheers
    Mike

    Hi Mike.
    Because a folder can have a index.html Web apps in the past you could not access that ability. You had to make a page and you could not SEO call it the same as your web app.
    SO
    Your web app is called Blog.
    You can now make a folder in your root called Blog.
    In that folder you can create a page and give it a url of index.html
    Now when you access the a web app directly - www.yoursite.com/yourwebapp or www.yoursite.com/yourwebapp/index/html you will access that index page.
    You can also put other pages under that folder if you want too.

  • Como colocar propagandas no aplicativo que desenvolvi? (How to add advertising in my app?)

    Estou desenvolvendo alguns aplicativos e gostaria de adicionar banners de publicidade, para monetizá-los. Como posso fazer?
    Grato, Vinicius Dias
    I'm developing some applications and I'd like to add advertising banners to make some money. How can I do it?
    Thanks, Vinicius Dias

    Olá viniciusdias,
    Para dúvidas sobre desenvolvimento de aplicativos, talvez você consiga melhor ajuda em fórums específicos para desenvolvimento, como o [http://pt.stackoverflow.com/ StackOverflow].
    Boa sorte!! =)
    - Ralph

  • How to add notes from mail.app to dock?

    Hi guys,
    Is it possible to add a shortcut to the Notes feature of mail.app to the dock? I'm using Lion.
    Basically I'd like to use the Notes feature of mail.app instead of Stickies (stickies won't sync with my iPhone over iCloud, but Notes will).
    Thanks for your help!
    Ben

    Jason,
    If the account is IMAP, then the Inbox (and Sent) reside on the server. You should only need to remove the account, and set it up again. Any copies of messages from an IMAP account are only meant to be temporary, and useful for Offline Viewing. Backing up the cached copies of IMAP messages may not be a great idea, some times, if messages get removed from the cache, and then you resync with the server.
    More info, please.
    Ernie

  • How to Add a Custom FPM App to MSS without Modifying the SAP Content

    Hi,
    I'm trying to add a custom application to MSS, under the General Information page. I've created my own FPM application (to display qualifications) and have added it to the standard FPM application. I've mostly followed this blog - however this involves modifying SAP delivered content:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/how-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29&
    I would like to be able to find a way to do this without changing the SAP delivered content. Multiple trials with Delta links have proven unsuccessful.
    Has anyone been able to do this or does SAP recommend modifying the SAP delivered content?
    Any help would be appreciated. This issue has been out for a long time.
    Bert

    Thanks Markus.
    Does that mean that SAP recommends that we make our changes to the FPM application that they deliver in the PCD?
    I don't want to have to recreate the same WD applications as what SAP delivers, it would make no sense.
    What will happen in case of an upgrade or a patch from SAP? Will my changes be overwritten?
    We are starting to make those modifications and it doesn't seem like SAP made it simple for us to do so.
    Thanks -
    Bert

  • How to add column in Worklist app?

    Isn't it possible to add an extra column to the worklist (Mytasks view)?
    Rgds, Henrik

    Hi Henrik,
    As you may have figured out, it is possible -- though perhaps not as straightforward as you might hope.
    We have customized the existing 10.1.3.x BPEL worklist extensively (including adding columns as you mentioned), as well as written custom worklists. We have also begun customizing the 11g worklist, which is a nice jump from the 10g version. Feel free to drop a line using the contact form at [M&S Consulting|http://www.mandsconsulting.com] and we can discuss.
    I am interested in chatting with people leveraging BPEL human workflow.
    Regards,
    Ashok

  • So no one knows how to add a legitimate iPhoto APP to launchpad

    really frustrated with this one...no one seems to know or care...i found a two year old unsolved thing some guy had the same thing as me...
    will have this on top of page till solved people.

    what do you mean "an iPhoto App"??

Maybe you are looking for