diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-03 23:47:49 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-03 23:47:49 +0100 |
commit | 7a9327d9607342a3ece2768ff0e02061dc9132c8 (patch) | |
tree | 6326442a85b41331888b6f288320fdc29da11602 /src/main/AndroidManifest.xml | |
parent | d458919c8f3e9ff968ed2df3b3492a07794aa477 (diff) | |
parent | 08cb23a88675bec7a382a8cdd463e9ea10358f64 (diff) |
fixed nfc. react to ?join uris. some refactoring. code cleanup. thanks to @emdete
Diffstat (limited to 'src/main/AndroidManifest.xml')
-rw-r--r-- | src/main/AndroidManifest.xml | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index 7bde645f..95663a87 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" - package="eu.siacs.conversations"> + package="eu.siacs.conversations"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> @@ -12,16 +12,17 @@ <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.VIBRATE" /> + <uses-permission android:name="android.permission.NFC" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" - tools:replace="android:label" - android:theme="@style/ConversationsTheme" > + android:theme="@style/ConversationsTheme" + tools:replace="android:label"> <service android:name="eu.siacs.conversations.services.XmppConnectionService" /> - <receiver android:name="eu.siacs.conversations.services.EventReceiver" > + <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" /> @@ -33,7 +34,7 @@ android:name="eu.siacs.conversations.ui.ConversationActivity" android:label="@string/title_activity_conversations" android:launchMode="singleTask" - android:windowSoftInputMode="stateHidden" > + android:windowSoftInputMode="stateHidden"> <intent-filter> <action android:name="android.intent.action.MAIN" /> @@ -43,8 +44,7 @@ <activity android:name="eu.siacs.conversations.ui.StartConversationActivity" android:configChanges="orientation|screenSize" - android:label="@string/title_activity_start_conversation" - android:logo="@drawable/ic_activity" > + android:label="@string/title_activity_start_conversation"> <intent-filter> <action android:name="android.intent.action.SENDTO" /> @@ -61,42 +61,40 @@ <data android:scheme="xmpp" /> </intent-filter> + <intent-filter> + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="xmpp" /> + </intent-filter> </activity> <activity android:name="eu.siacs.conversations.ui.SettingsActivity" - android:label="@string/title_activity_settings" > - </activity> + android:label="@string/title_activity_settings"></activity> <activity android:name="eu.siacs.conversations.ui.ChooseContactActivity" - android:label="@string/title_activity_choose_contact" > - </activity> + 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> + android:label="@string/title_activity_manage_accounts"></activity> <activity android:name="eu.siacs.conversations.ui.EditAccountActivity" - android:windowSoftInputMode="stateHidden|adjustResize" > - </activity> + android:windowSoftInputMode="stateHidden|adjustResize"></activity> <activity android:name="eu.siacs.conversations.ui.ConferenceDetailsActivity" android:label="@string/title_activity_conference_details" - android:windowSoftInputMode="stateHidden" > - </activity> + android:windowSoftInputMode="stateHidden"></activity> <activity android:name="eu.siacs.conversations.ui.ContactDetailsActivity" android:label="@string/title_activity_contact_details" - android:windowSoftInputMode="stateHidden" > - </activity> + android:windowSoftInputMode="stateHidden"></activity> <activity android:name="eu.siacs.conversations.ui.PublishProfilePictureActivity" android:label="@string/mgmt_account_publish_avatar" - android:windowSoftInputMode="stateHidden" > - </activity> + android:windowSoftInputMode="stateHidden"></activity> <activity android:name="eu.siacs.conversations.ui.ShareWithActivity" - android:label="@string/title_activity_conversations" > + android:label="@string/title_activity_conversations"> <intent-filter> <action android:name="android.intent.action.SEND" /> |