AndroidManifest.xml 9.39 KB
Newer Older
Toni Beier's avatar
Toni Beier committed
1 2 3 4 5 6 7
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="de.bps.asist"
    android:versionCode="1"
    android:versionName="1.0">

    <!-- This app has permission to register and receive message -->
Fabius's avatar
Fabius committed
8
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Toni Beier's avatar
Toni Beier committed
9 10 11
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Toni Beier's avatar
Toni Beier committed
12
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Toni Beier's avatar
Toni Beier committed
13 14 15 16 17
    <!--
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.CAMERA" />
18 19
    <uses-permission android:name="android.permission.FLASHLIGHT" />
    -->
Toni Beier's avatar
Toni Beier committed
20 21 22
    <!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" /> -->
    <!-- <uses-permission android:name="android.permission.CALL_PHONE" /> -->
    <!-- for camera api -->
23
    <!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -->
Toni Beier's avatar
Toni Beier committed
24 25 26 27 28

    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

29 30 31 32 33
    <!--
    <uses-feature android:name="android.hardware.camera" />
    <uses-feature android:name="android.hardware.camera.autofocus" />
    -->
    <!-- android:icon="@drawable/app_icon" icon disabledm set back here if needed: -->
Toni Beier's avatar
Toni Beier committed
34
    <application
35
        android:name=".core.ASiSTApplication"
Toni Beier's avatar
Toni Beier committed
36
        android:allowBackup="true"
37
        android:label="@string/app_name"
Toni Beier's avatar
Toni Beier committed
38 39 40
        android:largeHeap="true"
        android:logo="@android:color/transparent"
        android:theme="@style/ASiSTTheme">
41
        <receiver android:name=".core.manager.update.UpdateAlarmReceiver" />
42
        <uses-library android:name="org.apache.http.legacy" android:required="false" />
43
        <service android:name=".core.receiver.FirebaseReceiver">
Toni Beier's avatar
Toni Beier committed
44
            <intent-filter>
45
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
Toni Beier's avatar
Toni Beier committed
46 47
            </intent-filter>
        </service>
48
        <service android:name=".core.manager.push.FirebaseIDService">
Toni Beier's avatar
Toni Beier committed
49
            <intent-filter>
Toni Beier's avatar
Toni Beier committed
50
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
Toni Beier's avatar
Toni Beier committed
51 52
            </intent-filter>
        </service>
53

Toni Beier's avatar
Toni Beier committed
54
        <receiver
55
            android:name=".core.manager.update.DateReceiver"
Toni Beier's avatar
Toni Beier committed
56
            android:enabled="true"
57
            android:exported="false">
Toni Beier's avatar
Toni Beier committed
58 59 60 61 62
            <intent-filter>
                <action android:name="android.intent.action.DATE_CHANGED" />
            </intent-filter>
        </receiver>
        <activity
63
            android:name=".module.start.AsistStartActivity"
Toni Beier's avatar
Toni Beier committed
64 65 66 67 68 69 70 71 72
            android:configChanges="orientation|keyboardHidden|screenSize"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
73 74 75 76 77
            android:name=".module.olat.OlatActivity"
            android:label="@string/module_olat_name" />
        <activity
            android:name=".module.feeds.FeedActivity"
            android:label="@string/module_feeds_name" />
Toni Beier's avatar
Toni Beier committed
78
        <activity
79 80
            android:name=".module.lostandfound.LostAndFoundActivity"
            android:label="@string/module_lostandfound_name" />
Toni Beier's avatar
Toni Beier committed
81
        <activity
82 83 84
            android:name=".module.canteen.CanteenActivity"
            android:label="@string/module_canteen_name" />
        <activity android:name=".module.feeds.SingleFeedActivity" />
Toni Beier's avatar
Toni Beier committed
85
        <activity
86 87
            android:name=".gui.detail.DetailsActivity"
            android:label="@string/title_activity_details" />
Toni Beier's avatar
Toni Beier committed
88
        <activity
89
            android:name=".module.canteen.MenuDetailsActivity"
Toni Beier's avatar
Toni Beier committed
90 91
            android:label="@string/title_activity_details" />
        <activity
92
            android:name=".module.library.LibraryAccountActivity"
Toni Beier's avatar
Toni Beier committed
93 94 95
            android:label="@string/module_library_home_nav_account"
            android:screenOrientation="portrait" />
        <activity
96
            android:name=".module.library.LibraryBarcodeActivity"
Toni Beier's avatar
Toni Beier committed
97 98 99
            android:label="@string/module_library_home_nav_scan"
            android:screenOrientation="portrait" />
        <activity
100
            android:name=".module.library.LibraryFavoritesActivity"
Toni Beier's avatar
Toni Beier committed
101 102 103
            android:label="@string/module_library_home_nav_fav"
            android:screenOrientation="portrait" />
        <activity
104
            android:name=".module.timetable.TimetableSelectioncodeAddActivity"
Toni Beier's avatar
Toni Beier committed
105 106
            android:label="@string/module_timetable_name" />
        <activity
107 108
            android:name=".module.timetable.TimetableDetailActivity"
            android:label="@string/module_timetable_name" />
Toni Beier's avatar
Toni Beier committed
109
        <activity
