AndroidManifest.xml
changeset 918 80d2be82fa84
parent 909 45ba9cc90c22
child 920 68372d462902
equal deleted inserted replaced
917:f7cfc4a68225 918:80d2be82fa84
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <manifest
     2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     3 	xmlns:android="http://schemas.android.com/apk/res/android"
     3     package="com.beem.project.beem"
     4 	package="com.beem.project.beem"
     4     android:versionCode="7"
     5 	android:versionCode="7"
     5     android:versionName="0.1.5" >
     6 	android:versionName="0.1.5">
     6 
     7 	<application
     7     <application
     8 		android:label="@string/app_name"
     8         android:icon="@drawable/beem_launcher_icon_silver"
     9 		android:icon="@drawable/beem_launcher_icon_silver"
     9         android:label="@string/app_name"
    10 		android:theme="@style/Theme.BEEM.Default"
    10         android:name=".BeemApplication"
    11 		android:name=".BeemApplication">
    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
    17                 <action android:name="android.intent.action.MAIN" />
    18 					android:name="android.intent.action.MAIN" />
    18 
    19 				<category
    19                 <category android:name="android.intent.category.LAUNCHER" />
    20 					android:name="android.intent.category.LAUNCHER" />
    20             </intent-filter>
    21 			</intent-filter>
    21         </activity>
    22 		</activity>
    22         <activity
    23 		<activity
    23             android:label="Account wizard"
    24 			android:name=".ui.wizard.Account"
    24             android:name=".ui.wizard.Account" />
    25 			android:label="Account wizard" />
    25         <activity
    26 		<activity
    26             android:label="Account wizard"
    27 			android:name=".ui.wizard.AccountConfigure"
    27             android:name=".ui.wizard.AccountConfigure" />
    28 			android:label="Account wizard" />
    28         <activity
    29 		<activity
    29             android:label="@string/login_login_progress"
    30 			android:name=".ui.LoginAnim"
    30             android:launchMode="singleTop"
    31 			android:label="@string/login_login_progress"
    31             android:name=".ui.LoginAnim"
    32 			android:launchMode="singleTop"
    32             android:screenOrientation="portrait" />
    33 			android:screenOrientation="portrait" />
    33         <activity
    34 		<activity
    34             android:label="@string/edit_settings_name"
    35 			android:name=".ui.Settings"
    35             android:name=".ui.Settings" >
    36 			android:label="@string/edit_settings_name">
    36             <intent-filter android:label="Beem Android Account" >
    37 			<intent-filter
    37                 <action android:name="com.beem.project.beem.SETTINGS" />
    38 				android:label="Beem Android Account">
    38 
    39 				<action
    39                 <category android:name="android.intent.category.DEFAULT" />
    40 					android:name="com.beem.project.beem.SETTINGS" />
    40             </intent-filter>
    41 				<category
    41             <intent-filter android:label="Beem Connection" >
    42 					android:name="android.intent.category.DEFAULT" />
    42                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    43 			</intent-filter>
    43             </intent-filter>
    44 			<intent-filter
    44         </activity>
    45 				android:label="Beem Connection">
    45         <activity
    46 				<action
    46             android:label="@string/chat_name"
    47 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    47             android:launchMode="singleTop"
    48 			</intent-filter>
    48             android:name=".ui.Chat" >
    49 		</activity>
    49             <intent-filter android:label="Beem Connection" >
    50 		<activity
    50                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    51 			android:name=".ui.Chat"
    51             </intent-filter>
    52 			android:label="@string/chat_name"
    52             <intent-filter >
    53 			android:launchMode="singleTop">
    53                 <action android:name="android.intent.action.SENDTO" />
    54 			<intent-filter
    54 
    55 				android:label="Beem Connection">
    55                 <category android:name="android.intent.category.DEFAULT" />
    56 				<action
    56                 <category android:name="com.android.im.category.JABBER" />
    57 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    57 
    58 			</intent-filter>
    58                 <data android:scheme="im" />
    59 			<intent-filter>
    59             </intent-filter>
    60 				<action
    60             <intent-filter >
    61 					android:name="android.intent.action.SENDTO" />
    61                 <action android:name="android.intent.action.SENDTO" />
    62 				<category
    62 
    63 					android:name="android.intent.category.DEFAULT" />
    63                 <category android:name="android.intent.category.DEFAULT" />
    64 				<category
    64 
    65 					android:name="com.android.im.category.JABBER" />
    65                 <data
    66 				<data
    66                     android:host="jabber"
    67 					android:scheme="im" />
    67                     android:scheme="imto" />
    68 			</intent-filter>
    68             </intent-filter>
    69 			<intent-filter>
    69         </activity>
    70 				<action
    70         <activity
    71 					android:name="android.intent.action.SENDTO" />
    71             android:label="@string/ChangeStatusActTitle"
    72 				<category
    72             android:launchMode="singleTask"
    73 					android:name="android.intent.category.DEFAULT" />
    73             android:name=".ui.ChangeStatus"
    74 				<data
    74             android:windowSoftInputMode="stateHidden" >
    75 					android:scheme="imto"
    75             <intent-filter android:label="Beem Android Account" >
    76 					android:host="jabber" />
    76                 <action android:name="com.beem.project.beem.CHANGESTATUS" />
    77 			</intent-filter>
    77 
    78 		</activity>
    78                 <category android:name="android.intent.category.DEFAULT" />
    79 		<activity
    79             </intent-filter>
    80 			android:name=".ui.ChangeStatus"
    80             <intent-filter android:label="Beem Connection" >
    81 			android:label="@string/ChangeStatusActTitle"
    81                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    82 			android:launchMode="singleTask"
    82             </intent-filter>
    83 			android:windowSoftInputMode="stateHidden">
    83         </activity>
    84 			<intent-filter
    84         <activity
    85 				android:label="Beem Android Account">
    85             android:label="@string/AddCActTitle"
    86 				<action
    86             android:name=".ui.AddContact" >
    87 					android:name="com.beem.project.beem.CHANGESTATUS" />
    87             <intent-filter android:label="Create Contact" >
    88 				<category
    88                 <action android:name="android.intent.action.INSERT" />
    89 					android:name="android.intent.category.DEFAULT" />
    89 
    90 			</intent-filter>
    90                 <category android:name="android.intent.category.DEFAULT" />
    91 			<intent-filter
    91 
    92 				android:label="Beem Connection">
    92                 <data android:mimeType="vnd.android.cursor.dir/person" />
    93 				<action
    93                 <data android:mimeType="vnd.android.cursor.dir/contact" />
    94 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
    94                 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
    95 			</intent-filter>
    95             </intent-filter>
    96 		</activity>
    96         </activity>
    97 		<activity
    97         <activity
    98 			android:name=".ui.AddContact"
    98             android:label="@string/app_name"
    99 			android:label="@string/AddCActTitle">
    99             android:name=".ui.Subscription" >
   100 			<intent-filter
   100             <intent-filter android:label="Beem Connection" >
   101 				android:label="Beem Connection">
   101                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   102 				<action
   102             </intent-filter>
   103 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   103         </activity>
   104 			</intent-filter>
   104         <activity
   105 		</activity>
   105             android:label="@string/create_account_name"
   106 		<activity
   106             android:name=".ui.CreateAccount" />
   107 			android:name=".ui.Subscription"
   107         <activity
   108 			android:label="@string/app_name">
   108             android:label="@string/contact_list_name"
   109 			<intent-filter
   109             android:launchMode="singleTask"
   110 				android:label="Beem Connection">
   110             android:name=".ui.ContactList" >
   111 				<action
   111             <intent-filter android:label="Beem Connection" >
   112 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   112                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   113 			</intent-filter>
   113             </intent-filter>
   114 		</activity>
   114         </activity>
   115 		<activity
   115         <activity
   116 			android:name=".ui.CreateAccount"
   116             android:label="GroupList"
   117 			android:label="@string/create_account_name" />
   117             android:name=".ui.GroupList" >
   118 		<activity
   118             <intent-filter android:label="Beem Connection" >
   119 			android:name=".ui.ContactList"
   119                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   120 			android:label="@string/contact_list_name"
   120             </intent-filter>
   121 			android:launchMode="singleTask">
   121         </activity>
   122 			<intent-filter
   122         <activity
   123 				android:label="Beem Connection">
   123             android:label="@string/privacy_list_name"
   124 				<action
   124             android:name=".ui.PrivacyList" >
   125 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   125             <intent-filter android:label="Beem Connection" >
   126 			</intent-filter>
   126                 <action android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
   127 		</activity>
   127             </intent-filter>
   128 		<activity
   128         </activity>
   129 			android:name=".ui.GroupList"
   129         <activity
   130 			android:label="GroupList">
   130             android:label="Sync Settings"
   131 			<intent-filter
   131             android:name="com.beem.project.beem.account.ManageAccountsSettings" >
   132 				android:label="Beem Connection">
   132         </activity>
   133 				<action
   133         <!--
   134 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
       
   135 			</intent-filter>
       
   136 		</activity>
       
   137 		<activity
       
   138 			android:name=".ui.PrivacyList"
       
   139 			android:label="@string/privacy_list_name">
       
   140 			<intent-filter
       
   141 				android:label="Beem Connection">
       
   142 				<action
       
   143 					android:name="com.beem.project.beem.service.XmppConnectionAdapter.CONNECTION_CLOSED" />
       
   144 			</intent-filter>
       
   145 		</activity>
       
   146 		<activity
       
   147 			android:name="com.beem.project.beem.account.ManageAccountsSettings"
       
   148 			android:label="Sync Settings">
       
   149 		</activity>
       
   150 		<!--
       
   151 			Could be interesting if we would launch beem at startup <receiver
   134 			Could be interesting if we would launch beem at startup <receiver
   152 			android:name=".tool.BeemBroadcastReceiver" android:enabled="true">
   135 			android:name=".tool.BeemBroadcastReceiver" android:enabled="true">
   153 			<intent-filter> <action
   136 			<intent-filter> <action
   154 			android:name="android.intent.action.BOOT_COMPLETED" />
   137 			android:name="android.intent.action.BOOT_COMPLETED" />
   155 			</intent-filter> </receiver>
   138 			</intent-filter> </receiver>
   156 		-->
   139         -->
   157 		<provider
   140         <provider
   158 			android:name=".providers.AvatarProvider"
   141             android:authorities="com.beem.project.beem.providers.avatarprovider"
   159 			android:label="Avatar Provider"
   142             android:exported="false"
   160 			android:authorities="com.beem.project.beem.providers.avatarprovider"
   143             android:label="Avatar Provider"
   161 			android:exported="false" />
   144             android:name=".providers.AvatarProvider" />
   162 		<provider
   145         <provider
   163 			android:name=".providers.MessageProvider"
   146             android:authorities="com.beem.project.beem.providers.messageprovider"
   164 			android:label="Message Provider"
   147             android:label="Message Provider"
   165 			android:authorities="com.beem.project.beem.providers.messageprovider" />
   148             android:name=".providers.MessageProvider" />
   166 		<service
   149 
   167 			android:name=".account.AuthenticatorService"
   150         <service
   168 			android:exported="true"
   151             android:exported="true"
   169 			android:process=":auth">
   152             android:name=".account.AuthenticatorService"
   170 			<intent-filter>
   153             android:process=":auth" >
   171 				<action
   154             <intent-filter >
   172 					android:name="android.accounts.AccountAuthenticator" />
   155                 <action android:name="android.accounts.AccountAuthenticator" />
   173 			</intent-filter>
   156             </intent-filter>
   174 			<meta-data
   157 
   175 				android:name="android.accounts.AccountAuthenticator"
   158             <meta-data
   176 				android:resource="@xml/authenticator" />
   159                 android:name="android.accounts.AccountAuthenticator"
   177 		</service>
   160                 android:resource="@xml/authenticator" />
   178 		<service
   161         </service>
   179 			android:name=".account.SyncAdapterService"
   162         <service
   180 			android:exported="true"
   163             android:exported="true"
   181 			android:process=":contacts">
   164             android:name=".account.SyncAdapterService"
   182 			<intent-filter>
   165             android:process=":contacts" >
   183 				<action
   166             <intent-filter >
   184 					android:name="android.content.SyncAdapter" />
   167                 <action android:name="android.content.SyncAdapter" />
   185 			</intent-filter>
   168             </intent-filter>
   186 			<meta-data
   169 
   187 				android:name="android.content.SyncAdapter"
   170             <meta-data
   188 				android:resource="@xml/sync_contacts" />
   171                 android:name="android.content.SyncAdapter"
   189 			<meta-data
   172                 android:resource="@xml/sync_contacts" />
   190 				android:name="android.provider.CONTACTS_STRUCTURE"
   173             <meta-data
   191 				android:resource="@xml/contacts" />
   174                 android:name="android.provider.CONTACTS_STRUCTURE"
   192 		</service>
   175                 android:resource="@xml/contacts" />
   193 		<service
   176         </service>
   194 			android:name="BeemService"
   177         <service
   195 			android:enabled="true"
   178             android:enabled="true"
   196 			android:label="Beem Service"
   179             android:label="Beem Service"
   197 			android:permission="com.beem.project.beem.BEEM_SERVICE">
   180             android:name="BeemService"
   198 			<intent-filter>
   181             android:permission="com.beem.project.beem.BEEM_SERVICE" >
   199 				<action
   182             <intent-filter >
   200 					android:name="com.beem.project.beem.BeemService"></action>
   183                 <action android:name="com.beem.project.beem.BeemService" >
   201 			</intent-filter>
   184                 </action>
   202 			<intent-filter>
   185             </intent-filter>
   203 				<action
   186             <intent-filter >
   204 					android:name="com.beem.project.beem.BeemService" />
   187                 <action android:name="com.beem.project.beem.BeemService" />
   205 				<action
   188                 <action android:name="com.beem.project.beem.intent.action.SYNC" />
   206 					android:name="com.beem.project.beem.intent.action.SYNC" />
   189                 <action android:name="com.beem.project.beem.intent.action.CONNECT" />
   207 				<action
   190                 <action android:name="com.beem.project.beem.intent.action.DISCONNECT" />
   208 					android:name="com.beem.project.beem.intent.action.CONNECT" />
   191                 <action android:name="com.beem.project.beem.intent.action.SEND_MESSAGE" />
   209 				<action
   192             </intent-filter>
   210 					android:name="com.beem.project.beem.intent.action.DISCONNECT" />
   193         </service>
   211 				<action
   194     </application>
   212 					android:name="com.beem.project.beem.intent.action.SEND_MESSAGE" />
   195 
   213 			</intent-filter>
   196     <permission
   214 		</service>
   197         android:description="@string/BeemServiceDescription"
   215 	</application>
   198         android:label="BeemService"
   216 	<permission
   199         android:name="com.beem.project.beem.BEEM_SERVICE"
   217 		android:permissionGroup="android.permission-group.NETWORK"
   200         android:permissionGroup="android.permission-group.NETWORK" />
   218 		android:label="BeemService"
   201 
   219 		android:description="@string/BeemServiceDescription"
   202     <uses-permission android:name="android.permission.INTERNET" />
   220 		android:name="com.beem.project.beem.BEEM_SERVICE" />
   203     <uses-permission android:name="android.permission.VIBRATE" />
   221 	<uses-permission
   204     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   222 		android:name="android.permission.INTERNET" />
   205     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
   223 	<uses-permission
   206     <uses-permission android:name="com.beem.project.beem.BEEM_SERVICE" />
   224 		android:name="android.permission.VIBRATE" />
   207     <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
   225 	<uses-permission
   208     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
   226 		android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   209     <uses-permission android:name="android.permission.READ_CONTACTS" />
   227 	<uses-permission
   210     <uses-permission android:name="android.permission.WRITE_CONTACTS" />
   228 		android:name="android.permission.ACCESS_NETWORK_STATE" />
   211     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
   229 	<uses-permission
   212     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
   230 		android:name="com.beem.project.beem.BEEM_SERVICE" />
   213     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
   231 	<uses-permission
   214 
   232 		android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
   215     <uses-sdk
   233 	<uses-permission
   216         android:minSdkVersion="7"
   234 		android:name="android.permission.GET_ACCOUNTS" />
   217         android:targetSdkVersion="8" />
   235 	<uses-permission
   218 
   236 		android:name="android.permission.READ_CONTACTS" />
   219     <supports-screens
   237 	<uses-permission
   220         android:anyDensity="true"
   238 		android:name="android.permission.WRITE_CONTACTS" />
   221         android:largeScreens="true"
   239 	<uses-permission
   222         android:normalScreens="true"
   240 		android:name="android.permission.MANAGE_ACCOUNTS" />
   223         android:smallScreens="true" />
   241 	<uses-permission
   224 
   242 		android:name="android.permission.READ_SYNC_SETTINGS" />
       
   243 	<uses-permission
       
   244 		android:name="android.permission.WRITE_SYNC_SETTINGS" />
       
   245 	<uses-sdk
       
   246 		android:minSdkVersion="7"
       
   247 		android:targetSdkVersion="8" />
       
   248 	<supports-screens
       
   249 		android:largeScreens="true"
       
   250 		android:normalScreens="true"
       
   251 		android:smallScreens="true"
       
   252 		android:anyDensity="true" />
       
   253 </manifest>
   225 </manifest>