开发者

Motorola XOOM / Tablet manifest

开发者 https://www.devze.com 2023-03-09 07:53 出处:网络
Could anyone please post a complate template/sample of a Motorola XOOM manifest. I am creating an application using Flash/Air - How do Iensure the app can only be run on a tablet ?

Could anyone please post a complate template/sample of a Motorola XOOM manifest.

I am creating an application using Flash/Air - How do I ensure the app can only be run on a tablet ?

This is what i have:

<?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.INT开发者_如何学运维ERNET"/>
<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>


Try putting this in your manifest

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

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号