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