trkpt/app/src/main/AndroidManifest.xml

76 lines
3 KiB
XML
Raw Normal View History

2016-08-29 12:50:41 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2020-08-01 00:06:53 +00:00
package="org.y20k.trackbook">
2016-08-29 12:50:41 +00:00
2020-01-02 17:00:37 +00:00
<!-- USE GPS AND NETWORK - EXCLUDE NON-GPS DEVICES -->
2020-08-01 00:06:53 +00:00
<uses-feature
android:name="android.hardware.location.gps"
android:required="true" />
2020-01-02 17:00:37 +00:00
<uses-feature android:name="android.hardware.location.network" />
2018-02-21 10:47:09 +00:00
2016-08-29 12:50:41 +00:00
<!-- NORMAL PERMISSIONS, automatically granted -->
2018-03-15 11:11:04 +00:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2016-08-29 12:50:41 +00:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
2018-03-10 21:32:14 +00:00
<uses-permission android:name="android.permission.VIBRATE" />
2016-08-29 12:50:41 +00:00
<uses-permission android:name="android.permission.INTERNET" />
<!-- DANGEROUS PERMISSIONS, must request -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
2020-08-01 00:06:53 +00:00
android:name=".Trackbook"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
2020-01-02 17:00:37 +00:00
<!-- MAIN ACTIVITY -->
2020-01-02 17:00:37 +00:00
<activity android:name=".MainActivity">
2016-08-29 12:50:41 +00:00
<intent-filter>
2020-08-01 00:06:53 +00:00
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
2016-08-29 12:50:41 +00:00
</intent-filter>
</activity>
2017-11-28 21:02:45 +00:00
<!-- TRACKER SERVICE -->
2016-08-29 12:50:41 +00:00
<service
android:name=".TrackerService"
2020-08-01 00:06:53 +00:00
android:exported="false"
android:foregroundServiceType="location">
2016-08-29 12:50:41 +00:00
<intent-filter>
<action android:name="org.y20k.trackbook.action.START" />
<action android:name="org.y20k.trackbook.action.STOP" />
<action android:name="org.y20k.trackbook.action.DISMISS" />
2016-08-29 12:50:41 +00:00
</intent-filter>
</service>
<!-- TRACKING TOGGLE SERVICE SYSTEM QUICK SETTINGS -->
<service
android:name=".TrackingToggleTileService"
android:icon="@drawable/ic_notification_icon_small_24dp"
2020-08-01 00:06:53 +00:00
android:label="@string/quick_settings_tile_title_default"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
2020-01-02 17:00:37 +00:00
<!-- FILE PROVIDER GPX -->
<provider
2020-08-01 00:06:53 +00:00
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
2020-08-01 00:06:53 +00:00
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
2016-08-29 12:50:41 +00:00
</application>
2020-01-02 17:00:37 +00:00
</manifest>