mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
355 lines
15 KiB
XML
355 lines
15 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.timsu.astrid"
|
|
android:versionName="3.1.0" android:versionCode="146"
|
|
android:installLocation="internalOnly">
|
|
|
|
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
|
|
|
|
<!-- ================================================== Used Permissions = -->
|
|
|
|
<!-- for notifications -->
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
<!-- for synchronization -->
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
<!-- for google calendar integration -->
|
|
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
|
|
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
|
<!-- for creating shortcuts -->
|
|
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
|
|
<!-- for backup -->
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<!-- for analytics -->
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
|
<!-- ============================================== Exported Permissions = -->
|
|
|
|
<!-- for tasks provider -->
|
|
<permission android:name="com.timsu.astrid.permission.READ_TASKS"
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
android:protectionLevel="normal"
|
|
android:label="@string/read_permission_label"
|
|
android:description="@string/read_permission_desc"/>
|
|
<uses-permission android:name="com.timsu.astrid.permission.READ_TASKS"/>
|
|
|
|
<!-- for reading data from plugins or astrid -->
|
|
<permission android:name="com.todoroo.astrid.READ"
|
|
android:description="@string/read_permission_desc"
|
|
android:protectionLevel="normal"
|
|
android:label="@string/read_permission_label" />
|
|
<uses-permission android:name="com.todoroo.astrid.READ" />
|
|
|
|
<!-- for writing data to plugins or astrid -->
|
|
<permission android:name="com.todoroo.astrid.WRITE"
|
|
android:description="@string/write_permission_desc"
|
|
android:protectionLevel="normal"
|
|
android:label="@string/write_permission_label" />
|
|
<uses-permission android:name="com.todoroo.astrid.WRITE" />
|
|
|
|
<!-- ========================================================== Metadata = -->
|
|
|
|
<uses-sdk android:targetSdkVersion="8"
|
|
android:minSdkVersion="3" />
|
|
<supports-screens />
|
|
|
|
<application android:icon="@drawable/icon"
|
|
android:label="@string/app_name">
|
|
|
|
<!-- ====================================================== Activities = -->
|
|
|
|
<!-- Activity that displays task list -->
|
|
<activity android:name="com.todoroo.astrid.activity.TaskListActivity"
|
|
android:windowSoftInputMode="stateHidden"
|
|
android:clearTaskOnLaunch="true"
|
|
android:theme="@style/Theme">
|
|
<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.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<!-- Activity launched from shortcut -->
|
|
<activity android:name="com.todoroo.astrid.activity.ShortcutActivity"
|
|
android:clearTaskOnLaunch="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<!-- Legacy Task List shortcut activity -->
|
|
<activity android:name=".activities.TaskList">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Activity that displays filter list -->
|
|
<activity android:name="com.todoroo.astrid.activity.FilterListActivity"
|
|
android:launchMode="singleTask"
|
|
android:theme="@style/Theme">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<meta-data android:name="android.app.searchable"
|
|
android:resource="@xml/filter_list_searchable" />
|
|
</activity>
|
|
<!-- Activity that creates or edits tasks -->
|
|
<activity android:name="com.todoroo.astrid.activity.TaskEditActivity"
|
|
android:windowSoftInputMode="stateHidden"
|
|
android:theme="@style/Theme">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="vnd.android.cursor.item/task" />
|
|
</intent-filter>
|
|
</activity>
|
|
<!-- Activity that selects and installs add-ons -->
|
|
<activity android:name="com.todoroo.astrid.activity.AddOnActivity"
|
|
android:windowSoftInputMode="stateHidden"
|
|
android:theme="@style/Theme" />
|
|
<!-- Activity for preferences -->
|
|
<activity android:name="com.todoroo.astrid.activity.EditPreferences" />
|
|
|
|
<!-- ======================================================= Receivers = -->
|
|
|
|
<receiver android:name="com.todoroo.astrid.reminders.Notifications" />
|
|
|
|
<receiver android:name="com.todoroo.astrid.widget.TasksWidget">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data android:name="android.appwidget.provider"
|
|
android:resource="@xml/widget_provider_info" />
|
|
</receiver>
|
|
|
|
<!-- ======================================================== Services = -->
|
|
|
|
<service android:name="com.todoroo.astrid.widget.TasksWidget$UpdateService" />
|
|
|
|
<!-- ======================================================= Providers = -->
|
|
|
|
<provider android:name="com.todoroo.astrid.provider.Astrid2TaskProvider"
|
|
android:authorities="com.timsu.astrid.tasksprovider"
|
|
android:multiprocess="true"
|
|
android:grantUriPermissions="true"
|
|
android:readPermission="com.timsu.astrid.permission.READ_TASKS"/>
|
|
|
|
<!-- ========================================================= Plugins = -->
|
|
|
|
<!-- core -->
|
|
<receiver android:name="com.todoroo.astrid.core.CorePlugin">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_ADDONS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.todoroo.astrid.core.CoreFilterExposer">
|
|
<intent-filter android:priority="9000">
|
|
<action android:name="com.todoroo.astrid.REQUEST_FILTERS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<activity android:name="com.todoroo.astrid.core.DefaultsPreferences"
|
|
android:label="@string/EPr_defaults_header">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- alarms -->
|
|
<receiver android:name="com.todoroo.astrid.alarms.AlarmTaskRepeatListener">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_REPEATED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
|
|
<!-- tags -->
|
|
<receiver android:name="com.todoroo.astrid.tags.TagsPlugin">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_ADDONS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.todoroo.astrid.tags.TagFilterExposer">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_FILTERS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- repeats -->
|
|
<receiver android:name="com.todoroo.astrid.repeats.RepeatsPlugin">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_ADDONS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.todoroo.astrid.repeats.RepeatTaskCompleteListener">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- calendar -->
|
|
<receiver android:name="com.todoroo.astrid.gcal.GCalTaskCompleteListener">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- backup -->
|
|
<service android:name="com.todoroo.astrid.backup.BackupService"/>
|
|
<activity android:name="com.todoroo.astrid.backup.BackupActivity"
|
|
android:theme="@android:style/Theme.Dialog"
|
|
android:icon="@drawable/ic_menu_archive"
|
|
android:label="@string/backup_BAc_label">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_LIST_MENU" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="com.todoroo.astrid.backup.BackupPreferences"
|
|
android:label="@string/backup_BPr_header">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<receiver android:name="com.todoroo.astrid.backup.BackupStartupReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- notes -->
|
|
|
|
<!-- locale -->
|
|
<activity android:name="com.todoroo.astrid.locale.LocaleEditAlerts"
|
|
android:label="@string/locale_edit_alerts_title"
|
|
android:icon="@drawable/icon_32"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
|
|
</intent-filter>
|
|
</activity>
|
|
<receiver android:name="com.todoroo.astrid.locale.LocaleReceiver">
|
|
<intent-filter>
|
|
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- timers -->
|
|
<receiver android:name="com.todoroo.astrid.timers.TimerDecorationExposer">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_DECORATIONS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.todoroo.astrid.timers.TimerActionExposer">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_ACTIONS" />
|
|
<action android:name="com.todoroo.astrid.TIMER_BUTTON" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.todoroo.astrid.timers.TimerFilterExposer">
|
|
<intent-filter android:priority="10000">
|
|
<action android:name="com.todoroo.astrid.REQUEST_FILTERS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.todoroo.astrid.timers.TimerTaskCompleteListener">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- reminders -->
|
|
<activity android:name="com.todoroo.astrid.reminders.ReminderPreferences"
|
|
android:label="@string/rmd_EPr_alerts_header">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<receiver android:name="com.todoroo.astrid.reminders.ReminderStartupReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<activity android:name="com.todoroo.astrid.reminders.NotificationActivity"
|
|
android:taskAffinity="com.todoroo.astrid.reminders.NotificationActivity"
|
|
android:screenOrientation="portrait"
|
|
android:clearTaskOnLaunch="true" />
|
|
|
|
<!-- producteev -->
|
|
<activity android:name="com.todoroo.astrid.producteev.ProducteevPreferences"
|
|
android:icon="@drawable/ic_menu_producteev"
|
|
android:label="@string/producteev_PPr_header">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_LIST_MENU" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="com.todoroo.astrid.producteev.ProducteevLoginActivity"
|
|
android:theme="@style/Theme">
|
|
<intent-filter> <!-- temporary -->
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
<service android:name="com.todoroo.astrid.producteev.ProducteevBackgroundService"/>
|
|
|
|
<!-- rmilk -->
|
|
<receiver android:name="com.todoroo.astrid.rmilk.MilkFilterExposer">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.REQUEST_FILTERS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<activity android:name="com.todoroo.astrid.rmilk.MilkLoginActivity"
|
|
android:theme="@style/Theme" />
|
|
<activity android:name="com.todoroo.astrid.rmilk.MilkPreferences"
|
|
android:icon="@drawable/ic_menu_refresh"
|
|
android:label="@string/rmilk_MPr_header">
|
|
<intent-filter>
|
|
<action android:name="com.todoroo.astrid.TASK_LIST_MENU" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
<service android:name="com.todoroo.astrid.rmilk.MilkBackgroundService"/>
|
|
<receiver android:name="com.todoroo.astrid.rmilk.MilkStartupReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
</application>
|
|
|
|
</manifest>
|