1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/chat/client-android/src/main/AndroidManifest.xml Fri Apr 22 05:56:47 2016 +0200
1.3 @@ -0,0 +1,59 @@
1.4 +<?xml version="1.0" encoding="utf-8"?>
1.5 +<!--
1.6 +
1.7 + The MIT License (MIT)
1.8 +
1.9 + Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
1.10 +
1.11 + Permission is hereby granted, free of charge, to any person obtaining a copy
1.12 + of this software and associated documentation files (the "Software"), to deal
1.13 + in the Software without restriction, including without limitation the rights
1.14 + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1.15 + copies of the Software, and to permit persons to whom the Software is
1.16 + furnished to do so, subject to the following conditions:
1.17 +
1.18 + The above copyright notice and this permission notice shall be included in
1.19 + all copies or substantial portions of the Software.
1.20 +
1.21 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1.22 + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1.23 + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1.24 + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1.25 + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1.26 + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1.27 + THE SOFTWARE.
1.28 +
1.29 +-->
1.30 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1.31 + package="org.apidesign.demo.chat"
1.32 + android:versionCode="1"
1.33 + android:versionName="1.0-SNAPSHOT" >
1.34 +
1.35 + <uses-sdk
1.36 + android:minSdkVersion="8"
1.37 + android:targetSdkVersion="16" />
1.38 +
1.39 + <application
1.40 + android:allowBackup="true"
1.41 + android:icon="@drawable/ic_launcher"
1.42 + android:label="chat"
1.43 + android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
1.44 + <activity android:name="com.dukescript.presenters.Android"
1.45 + android:configChanges="orientation|screenSize">
1.46 + <intent-filter>
1.47 + <action android:name="android.intent.action.MAIN" />
1.48 + <category android:name="android.intent.category.LAUNCHER" />
1.49 + </intent-filter>
1.50 + </activity>
1.51 +
1.52 + <!-- Configuration section. Defines:
1.53 + - the HTML page to load on start
1.54 + - the class that contains the main initialization method
1.55 + - name of the initialization method in the given class
1.56 + -->
1.57 + <meta-data android:name="loadPage" android:value="file:///android_asset/pages/index.html" />
1.58 + <meta-data android:name="loadClass" android:value="org.apidesign.demo.chat.AndroidMain" />
1.59 + <meta-data android:name="invoke" android:value="main" />
1.60 + </application>
1.61 + <uses-permission android:name="android.permission.INTERNET" />
1.62 +</manifest>