Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / weather / src / main / AndroidManifest.xml

AndroidManifest.xml88 lines · 3.6 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <uses-permission android:name="android.permission.INTERNET" />
5 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
7 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
8
9 <queries>
10 <package android:name="com.vayunmathur.clock" />
11 <package android:name="com.vayunmathur.calendar" />
12 <intent>
13 <action android:name="android.intent.action.SHOW_ALARMS" />
14 </intent>
15 <intent>
16 <action android:name="android.intent.action.MAIN" />
17 <category android:name="android.intent.category.APP_CALENDAR" />
18 </intent>
19 </queries>
20
21 <application
22 android:allowBackup="true"
23 android:backupAgent=".platform.AppBackupAgent"
24 android:dataExtractionRules="@xml/data_extraction_rules"
25 android:icon="@mipmap/ic_launcher"
26 android:label="@string/app_name"
27 android:roundIcon="@mipmap/ic_launcher"
28 android:supportsRtl="true"
29 android:theme="@style/Theme.Weather">
30 <meta-data
31 android:name="com.google.android.gms.car.application"
32 android:resource="@xml/automotive_app_desc" />
33 <activity
34 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
35 android:name=".MainActivity"
36 android:exported="true"
37 android:theme="@style/Theme.Weather">
38 <intent-filter>
39 <action android:name="android.intent.action.MAIN" />
40 <category android:name="android.intent.category.LAUNCHER" />
41 </intent-filter>
42 </activity>
43
44 <activity
45 android:name=".intents.GetWeatherIntent"
46 android:exported="true"
47 android:theme="@android:style/Theme.NoDisplay" />
48
49 <activity
50 android:name=".intents.GetWeatherByNameIntent"
51 android:exported="true"
52 android:theme="@android:style/Theme.NoDisplay" />
53
54 <service
55 android:name=".service.car.WeatherCarAppService"
56 android:exported="true">
57 <intent-filter>
58 <action android:name="androidx.car.app.CarAppService" />
59 <category android:name="androidx.car.app.category.WEATHER" />
60 </intent-filter>
61 </service>
62
63 <meta-data
64 android:name="androidx.car.app.minCarApiLevel"
65 android:value="1" />
66
67 <receiver
68 android:name=".widget.glance.WeatherGlanceWidgetReceiver"
69 android:exported="false">
70 <intent-filter>
71 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
72 </intent-filter>
73 <meta-data
74 android:name="android.appwidget.provider"
75 android:resource="@xml/weather_glance_widget_info" />
76 </receiver>
77 <receiver
78 android:name=".widget.glance.WeatherBlobGlanceWidgetReceiver"
79 android:exported="false">
80 <intent-filter>
81 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
82 </intent-filter>
83 <meta-data
84 android:name="android.appwidget.provider"
85 android:resource="@xml/weather_blob_widget_info" />
86 </receiver>
87 </application>
88</manifest>