<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="de.gultsch.chat"
    android:versionCode="1"
    android:versionName="1.0" >

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

    <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.WAKE_LOCK"/>
    
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Holo.Light" >
        <service android:name="de.gultsch.chat.services.XmppConnectionService"/>
        <activity
            android:name="de.gultsch.chat.ui.ConversationActivity"
            android:label="Secure Conversations"
            android:windowSoftInputMode="stateHidden"
            android:configChanges="orientation|screenSize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
             <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="de.gultsch.chat.ui.SettingsActivity"
            android:label="Settings"
            android:parentActivityName="de.gultsch.chat.ui.ConversationActivity" >
        </activity>
        <activity
            android:name="de.gultsch.chat.ui.ManageAccountActivity"
            android:label="Manage Accounts"
            android:parentActivityName="de.gultsch.chat.ui.ConversationActivity" >
        </activity>
        <activity
            android:name="de.gultsch.chat.ui.NewConversationActivity"
            android:label="@string/title_activity_new_conversation"
            android:parentActivityName="de.gultsch.chat.ui.ConversationActivity"
            android:windowSoftInputMode="stateHidden">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="de.gultsch.chat.ui.ConversationActivity" />
        </activity>
    </application>

</manifest>
