<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.appttude.h_mal.atlas_weather">

    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SET_ALARM" />

    <uses-feature
        android:name="android.hardware.location"
        android:required="true" />
    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="true" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name="com.appttude.h_mal.atlas_weather.MainActivity"
            android:label="@string/app_name"
            android:launchMode="singleTop"
            android:theme="@style/AppTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <receiver android:name="com.appttude.h_mal.atlas_weather.NotificationReceiver"
            android:parentActivityName="com.appttude.h_mal.atlas_weather.MainActivity"/>

        <activity android:name="com.appttude.h_mal.atlas_weather.FurtherInfoActivity"
            android:parentActivityName="com.appttude.h_mal.atlas_weather.MainActivity"/>
        <activity
            android:name="com.appttude.h_mal.atlas_weather.AddForecast"
            android:parentActivityName="com.appttude.h_mal.atlas_weather.MainActivity" />
        <activity android:name="com.appttude.h_mal.atlas_weather.UnitSettings"
            android:parentActivityName="com.appttude.h_mal.atlas_weather.MainActivity"/>

        <provider
            android:name="com.appttude.h_mal.atlas_weather.dbfiles.ForecastProvider"
            android:authorities="com.appttude.h_mal.atlas_weather"
            android:exported="false" />

        <receiver android:name="com.appttude.h_mal.atlas_weather.AppWidget.NewAppWidget">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
                <action android:name="android.appwidget.action.APPWIDGET_ENABLED" />
                <action android:name="com.example.h_mal.weather_app.app.ACTION_DATA_UPDATED" />
            </intent-filter>

            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/new_app_widget_info" />
        </receiver>

        <activity android:name="com.appttude.h_mal.atlas_weather.WorldItemActivity"
            android:parentActivityName="com.appttude.h_mal.atlas_weather.MainActivity">

        </activity>

        <service
            android:name="com.appttude.h_mal.atlas_weather.AppWidget.WidgetRemoteViewsService"
            android:permission="android.permission.BIND_REMOTEVIEWS"></service>

        <activity android:name="com.appttude.h_mal.atlas_weather.InfoActivity"
            android:parentActivityName="com.appttude.h_mal.atlas_weather.MainActivity">

        </activity>
    </application>

</manifest>