【问题标题】:Motorola XOOM / Tablet manifest摩托罗拉 XOOM / 平板电脑清单
【发布时间】:2011-06-01 03:53:21
【问题描述】:

任何人都可以发布摩托罗拉 XOOM 清单的模板/示例。

我正在使用 Flash/Air 创建一个应用程序 - 如何确保该应用程序只能在平板电脑上运行?

这就是我所拥有的:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<application xmlns="http://ns.adobe.com/air/application/2.5">
    <id>Reverse domain format</id>
    <versionNumber>1.0.0</versionNumber>
    <filename></filename>
    <description></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></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>Name</copyright>
    <initialWindow>
        <content>Invaders_Final.swf</content>
        <visible>true</visible>
        <fullScreen>true</fullScreen>
        <autoOrients>false</autoOrients>
        <aspectRatio>landscape or portrait</aspectRatio>
        <renderMode>gpu or cpu</renderMode>
    </initialWindow>
    <customUpdateUI>false or true</customUpdateUI>
    <allowBrowserInvocation>false</allowBrowserInvocation>
    <icon>
        <image36x36>icon36.png</image36x36>
        <image48x48>icon48.png</image48x48>
        <image72x72>icon72.png</image72x72>
    </icon>
    <android>
        <manifestAdditions><![CDATA[<manifest>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/></manifest>
]]></manifestAdditions>
    </android>
    <versionLabel></versionLabel>
</application>

【问题讨论】:

  • 请更具体地说明您要执行的实际标准是什么 - 闪存支持?屏幕尺寸?一个api版本?

标签: android flash air


【解决方案1】:

试着把它放在你的清单中

<uses-sdk android:minSdkVersion="11" 
          android:targetSdkVersion="11"
           />

【讨论】:

  • 只有在另一个面向手机的 Android 版本发布之前,它才会起作用。
  • @Chris 你能详细说明一下吗?这里没有maxSdkVersion
  • 没错,因为没有最高版本,未来运行蜂窝后版本的“手机”会接受这一点,并且发布者希望限制为平板电脑。或许这个问题表述有误,“平板电脑”并不是真正的标准。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-02-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多