Note that there are some explanatory texts on larger screens.

plurals
  1. POMotorola XOOM / Tablet manifest
    text
    copied!<p>Could anyone please post a complate template/sample of a Motorola XOOM manifest. </p> <p>I am creating an application using Flash/Air - How do I ensure the app can only be run on a tablet ?</p> <p>This is what i have:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt; &lt;application xmlns="http://ns.adobe.com/air/application/2.5"&gt; &lt;id&gt;Reverse domain format&lt;/id&gt; &lt;versionNumber&gt;1.0.0&lt;/versionNumber&gt; &lt;filename&gt;&lt;/filename&gt; &lt;description&gt;&lt;/description&gt; &lt;!-- To localize the description, use the following format for the description element. &lt;description&gt; &lt;text xml:lang="en"&gt;English App description goes here&lt;/text&gt; &lt;text xml:lang="fr"&gt;French App description goes here&lt;/text&gt; &lt;text xml:lang="ja"&gt;Japanese App description goes here&lt;/text&gt; &lt;/description&gt; --&gt; &lt;name&gt;&lt;/name&gt; &lt;!-- To localize the name, use the following format for the name element. &lt;name&gt; &lt;text xml:lang="en"&gt;English App name goes here&lt;/text&gt; &lt;text xml:lang="fr"&gt;French App name goes here&lt;/text&gt; &lt;text xml:lang="ja"&gt;Japanese App name goes here&lt;/text&gt; &lt;/name&gt; --&gt; &lt;copyright&gt;Name&lt;/copyright&gt; &lt;initialWindow&gt; &lt;content&gt;Invaders_Final.swf&lt;/content&gt; &lt;visible&gt;true&lt;/visible&gt; &lt;fullScreen&gt;true&lt;/fullScreen&gt; &lt;autoOrients&gt;false&lt;/autoOrients&gt; &lt;aspectRatio&gt;landscape or portrait&lt;/aspectRatio&gt; &lt;renderMode&gt;gpu or cpu&lt;/renderMode&gt; &lt;/initialWindow&gt; &lt;customUpdateUI&gt;false or true&lt;/customUpdateUI&gt; &lt;allowBrowserInvocation&gt;false&lt;/allowBrowserInvocation&gt; &lt;icon&gt; &lt;image36x36&gt;icon36.png&lt;/image36x36&gt; &lt;image48x48&gt;icon48.png&lt;/image48x48&gt; &lt;image72x72&gt;icon72.png&lt;/image72x72&gt; &lt;/icon&gt; &lt;android&gt; &lt;manifestAdditions&gt;&lt;![CDATA[&lt;manifest&gt; &lt;uses-permission android:name="android.permission.INTERNET"/&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt; &lt;uses-permission android:name="android.permission.READ_PHONE_STATE"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt; &lt;uses-permission android:name="android.permission.CAMERA"/&gt; &lt;uses-permission android:name="android.permission.RECORD_AUDIO"/&gt; &lt;uses-permission android:name="android.permission.DISABLE_KEYGUARD"/&gt; &lt;uses-permission android:name="android.permission.WAKE_LOCK"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/&gt;&lt;/manifest&gt; ]]&gt;&lt;/manifestAdditions&gt; &lt;/android&gt; &lt;versionLabel&gt;&lt;/versionLabel&gt; &lt;/application&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload