如何在我的android应用程序的空气中显示revmob广告



我正在用flash cs6制作一个安卓应用程序,我想在里面放一些广告。我发现revmob提供了我能找到的最具体的指南。http://sdk.revmobmobileadnetwork.com/air.html#download

在android中,它说:"通过在标签中放入以下代码,在AndroidManifest.xml文件中添加所需的权限。"

在哪里可以找到AndroidManifest.xml?

现在我的声音会很小,但我应该以某种方式在eclipse中打开我的adobeair应用程序吗?或者当我从flash发布应用程序时,我的应用程序准备好上传到谷歌播放了吗?

在我开始测试应用程序中的广告之前,我需要在谷歌播放上上传我的应用程序吗?

我需要升级air 3.2吗?

任何其他关于如何在我的应用程序中获取广告的具体和基本指南都是非常受欢迎的。

我认为很难找到我需要的明确指导。提前谢谢。

我以前从未使用过xml文件,所以我不知道在哪里插入revMob中的文本。这是我的xml:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/3.2">
<id>GalaxyChallenge</id>
<versionNumber>1.0.0</versionNumber>
<versionLabel/>
<filename>Galaxy Challenge3</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>Galaxy Challenge3</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>Galaxy%20Challenge.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>landscape</aspectRatio>
<renderMode>gpu</renderMode>
<autoOrients>false</autoOrients></initialWindow>
<icon>
<image36x36>ICONS/NEW%20NEW%20IC/Icon_bigbig/sizes/Icon_bigbig-36.png</image36x36>
<image48x48>ICONS/NEW%20NEW%20IC/Icon_bigbig/sizes/Icon_bigbig- 48.png</image48x48>
<image72x72>ICONS/NEW%20NEW%20IC/Icon_bigbig/sizes/Icon_bigbig-72.png</image72x72>
</icon>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<extensions>
<extensionID>com.revmob.airextension</extensionID>
</extensions>
<supportedLanguages>en</supportedLanguages>
</application>

这是要添加的代码

<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>

<application>
<activity android:name="com.revmob.ads.fullscreen.FullscreenActivity"
          android:theme="@android:style/Theme.Translucent"
          android:configChanges="keyboardHidden|orientation">
</activity>
</application>

当你第一次发布你的应用程序时,你应该得到一个名为YourAppName-app.xml的xml文件。这是AndroidManifest.xml

您可以在不上传到Google Play的情况下测试广告。

理想情况下,您需要使用labs.adobe.com的最新AIR SDK,该SDK现在为17.0.0.123

最新更新