AndroidManifest.xml
changeset 940 b8e23e8da2f7
parent 935 5801f1f5f0bd
child 945 89f1be755b8d
equal deleted inserted replaced
939:85a46554a5d5 940:b8e23e8da2f7
     3     package="com.beem.project.beem"
     3     package="com.beem.project.beem"
     4     android:versionCode="7"
     4     android:versionCode="7"
     5     android:versionName="0.1.5" >
     5     android:versionName="0.1.5" >
     6 
     6 
     7     <application
     7     <application
       
     8         android:name=".BeemApplication"
     8         android:icon="@drawable/beem_launcher_icon_silver"
     9         android:icon="@drawable/beem_launcher_icon_silver"
     9         android:label="@string/app_name"
    10         android:label="@string/app_name"
    10         android:name=".BeemApplication"
       
    11         android:theme="@style/Theme.BEEM.Default" >
    11         android:theme="@style/Theme.BEEM.Default" >
    12         <activity
    12         <activity
       
    13             android:name=".ui.Login"
    13             android:label="@string/app_name"
    14             android:label="@string/app_name"
    14             android:launchMode="standard"
    15             android:launchMode="standard" >
    15             android:name=".ui.Login" >
    16             <intent-filter>
    16             <intent-filter >
       
    17                 <action android:name="android.intent.action.MAIN" />
    17                 <action android:name="android.intent.action.MAIN" />
    18 
    18 
    19                 <category android:name="android.intent.category.LAUNCHER" />
    19                 <category android:name="android.intent.category.LAUNCHER" />
    20             </intent-filter>
    20             </intent-filter>
    21         </activity>
    21         </activity>
    22         <activity
    22         <activity
    23             android:label="Account wizard"
    23             android:name=".ui.wizard.Account"
    24             android:name=".ui.wizard.Account" />
    24             android:label="Account wizard" />
    25         <activity
    25         <activity
    26             android:label="Account wizard"
    26             android:name=".ui.wizard.AccountConfigure"
    27             android:name=".ui.wizard.AccountConfigure" />
    27             android:label="Account wizard" />
    28         <activity
    28         <activity
       
    29             android:name=".ui.LoginAnim"
    29             android:label="@string/login_login_progress"
    30             android:label="@string/login_login_progress"
    30             android:launchMode="singleTop"
    31             android:launchMode="singleTop"
    31             android:name=".ui.LoginAnim"
       
    32             android:screenOrientation="portrait" />
    32             android:screenOrientation="portrait" />
    33         <activity
    33         <activity
    34             android:label="@string/edit_settings_name"
    34             android:name=".ui.Settings"
    35             android:name=".ui.Settings" >
    35             android:label="@string/edit_settings_name" >
    36             <intent-filter android:label="Beem Android Account" >
    36             <intent-filter android:label="Beem Android Account" >
    37                 <action android:name="com.beem.project.beem.SETTINGS" />
    37                 <action android:name="com.beem.project.beem.SETTINGS" />
    38 
    38 
    39                 <category android:name="android.intent.category.DEFAULT" />
    39                 <category android:name="android.intent.category.DEFAULT" />
    40             </intent-filter>
    40             </intent-filter>
    41             <intent-filter android:label="Beem Connection" >
    41             <intent-filter android:label="Beem Connection" >
    42                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    42                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    43             </intent-filter>
    43             </intent-filter>
    44         </activity>
    44         </activity>
    45         <activity
    45         <activity
       
    46             android:name=".ui.Chat"
    46             android:label="@string/chat_name"
    47             android:label="@string/chat_name"
    47             android:launchMode="singleTop"
    48             android:launchMode="singleTop" >
    48             android:name=".ui.Chat" >
    49             <intent-filter android:label="Beem Connection" >
    49             <intent-filter android:label="Beem Connection" >
    50                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    50                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    51             </intent-filter>
    51             </intent-filter>
    52             <intent-filter>
    52             <intent-filter >
       
    53                 <action android:name="android.intent.action.SENDTO" />
    53                 <action android:name="android.intent.action.SENDTO" />
    54 
    54 
    55                 <category android:name="android.intent.category.DEFAULT" />
    55                 <category android:name="android.intent.category.DEFAULT" />
    56                 <category android:name="com.android.im.category.JABBER" />
    56                 <category android:name="com.android.im.category.JABBER" />
    57 
    57 
    58                 <data android:scheme="im" />
    58                 <data android:scheme="im" />
    59             </intent-filter>
    59             </intent-filter>
    60             <intent-filter >
    60             <intent-filter>
    61                 <action android:name="android.intent.action.SENDTO" />
    61                 <action android:name="android.intent.action.SENDTO" />
    62 
    62 
    63                 <category android:name="android.intent.category.DEFAULT" />
    63                 <category android:name="android.intent.category.DEFAULT" />
    64 
    64 
    65                 <data
    65                 <data
    66                     android:host="jabber"
    66                     android:host="jabber"
    67                     android:scheme="imto" />
    67                     android:scheme="imto" />
    68             </intent-filter>
    68             </intent-filter>
    69         </activity>
    69         </activity>
    70         <activity
    70         <activity
       
    71             android:name=".ui.MucChat"
    71             android:label="@string/chat_name"
    72             android:label="@string/chat_name"
    72             android:launchMode="singleTop"
    73             android:launchMode="singleTop" >
    73             android:name=".ui.MucChat" >
    74             <intent-filter android:label="Beem Connection" >
    74             <intent-filter android:label="Beem Connection" >
    75                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    75                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    76             </intent-filter>
    76             </intent-filter>
    77         </activity>
    77         </activity>
    78         <activity
    78         <activity
    79             android:name=".ui.ChangeStatus"
    79             android:label="@string/ChangeStatusActTitle"
    80             android:label="@string/ChangeStatusActTitle"
    80             android:launchMode="singleTask"
    81             android:launchMode="singleTask"
    81             android:name=".ui.ChangeStatus"
       
    82             android:windowSoftInputMode="stateHidden" >
    82             android:windowSoftInputMode="stateHidden" >
    83             <intent-filter android:label="Beem Android Account" >
    83             <intent-filter android:label="Beem Android Account" >
    84                 <action android:name="com.beem.project.beem.CHANGESTATUS" />
    84                 <action android:name="com.beem.project.beem.CHANGESTATUS" />
    85 
    85 
    86                 <category android:name="android.intent.category.DEFAULT" />
    86                 <category android:name="android.intent.category.DEFAULT" />
    88             <intent-filter android:label="Beem Connection" >
    88             <intent-filter android:label="Beem Connection" >
    89                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    89                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    90             </intent-filter>
    90             </intent-filter>
    91         </activity>
    91         </activity>
    92         <activity
    92         <activity
    93             android:label="@string/AddCActTitle"
    93             android:name=".ui.AddContact"
    94             android:name=".ui.AddContact" >
    94             android:label="@string/AddCActTitle" >
    95             <intent-filter android:label="Create Contact" >
    95             <intent-filter android:label="Create Contact" >
    96                 <action android:name="android.intent.action.INSERT" />
    96                 <action android:name="android.intent.action.INSERT" />
    97 
    97 
    98                 <category android:name="android.intent.category.DEFAULT" />
    98                 <category android:name="android.intent.category.DEFAULT" />
    99 
    99 
   101                 <data android:mimeType="vnd.android.cursor.dir/contact" />
   101                 <data android:mimeType="vnd.android.cursor.dir/contact" />
   102                 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
   102                 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
   103             </intent-filter>
   103             </intent-filter>
   104         </activity>
   104         </activity>
   105         <activity
   105         <activity
   106             android:label="@string/app_name"
   106             android:name=".ui.AddMuc"
   107             android:name=".ui.Subscription" >
   107             android:label="@string/AddMucTitle" >
   108             <intent-filter android:label="Beem Connection" >
   108         </activity>
   109                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   109         <activity
   110             </intent-filter>
   110             android:name=".ui.Subscription"
   111         </activity>
   111             android:label="@string/app_name" >
   112         <activity
   112             <intent-filter android:label="Beem Connection" >
   113             android:label="@string/create_account_name"
   113                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   114             android:name=".ui.CreateAccount" />
   114             </intent-filter>
   115         <activity
   115         </activity>
       
   116         <activity
       
   117             android:name=".ui.CreateAccount"
       
   118             android:label="@string/create_account_name" />
       
   119         <activity
       
   120             android:name=".ui.ContactList"
   116             android:label="@string/contact_list_name"
   121             android:label="@string/contact_list_name"
   117             android:launchMode="singleTask"
   122             android:launchMode="singleTask" >
   118             android:name=".ui.ContactList" >
   123             <intent-filter android:label="Beem Connection" >
   119             <intent-filter android:label="Beem Connection" >
   124                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   120                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   125             </intent-filter>
   121             </intent-filter>
   126         </activity>
   122         </activity>
   127         <activity
   123         <activity
   128             android:name=".ui.GroupList"
   124             android:label="GroupList"
   129             android:label="GroupList" >
   125             android:name=".ui.GroupList" >
   130             <intent-filter android:label="Beem Connection" >
   126             <intent-filter android:label="Beem Connection" >
   131                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   127                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   132             </intent-filter>
   128             </intent-filter>
   133         </activity>
   129         </activity>
   134         <activity
   130         <activity
   135             android:name=".ui.PrivacyList"
   131             android:label="@string/privacy_list_name"
   136             android:label="@string/privacy_list_name" >
   132             android:name=".ui.PrivacyList" >
   137             <intent-filter android:label="Beem Connection" >
   133             <intent-filter android:label="Beem Connection" >
   138                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   134                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   139             </intent-filter>
   135             </intent-filter>
   140         </activity>
   136         </activity>
   141         <activity
   137         <activity
   142             android:name="com.beem.project.beem.account.ManageAccountsSettings"
   138             android:label="Sync Settings"
   143             android:label="Sync Settings" >
   139             android:name="com.beem.project.beem.account.ManageAccountsSettings" >
       
   140         </activity>
   144         </activity>
   141         <!--
   145         <!--
   142 			Could be interesting if we would launch beem at startup <receiver
   146 			Could be interesting if we would launch beem at startup <receiver
   143 			android:name=".tool.BeemBroadcastReceiver" android:enabled="true">
   147 			android:name=".tool.BeemBroadcastReceiver" android:enabled="true">
   144 			<intent-filter> <action
   148 			<intent-filter> <action
   145 			android:name="android.intent.action.BOOT_COMPLETED" />
   149 			android:name="android.intent.action.BOOT_COMPLETED" />
   146 			</intent-filter> </receiver>
   150 			</intent-filter> </receiver>
   147         -->
   151         -->
   148         <provider
   152         <provider
       
   153             android:name=".providers.AvatarProvider"
   149             android:authorities="com.beem.project.beem.providers.avatarprovider"
   154             android:authorities="com.beem.project.beem.providers.avatarprovider"
   150             android:exported="false"
   155             android:exported="false"
   151             android:label="Avatar Provider"
   156             android:label="Avatar Provider" />
   152             android:name=".providers.AvatarProvider" />
       
   153         <provider
   157         <provider
       
   158             android:name=".providers.MessageProvider"
   154             android:authorities="com.beem.project.beem.providers.messageprovider"
   159             android:authorities="com.beem.project.beem.providers.messageprovider"
   155             android:label="Message Provider"
   160             android:label="Message Provider" />
   156             android:name=".providers.MessageProvider" />
       
   157         <provider
   161         <provider
       
   162             android:name=".providers.MUCsProvider"
   158             android:authorities="com.beem.project.beem.providers.mucsprovider"
   163             android:authorities="com.beem.project.beem.providers.mucsprovider"
   159             android:label="MUCs Provider"
   164             android:label="MUCs Provider" />
   160             android:name=".providers.MUCsProvider" />
       
   161 
   165 
   162         <service
   166         <service
       
   167             android:name=".account.AuthenticatorService"
   163             android:exported="true"
   168             android:exported="true"
   164             android:name=".account.AuthenticatorService"
       
   165             android:process=":auth" >
   169             android:process=":auth" >
   166             <intent-filter >
   170             <intent-filter>
   167                 <action android:name="android.accounts.AccountAuthenticator" />
   171                 <action android:name="android.accounts.AccountAuthenticator" />
   168             </intent-filter>
   172             </intent-filter>
   169 
   173 
   170             <meta-data
   174             <meta-data
   171                 android:name="android.accounts.AccountAuthenticator"
   175                 android:name="android.accounts.AccountAuthenticator"
   172                 android:resource="@xml/authenticator" />
   176                 android:resource="@xml/authenticator" />
   173         </service>
   177         </service>
   174         <service
   178         <service
       
   179             android:name=".account.SyncAdapterService"
   175             android:exported="true"
   180             android:exported="true"
   176             android:name=".account.SyncAdapterService"
       
   177             android:process=":contacts" >
   181             android:process=":contacts" >
   178             <intent-filter >
   182             <intent-filter>
   179                 <action android:name="android.content.SyncAdapter" />
   183                 <action android:name="android.content.SyncAdapter" />
   180             </intent-filter>
   184             </intent-filter>
   181 
   185 
   182             <meta-data
   186             <meta-data
   183                 android:name="android.content.SyncAdapter"
   187                 android:name="android.content.SyncAdapter"
   185             <meta-data
   189             <meta-data
   186                 android:name="android.provider.CONTACTS_STRUCTURE"
   190                 android:name="android.provider.CONTACTS_STRUCTURE"
   187                 android:resource="@xml/contacts" />
   191                 android:resource="@xml/contacts" />
   188         </service>
   192         </service>
   189         <service
   193         <service
       
   194             android:name="BeemService"
   190             android:enabled="true"
   195             android:enabled="true"
   191             android:label="Beem Service"
   196             android:label="Beem Service"
   192             android:name="BeemService"
       
   193             android:permission="com.beem.project.beem.BEEM_SERVICE" >
   197             android:permission="com.beem.project.beem.BEEM_SERVICE" >
   194             <intent-filter >
   198             <intent-filter>
   195                 <action android:name="com.beem.project.beem.BeemService" >
       
   196                 </action>
       
   197             </intent-filter>
       
   198             <intent-filter >
       
   199                 <action android:name="com.beem.project.beem.BeemService" />
   199                 <action android:name="com.beem.project.beem.BeemService" />
   200                 <action android:name="com.beem.project.beem.intent.action.SYNC" />
   200                 <action android:name="com.beem.project.beem.intent.action.SYNC" />
   201                 <action android:name="com.beem.project.beem.intent.action.CONNECT" />
   201                 <action android:name="com.beem.project.beem.intent.action.CONNECT" />
   202                 <action android:name="com.beem.project.beem.intent.action.DISCONNECT" />
   202                 <action android:name="com.beem.project.beem.intent.action.DISCONNECT" />
   203                 <action android:name="com.beem.project.beem.intent.action.IS_CONNECTED" />
   203                 <action android:name="com.beem.project.beem.intent.action.IS_CONNECTED" />
   204                 <action android:name="com.beem.project.beem.intent.action.SEND_MESSAGE" />
   204                 <action android:name="com.beem.project.beem.intent.action.SEND_MESSAGE" />
   205                 <action android:name="com.beem.project.beem.intent.action.ADD_CONTACT" />
   205                 <action android:name="com.beem.project.beem.intent.action.ADD_CONTACT" />
   206                 <action android:name="com.beem.project.beem.intent.action.CHANGE_STATUS" />
   206                 <action android:name="com.beem.project.beem.intent.action.CHANGE_STATUS" />
   207                 <action android:name="com.beem.project.beem.intent.action.MUC_JOIN" />
   207                 <action android:name="com.beem.project.beem.intent.action.MUC_JOIN" />
   208                 <action android:name="com.beem.project.beem.intent.action.MUC_SEND_MESSAGE" />
   208                 <action android:name="com.beem.project.beem.intent.action.MUC_SEND_MESSAGE" />
       
   209                 <action android:name="com.beem.project.beem.intent.action.ADD_MUC" />
   209             </intent-filter>
   210             </intent-filter>
   210         </service>
   211         </service>
   211     </application>
   212     </application>
   212 
   213 
   213     <permission
   214     <permission
       
   215         android:name="com.beem.project.beem.BEEM_SERVICE"
   214         android:description="@string/BeemServiceDescription"
   216         android:description="@string/BeemServiceDescription"
   215         android:label="BeemService"
   217         android:label="BeemService"
   216         android:name="com.beem.project.beem.BEEM_SERVICE"
       
   217         android:permissionGroup="android.permission-group.NETWORK" />
   218         android:permissionGroup="android.permission-group.NETWORK" />
   218 
   219 
   219     <uses-permission android:name="android.permission.INTERNET" />
   220     <uses-permission android:name="android.permission.INTERNET" />
   220     <uses-permission android:name="android.permission.VIBRATE" />
   221     <uses-permission android:name="android.permission.VIBRATE" />
   221     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   222     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />