minesweeper/AndroidManifest.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 28 Jun 2015 07:14:21 +0200
changeset 237 83302b8a5cdf
parent 172 e105b5f7059b
permissions -rw-r--r--
Update to most recent Android presenter
jtulach@81
     1
<?xml version="1.0" encoding="utf-8"?>
jtulach@81
     2
<!--
jtulach@81
     3
jtulach@81
     4
    The MIT License (MIT)
jtulach@81
     5
jtulach@81
     6
    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jtulach@81
     7
jtulach@81
     8
    Permission is hereby granted, free of charge, to any person obtaining a copy
jtulach@81
     9
    of this software and associated documentation files (the "Software"), to deal
jtulach@81
    10
    in the Software without restriction, including without limitation the rights
jtulach@81
    11
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
jtulach@81
    12
    copies of the Software, and to permit persons to whom the Software is
jtulach@81
    13
    furnished to do so, subject to the following conditions:
jtulach@81
    14
jtulach@81
    15
    The above copyright notice and this permission notice shall be included in
jtulach@81
    16
    all copies or substantial portions of the Software.
jtulach@81
    17
jtulach@81
    18
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jtulach@81
    19
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jtulach@81
    20
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jtulach@81
    21
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
jtulach@81
    22
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
jtulach@81
    23
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
jtulach@81
    24
    THE SOFTWARE.
jtulach@81
    25
jtulach@81
    26
-->
jtulach@81
    27
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
jtulach@81
    28
    package="org.apidesign.demo.minesweeper"
jtulach@81
    29
    android:versionCode="1"
jtulach@81
    30
    android:versionName="1.0-SNAPSHOT" >
jtulach@81
    31
jtulach@81
    32
    <uses-sdk
jtulach@81
    33
        android:minSdkVersion="8"
jtulach@81
    34
        android:targetSdkVersion="16" />
jtulach@81
    35
jtulach@81
    36
    <application
jtulach@81
    37
        android:allowBackup="true"
jtulach@81
    38
        android:icon="@drawable/ic_launcher"
jaroslav@171
    39
        android:label="Minesweeper"
jtulach@82
    40
        android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
jaroslav@237
    41
        <activity android:name="com.dukescript.presenters.Android" 
jtulach@81
    42
                  android:configChanges="orientation|screenSize">
jtulach@81
    43
            <intent-filter>
jtulach@81
    44
                <action android:name="android.intent.action.MAIN" />
jtulach@81
    45
                <category android:name="android.intent.category.LAUNCHER" />
jtulach@81
    46
            </intent-filter>
jtulach@81
    47
        </activity>
jtulach@141
    48
        
jtulach@141
    49
        <!-- Configuration section. Defines: 
jtulach@141
    50
           - the HTML page to load on start
jtulach@141
    51
           - the class that contains the main initialization method
jtulach@141
    52
           - name of the initialization method in the given class
jtulach@141
    53
        -->
jtulach@81
    54
        <meta-data android:name="loadPage" android:value="file:///android_asset/pages/index.html" />
jtulach@95
    55
        <meta-data android:name="loadClass" android:value="org.apidesign.demo.minesweeper.MinesModel" />
jtulach@95
    56
        <meta-data android:name="invoke" android:value="main" />
jtulach@81
    57
    </application>
jtulach@141
    58
jtulach@141
    59
    <!-- allows use of internet and also 'call-home' feature. See 
jtulach@141
    60
      licensing section in Javadoc
jtulach@141
    61
    -->    
jtulach@141
    62
    <uses-permission android:name="android.permission.INTERNET" />
jtulach@81
    63
</manifest>