【问题标题】:How to show revmob ads in my air for android app如何在我的空气中为 android 应用显示 revmob 广告
【发布时间】:2015-03-01 20:50:23
【问题描述】:

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

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

在哪里可以找到 AndroidManifest.xml?

我现在听起来很笨,但是当我从 Flash 发布它时,我应该以某种方式在 eclipse 中打开我的 adobe air 应用程序,还是我的应用程序准备好上传到 google play?

我是否需要先在 google play 上上传我的应用,然后才能开始在我的应用中测试广告?

需要升级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>

【问题讨论】:

    标签: android flash air adobe revmob


    【解决方案1】:

    当您首次发布应用程序时,您应该会创建一个名为 YourAppName-app.xml 的 xml 文件。这是 AndroidManifest.xml

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

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

    【讨论】:

    • 谢谢!我回家后要测试一下
    • 我已经添加了一些xml代码,你知道它应该插入到xml的哪个位置吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-12-23
    • 1970-01-01
    • 2023-04-09
    • 2013-05-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多