~vcs-imports/openintents/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?xml version="1.0" encoding="utf-8"?>
<!-- 
	* Copyright (C) 2008 OpenIntents.org
	*
	* Licensed under the Apache License, Version 2.0 (the "License");
	* you may not use this file except in compliance with the License.
	* You may obtain a copy of the License at
	*
	*      http://www.apache.org/licenses/LICENSE-2.0
	*
	* Unless required by applicable law or agreed to in writing, software
	* distributed under the License is distributed on an "AS IS" BASIS,
	* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	* See the License for the specific language governing permissions and
	* limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="org.openintents.countdown"
      android:versionCode="10004"
      android:versionName="1.1.0">
    <uses-sdk android:minSdkVersion="2" />
    <!-- History:
    1.1.0-rc1 [10003]: 2009-06-30
    1.1.0-beta1 [10002]: 2009-06-19
    1.0.1 [10001]: 2008-11-11 -->
      
    <!-- required for notifications -->
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    
    <application android:icon="@drawable/icon_hourglass" android:label="@string/app_name">
    
        <!-- aTrackDog metadata -->
        <meta-data android:name="com.a0soft.gphone.aTrackDog.testVersion"
           android:value="10003" />
           
        <!-- OI About metadata -->
		<meta-data android:name="org.openintents.metadata.COMMENTS"
                       android:value="@string/about_comments" />
        <meta-data android:name="org.openintents.metadata.COPYRIGHT"
                       android:value="@string/about_copyright" />
        <meta-data android:name="org.openintents.metadata.AUTHORS"
                       android:resource="@array/about_authors" />
        <meta-data android:name="org.openintents.metadata.DOCUMENTERS"
                       android:resource="@array/about_documenters" />
        <meta-data android:name="org.openintents.metadata.TRANSLATORS"
                       android:resource="@string/about_translators" />
        <meta-data android:name="org.openintents.metadata.ARTISTS"
                       android:resource="@array/about_artists" />
        <meta-data android:name="org.openintents.metadata.WEBSITE_LABEL"
                       android:value="@string/about_website_label" />
        <meta-data android:name="org.openintents.metadata.WEBSITE_URL"
                       android:value="@string/about_website_url" />
        <meta-data android:name="org.openintents.metadata.LICENSE"
                       android:resource="@raw/license_short" />
        <meta-data android:name="org.openintents.metadata.EMAIL"
                       android:value="@string/about_email" />
        <meta-data android:name="org.openintents.metadata.DUZ_ID"
        			   android:value=""/>
                       
        <provider android:name=".db.CountdownProvider"
            android:authorities="org.openintents.countdown"
        />
    
        
        <activity android:name=".list.CountdownListActivity" 
        	android:icon="@drawable/icon_hourglass" 
        	android:label="@string/app_name">
            <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" />
                <action android:name="android.intent.action.EDIT" />
                <action android:name="android.intent.action.PICK" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="vnd.android.cursor.dir/vnd.openintents.countdown.duration" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.GET_CONTENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="vnd.android.cursor.item/vnd.openintents.countdown.duration" />
            </intent-filter>
        </activity>
        
        <activity android:name=".activity.CountdownEditorActivity"
            android:icon="@drawable/icon_hourglass" 
        	android:label="@string/title_setcountdown"
        ><!-- 
        	android:launchMode="singleTop":
        	SINGLE_TOP is set programmatically in NotificationReceiver.
        	In this way, the activity can decide in onNewIntent() to launch
        	a new instance after all. -->
            <!-- This filter says that we can view or edit the data of
                 a single note -->
            <intent-filter android:label="@string/menu_edit">
                <action android:name="android.intent.action.VIEW" />
                <action android:name="android.intent.action.EDIT" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="vnd.android.cursor.item/vnd.openintents.countdown.duration" />
            </intent-filter>

            <!-- This filter says that we can create a new note inside
                 of a directory of notes. -->
            <intent-filter>
                <action android:name="android.intent.action.INSERT" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="vnd.android.cursor.dir/vnd.openintents.countdown.duration" />
            </intent-filter>
        </activity>
            
        <activity android:name=".activity.SetCountdownActivity"
            android:icon="@drawable/icon_hourglass" 
        	android:label="@string/title_setcountdown"
        >
            <!-- This filter says that any other application can set a countdown on
                 an arbitrary URI by calling this intent. -->
                 <!-- 
            <intent-filter
            	android:icon="@drawable/icon_hourglass" 
        		android:label="@string/title_setcountdown">
            	<action android:name="org.openintents.countdown.action.SET_COUNTDOWN" />
            	<category android:name="android.intent.category.ALTERNATIVE" />
            	<data android:mimeType="*/*" />
            </intent-filter>
             -->

        </activity>
         
         
        <receiver android:name=".NotificationReceiver">
        </receiver>
        
        <activity android:name=".automation.EditAutomationActivity"
            android:icon="@drawable/icon_hourglass" 
        	android:label="@string/title_setcountdown_action">
            <intent-filter>
        		<action android:name="org.openintents.action.EDIT_AUTOMATION" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        
        <receiver android:name=".automation.AutomationReceiver">
        	<intent-filter>
        		<action android:name="org.openintents.action.RUN_AUTOMATION" />
        	</intent-filter>
        </receiver>
        
        <!-- For backward compatibility with SDK 1.1 -->
		<activity android:name="org.openintents.compatibility.activitypicker.DialogHostingActivity"
			android:label="@string/activity_picker_label"
			android:theme="@*android:style/Theme.Dialog.Alert">
			<!-- <intent-filter>
				<action android:name="android.intent.action.PICK_ACTIVITY" />
				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>  -->
		</activity>
 
        <activity android:name="org.openintents.distribution.EulaActivity" android:label="@string/eula_title">
        </activity> 
        
    	<activity android:name=".PreferenceActivity" android:label="@string/settings"></activity>
        
        <receiver android:name=".AlarmReceiver" />
        <receiver android:name=".AlarmCancelReceiver" />
        
		<receiver android:name=".AlarmInitReceiver">
			<intent-filter>
				<action android:name="android.intent.action.BOOT_COMPLETED" />
				<action android:name="android.intent.action.TIME_SET" />
				<action android:name="android.intent.action.TIMEZONE_CHANGED" />
			</intent-filter>
		</receiver>
		
        <service android:name=".AlarmService" />
        <!--  android:process=":remote" -->
        
    </application>
</manifest>