<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="eu.siacs.conversations"
    android:versionCode="28"
    android:versionName="0.7.2" >

    <uses-sdk
        android:minSdkVersion="14"
        android:targetSdkVersion="19" />

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.READ_PROFILE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/ConversationsTheme" >
        <service android:name="eu.siacs.conversations.services.XmppConnectionService" />

        <provider
            android:name="eu.siacs.conversations.services.ImageProvider"
            android:authorities="eu.siacs.conversations.images"
            android:exported="true" />

        <receiver android:name="eu.siacs.conversations.services.EventReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
                <action android:name="android.intent.action.ACTION_SHUTDOWN" />
            </intent-filter>
        </receiver>

        <activity
            android:name="eu.siacs.conversations.ui.ConversationActivity"
            android:configChanges="orientation|screenSize"
            android:label="@string/title_activity_conversations"
            android:launchMode="singleTask"
            android:windowSoftInputMode="stateHidden" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.StartConversationActivity"
            android:configChanges="orientation|screenSize"
            android:label="@string/title_activity_start_conversation"
            android:logo="@drawable/ic_activity" >
            <intent-filter>
                <action android:name="android.intent.action.SENDTO" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:scheme="imto" />
                <data android:host="jabber" />
            </intent-filter>
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.SettingsActivity"
            android:label="@string/title_activity_settings" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.ChooseContactActivity"
            android:label="@string/title_activity_choose_contact" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.ManageAccountActivity"
            android:configChanges="orientation|screenSize"
            android:label="@string/title_activity_manage_accounts" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.EditAccountActivity"
            android:windowSoftInputMode="stateHidden|adjustResize" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.ConferenceDetailsActivity"
            android:label="@string/title_activity_conference_details"
            android:windowSoftInputMode="stateHidden" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.ContactDetailsActivity"
            android:label="@string/title_activity_contact_details"
            android:windowSoftInputMode="stateHidden" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.PublishProfilePictureActivity"
            android:label="@string/mgmt_account_publish_avatar"
            android:windowSoftInputMode="stateHidden" >
        </activity>
        <activity
            android:name="eu.siacs.conversations.ui.ShareWithActivity"
            android:label="@string/title_activity_conversations" >
            <intent-filter>
                <action android:name="android.intent.action.SEND" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="text/plain" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEND" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="image/*" />
            </intent-filter>
        </activity>
        <activity android:name="de.duenndns.ssl.MemorizingActivity" />
    </application>

</manifest>