110
            android:name=".module.library.LibraryExtendedSearchActivity"
Toni Beier's avatar
Toni Beier committed
111 112
            android:label="@string/module_library_extended_search" />
        <activity
113
            android:name=".module.canteen.MenuDetailActivity"
Toni Beier's avatar
Toni Beier committed
114 115
            android:label="@string/title_activity_details"
            android:screenOrientation="portrait" />
116
        <activity android:name=".module.canteen.SingleCanteenActivity" />
Toni Beier's avatar
Toni Beier committed
117 118
        <activity android:name="asist.bps.de.mytuc.module.publictransportationsystem.SingleStationActivity" />
        <activity
119
            android:name=".gui.detail.DetailedTableActivity"
Toni Beier's avatar
Toni Beier committed
120 121 122
            android:label="@string/title_activity_details"
            android:screenOrientation="portrait" />
        <activity
123
            android:name=".module.poi.PoiActivity"
Toni Beier's avatar
Toni Beier committed
124 125 126
            android:label="@string/title_activity_details"
            android:screenOrientation="portrait" />
        <activity
127
            android:name=".module.lostandfound.LostFoundListActivity"
Toni Beier's avatar
Toni Beier committed
128 129 130
            android:label="Details"
            android:screenOrientation="portrait" />
        <activity
131
            android:name=".module.lostandfound.LostFoundDetailActivity"
Toni Beier's avatar
Toni Beier committed
132 133
            android:label="Details" />
        <activity
134
            android:name=".module.feedback.FeedbackActivity"
Toni Beier's avatar
Toni Beier committed
135 136 137
            android:label="Feedback"
            android:screenOrientation="portrait" />
        <activity
138
            android:name=".module.feedback.FeedbackQuestion"
Toni Beier's avatar
Toni Beier committed
139 140 141
            android:label="@string/module_feedback_question_title"
            android:screenOrientation="portrait" />
        <activity
142
            android:name=".module.feedback.FeedbackConfigActivity"
Toni Beier's avatar
Toni Beier committed
143 144 145 146 147 148 149 150 151 152 153
            android:label="@string/module_feedback_config"
            android:screenOrientation="portrait" />

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="AIzaSyDTZSeTZNdLyH8-6XPMLhfKA2jWGZhbG4E" />

        <activity
154
            android:name=".module.telephonedirectory.TelephoneDirectoryDetailsActivity"
Toni Beier's avatar
Toni Beier committed
155 156
            android:label="@string/title_activity_telephone_directory_details" />
        <activity
157
            android:name=".module.lostandfound.LostFoundAddActivity"
Toni Beier's avatar
Toni Beier committed
158 159
            android:label="@string/module_lostfound_title" />
        <activity
160
            android:name=".module.library.details.LibraryDetailsActivity"
Toni Beier's avatar
Toni Beier committed
161 162
            android:label="@string/title_activity_details" />
        <activity
163
            android:name=".module.library.details.LibraryHoldingsActivity"
Toni Beier's avatar
Toni Beier committed
164 165
            android:label="@string/title_activity_details" />
        <activity
166
            android:name=".module.eportfolio.PortfolioCameraActivity"
Toni Beier's avatar
Toni Beier committed
167 168 169
            android:label="@string/portfolio_name"
            android:launchMode="singleTop" />
        <activity
170
            android:name=".module.survey.CreateSurveyActivity"
Toni Beier's avatar
Toni Beier committed
171 172
            android:label="@string/survey_name" />
        <activity
173
            android:name=".module.officehours.OfficeHoursDetailActivity"
Toni Beier's avatar
Toni Beier committed
174 175 176 177 178 179 180 181 182 183
            android:label="@string/title_activity_office_hours_detail" />
        <activity
            android:name=".module.occupancy.OccupancyDetailActivity"
            android:label="@string/title_activity_occupany_detail" />
        <activity
            android:name=".module.survey.SurveyAnswerFreeTextActivity"
            android:label="@string/title_activity_details" />
        <activity
            android:name=".module.survey.SurveyFreetextActivity"
            android:label="@string/survey_name" />
184 185
        <activity
            android:name=".module.survey.SurveyAnswerOptionsActivity"
Toni Beier's avatar
Toni Beier committed
186
            android:label="@string/title_activity_details" />
187 188
        <activity
            android:name=".module.survey.SurveyEditOptionsActivity"
Toni Beier's avatar
Toni Beier committed
189
            android:label="@string/survey_edit_button_title" />
190 191
        <activity
            android:name=".module.survey.SurveyEvaluationActivity"
Toni Beier's avatar
Toni Beier committed
192
            android:label="@string/title_activity_details" />
193 194
        <activity
            android:name=".module.survey.SurveyOverviewActivity"
Toni Beier's avatar
Toni Beier committed
195
            android:label="@string/survey_name" />
196 197 198 199 200 201
        <activity
            android:name=".gui.code.GenericAddActivity"
            android:label="@string/survey_name"
            android:theme="@style/GenericAddTheme" />
        <activity android:name=".module.canteen.CanteenSettingsActivity"
            android:theme="@style/SettingsTheme"></activity>
Toni Beier's avatar
Toni Beier committed
202 203 204
    </application>

</manifest>