AndroidManifest.xml
author Vincent V. <marseille@beem-project.com>
Wed, 12 Sep 2012 17:15:30 +0200
changeset 953 42662d565902
parent 946 7caab0161cf9
permissions -rw-r--r--
asmack added to repository

<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.beem.project.beem"
    android:versionCode="-1"
    android:versionName="0.2.0" >

    <permission
        android:name="com.beem.project.beem.BEEM_SERVICE"
        android:description="@string/BeemServiceDescription"
        android:label="BeemService"
        android:permissionGroup="android.permission-group.NETWORK" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="com.beem.project.beem.BEEM_SERVICE" />
    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />

    <uses-sdk
        android:minSdkVersion="7"
        android:targetSdkVersion="8" />

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true" />

    <application
        android:name=".BeemApplication"
        android:icon="@drawable/beem_launcher_icon_silver"
        android:label="@string/app_name"
        android:theme="@style/Theme.BEEM.Default" >
        <activity
            android:name=".ui.Login"
            android:label="@string/app_name"
            android:launchMode="standard" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.wizard.Account"
            android:label="Account wizard" />
        <activity
            android:name=".ui.wizard.AccountConfigure"
            android:label="Account wizard" />
        <activity
            android:name=".ui.LoginAnim"
            android:label="@string/login_login_progress"
            android:launchMode="singleTop"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.Settings"
            android:exported="false"
            android:label="@string/edit_settings_name" >
            <intent-filter android:label="Beem Android Account" >
                <action android:name="com.beem.project.beem.SETTINGS" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.Chat"
            android:exported="false"
            android:label="@string/chat_name"
            android:launchMode="singleTop" >
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SENDTO" />

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

                <data android:scheme="im" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SENDTO" />

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

                <data
                    android:host="jabber"
                    android:scheme="imto" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.MucChat"
            android:exported="false"
            android:label="@string/chat_name"
            android:launchMode="singleTop" >
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.ChangeStatus"
            android:exported="false"
            android:label="@string/ChangeStatusActTitle"
            android:launchMode="singleTask"
            android:windowSoftInputMode="stateHidden" >
            <intent-filter android:label="Beem Android Account" >
                <action android:name="com.beem.project.beem.CHANGESTATUS" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.AddContact"
            android:exported="false"
            android:label="@string/AddCActTitle" >
            <intent-filter android:label="Create Contact" >
                <action android:name="android.intent.action.INSERT" />

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

                <data android:mimeType="vnd.android.cursor.dir/person" />
                <data android:mimeType="vnd.android.cursor.dir/contact" />
                <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.AddMuc"
            android:label="@string/AddMucTitle" >
        </activity>
        <activity
            android:name=".ui.Subscription"
            android:exported="false"
            android:label="@string/app_name" >
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.CreateAccount"
            android:label="@string/create_account_name" />
        <activity
            android:name=".ui.ContactList"
            android:exported="false"
            android:label="@string/contact_list_name"
            android:launchMode="singleTask" >
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.GroupList"
            android:exported="false"
            android:label="GroupList" >
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.PrivacyList"
            android:exported="false"
            android:label="@string/privacy_list_name" >
            <intent-filter android:label="Beem Connection" >
                <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
            </intent-filter>
        </activity>
        <activity
            android:name=".account.ManageAccountsSettings"
            android:label="Sync Settings" >
        </activity>
        <!--
			Could be interesting if we would launch beem at startup <receiver
			android:name=".tool.BeemBroadcastReceiver" android:enabled="true">
			<intent-filter> <action
			android:name="android.intent.action.BOOT_COMPLETED" />
			</intent-filter> </receiver>
        -->
        <provider
            android:name=".providers.AvatarProvider"
            android:authorities="com.beem.project.beem.providers.avatarprovider"
            android:exported="false"
            android:label="Avatar Provider" />
        <provider
            android:name=".providers.MessageProvider"
            android:authorities="com.beem.project.beem.providers.messageprovider"
            android:exported="false"
            android:label="Message Provider" />
        <provider
            android:name=".providers.MUCsProvider"
            android:authorities="com.beem.project.beem.providers.mucsprovider"
            android:exported="false"
            android:label="MUCs Provider" />

        <service
            android:name=".account.AuthenticatorService"
            android:exported="false"
            android:process=":auth" >
            <intent-filter>
                <action android:name="android.accounts.AccountAuthenticator" />
            </intent-filter>

            <meta-data
                android:name="android.accounts.AccountAuthenticator"
                android:resource="@xml/authenticator" />
        </service>
        <service
            android:name=".account.SyncAdapterService"
            android:exported="false"
            android:process=":contacts" >
            <intent-filter>
                <action android:name="android.content.SyncAdapter" />
            </intent-filter>

            <meta-data
                android:name="android.content.SyncAdapter"
                android:resource="@xml/sync_contacts" />
            <meta-data
                android:name="android.provider.CONTACTS_STRUCTURE"
                android:resource="@xml/contacts" />
        </service>
        <service
            android:name=".BeemService"
            android:enabled="true"
            android:label="Beem Service"
            android:permission="com.beem.project.beem.BEEM_SERVICE" >
            <intent-filter>
                <action android:name="com.beem.project.beem.BeemService" />
                <action android:name="com.beem.project.beem.intent.action.SYNC" />
                <action android:name="com.beem.project.beem.intent.action.CONNECT" />
                <action android:name="com.beem.project.beem.intent.action.DISCONNECT" />
                <action android:name="com.beem.project.beem.intent.action.IS_CONNECTED" />
                <action android:name="com.beem.project.beem.intent.action.SEND_MESSAGE" />
                <action android:name="com.beem.project.beem.intent.action.ADD_CONTACT" />
                <action android:name="com.beem.project.beem.intent.action.CHANGE_STATUS" />
                <action android:name="com.beem.project.beem.intent.action.MUC_JOIN" />
                <action android:name="com.beem.project.beem.intent.action.MUC_SEND_MESSAGE" />
                <action android:name="com.beem.project.beem.intent.action.ADD_MUC" />
            </intent-filter>
        </service>
    </application>

</manifest>