This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
AndroidManifest.xml
205 lines (182 loc) · 8.88 KB
/
AndroidManifest.xml
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.morgan.design.weatherslider"
android:installLocation="auto"
android:versionCode="17"
android:versionName="1.17" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!-- <uses-permission android:name="android.permission.READ_LOGS" /> -->
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<!-- android:minSdkVersion: Android 2.2 -->
<!-- android:targetSdkVersion: Android 4.1 -->
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<!-- android:debuggable="true" -->
<application
android:name="com.morgan.design.WeatherSliderApplication"
android:icon="@drawable/launch_icon"
android:label="@string/app_name" >
<!-- Main activity , can dispatch view on load -->
<activity
android:name="com.morgan.design.android.ManageWeatherChoiceActivity"
android:configChanges="keyboardHidden|orientation" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.APPLICATION_UPDATE_AVAILABLE" />
</intent-filter>
</activity>
<!-- Displays information about this application with various links -->
<activity
android:name="com.morgan.design.AboutActivity"
android:configChanges="keyboardHidden|orientation" >
</activity>
<!-- Allows user to enter a location -->
<activity
android:name="com.morgan.design.android.EnterLocationActivity"
android:configChanges="keyboardHidden|orientation" >
</activity>
<!-- Lists out all known WOEID entries found -->
<activity
android:name="com.morgan.design.android.ListLocationsActivity"
android:configChanges="keyboardHidden|orientation" >
</activity>
<!-- Lists all User Preferences -->
<activity
android:name="com.morgan.design.android.UserPreferencesActivity"
android:clearTaskOnLaunch="true"
android:configChanges="keyboardHidden|orientation" />
<!-- Feedback form -->
<activity
android:name="com.morgan.design.FeedbackFormActivity"
android:clearTaskOnLaunch="true"
android:configChanges="keyboardHidden|orientation" />
<!-- Weather Overview Screen -->
<activity
android:name="com.morgan.design.android.WeatherOverviewActivity"
android:alwaysRetainTaskState="false"
android:configChanges="keyboardHidden|orientation" >
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.OPEN_WEATHER_OVERVIEW" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity
android:name="com.morgan.design.android.TwoDayOverviewActivity"
android:configChanges="keyboardHidden|orientation"
android:theme="@android:style/Theme.NoTitleBar" >
</activity>
<!-- Service which simply determines your current GPS location -->
<service
android:name="com.morgan.design.android.service.LocationLookupService"
android:enabled="true"
android:exported="false"
android:label="@string/get_my_location_service" >
<intent-filter>
<action android:name="com.morgan.design.android.service.GET_ROAMING_LOCATION_LOOKUP" />
</intent-filter>
<intent-filter>
<action android:name="com.morgan.design.android.service.GET_ONE_OFF_CURRENT_LOCATION" />
</intent-filter>
</service>
<!-- Service which finds your GPS location then gets the weather for your location -->
<service
android:name="com.morgan.design.android.service.RoamingLookupService"
android:enabled="true"
android:label="@string/gps_weather_service" />
<!-- Service which periodically gets all statically active weather locations -->
<service
android:name="com.morgan.design.android.service.StaticLookupService"
android:enabled="true"
android:label="@string/gps_weather_service" />
<!-- ////////////////// -->
<!-- ////////////////// -->
<!-- ////////////////// -->
<!-- Service which deals with launching and removing existing notifications -->
<service
android:name="com.morgan.design.android.service.WeatherNotificationControllerService"
android:enabled="true" />
<!-- Service deals with all common tasks related to controlling notifications -->
<service
android:name="com.morgan.design.android.service.NotificationControllerService"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.PREFERENCES_UPDATED" />
</intent-filter>
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.REMOVE_CURRENT_NOTIFCATION" />
</intent-filter>
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.NOTIFICATIONS_FULL" />
</intent-filter>
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.CANCEL_ALL_WEATHER_NOTIFICATIONS" />
</intent-filter>
</service>
<!-- ////////////////// -->
<!-- ////////////////// -->
<!-- ////////////////// -->
<!-- Service intent checks for active notifications and reloads them -->
<service android:name="com.morgan.design.android.service.ReloadingAlarmService" />
<!-- Service intent checks for updates to Weather Slider -->
<service android:name="com.morgan.design.android.service.UpdateService" />
<!-- Periodic alarm receiver -->
<receiver
android:name="com.morgan.design.android.broadcast.LookupAlarmReciever"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="com.morgan.design.android.broadcast.LOOPING_ALARM" />
</intent-filter>
</receiver>
<receiver
android:name="com.morgan.design.android.broadcast.BootReceiver"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ACTION_BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver
android:name="com.morgan.design.android.broadcast.ConnectivityChangedReciever"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<!-- Sent when the user is present after device wakes up (e.g when the key guard is gone) -->
<receiver
android:name="com.morgan.design.android.broadcast.UserPresentReceiver"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="android.intent.action.USER_PRESENT" />
</intent-filter>
</receiver>
<!-- Sent application has completed the move to SD Card -->
<receiver
android:name="com.morgan.design.android.broadcast.ApplicationMovedToSDCardReciever"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
</intent-filter>
</receiver>
</application>
</manifest>