AndroidManifest.xml 9.29 KB
Newer Older
Toni Beier's avatar
Toni Beier committed
1 2 3 4 5 6 7 8 9 10
<?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 -->
    <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
11
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Toni Beier's avatar
Toni Beier committed
12 13 14 15 16
    <!--
    <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" />
17 18
    <uses-permission android:name="android.permission.FLASHLIGHT" />
    -->
Toni Beier's avatar
Toni Beier committed
19 20 21
    <!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" /> -->
    <!-- <uses-permission android:name="android.permission.CALL_PHONE" /> -->
    <!-- for camera api -->
22
    <!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -->
Toni Beier's avatar
Toni Beier committed
23 24 25 26 27

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

28 29 30 31 32
    <!--
    <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
33
    <application
34
        android:name=".core.ASiSTApplication"
Toni Beier's avatar
Toni Beier committed
35
        android:allowBackup="true"
36
        android:label="@string/app_name"
Toni Beier's avatar
Toni Beier committed
37 38 39
        android:largeHeap="true"
        android:logo="@android:color/transparent"
        android:theme="@style/ASiSTTheme">
40 41 42
        <receiver android:name=".core.manager.update.UpdateAlarmReceiver" />

        <service android:name=".core.receiver.FirebaseReceiver">
Toni Beier's avatar
Toni Beier committed
43
            <intent-filter>
44
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
Toni Beier's avatar
Toni Beier committed
45 46
            </intent-filter>
        </service>
47
        <service android:name=".core.manager.push.FirebaseIDService">
Toni Beier's avatar
Toni Beier committed
48
            <intent-filter>
49
                <action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
Toni Beier's avatar
Toni Beier committed
50 51
            </intent-filter>
        </service>
52

Toni Beier's avatar
Toni Beier committed
53
        <receiver
54
            android:name=".core.manager.update.DateReceiver"
Toni Beier's avatar
Toni Beier committed
55
            android:enabled="true"
56
            android:exported="false">
Toni Beier's avatar
Toni Beier committed
57 58 59 60
            <intent-filter>
                <action android:name="android.intent.action.DATE_CHANGED" />
            </intent-filter>
        </receiver>
61

Toni Beier's avatar
Toni Beier committed
62 63 64
        <uses-library android:name="com.google.android.maps" />

        <activity
65
            android:name=".module.start.AsistStartActivity"
Toni Beier's avatar
Toni Beier committed
66 67 68 69 70 71 72 73 74
            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
75 76 77 78 79
            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
80
        <activity
81 82
            android:name=".module.lostandfound.LostAndFoundActivity"
            android:label="@string/module_lostandfound_name" />
Toni Beier's avatar
Toni Beier committed
83
        <activity
84 85 86
            android:name=".module.canteen.CanteenActivity"
            android:label="@string/module_canteen_name" />
        <activity android:name=".module.feeds.SingleFeedActivity" />
Toni Beier's avatar
Toni Beier committed
87
        <activity
88 89
            android:name=".gui.detail.DetailsActivity"
            android:label="@string/title_activity_details" />
Toni Beier's avatar
Toni Beier committed
90
        <activity
91
            android:name=".module.canteen.MenuDetailsActivity"
Toni Beier's avatar
Toni Beier committed
92 93
            android:label="@string/title_activity_details" />
        <activity
94
            android:name=".module.library.LibraryAccountActivity"
Toni Beier's avatar
Toni Beier committed
95 96 97
            android:label="@string/module_library_home_nav_account"
            android:screenOrientation="portrait" />
        <activity
98
            android:name=".module.library.LibraryBarcodeActivity"
Toni Beier's avatar
Toni Beier committed
99 100 101
            android:label="@string/module_library_home_nav_scan"
            android:screenOrientation="portrait" />
        <activity
102
            android:name=".module.library.LibraryFavoritesActivity"
Toni Beier's avatar
Toni Beier committed
103 104 105
            android:label="@string/module_library_home_nav_fav"
            android:screenOrientation="portrait" />
        <activity
106
            android:name=".module.timetable.TimetableSelectioncodeAddActivity"
Toni Beier's avatar
Toni Beier committed
107 108
            android:label="@string/module_timetable_name" />
        <activity
109 110
            android:name=".module.timetable.TimetableDetailActivity"
            android:label="@string/module_timetable_name" />
Toni Beier's avatar
Toni Beier committed
111
        <activity
112
            android:name=".module.library.LibraryExtendedSearchActivity"
Toni Beier's avatar
Toni Beier committed
113 114
            android:label="@string/module_library_extended_search" />
        <activity
115
            android:name=".module.canteen.MenuDetailActivity"
Toni Beier's avatar
Toni Beier committed
116 117
            android:label="@string/title_activity_details"
            android:screenOrientation="portrait" />
118
        <activity android:name=".module.canteen.SingleCanteenActivity" />
Toni Beier's avatar
Toni Beier committed
119 120
        <activity android:name="asist.bps.de.mytuc.module.publictransportationsystem.SingleStationActivity" />
        <activity
121
            android:name=".gui.detail.DetailedTableActivity"
Toni Beier's avatar
Toni Beier committed
122 123 124
            android:label="@string/title_activity_details"
            android:screenOrientation="portrait" />
        <activity
125
            android:name=".module.poi.PoiActivity"
Toni Beier's avatar
Toni Beier committed
126 127 128
            android:label="@string/title_activity_details"
            android:screenOrientation="portrait" />
        <activity
129
            android:name=".module.lostandfound.LostFoundListActivity"
Toni Beier's avatar
Toni Beier committed
130 131 132
            android:label="Details"
            android:screenOrientation="portrait" />
        <activity
133
            android:name=".module.lostandfound.LostFoundDetailActivity"
Toni Beier's avatar
Toni Beier committed
134 135
            android:label="Details" />
        <activity
136
            android:name=".module.feedback.FeedbackActivity"
Toni Beier's avatar
Toni Beier committed
137 138 139
            android:label="Feedback"
            android:screenOrientation="portrait" />
        <activity
140
            android:name=".module.feedback.FeedbackQuestion"
Toni Beier's avatar
Toni Beier committed
141 142 143
            android:label="@string/module_feedback_question_title"
            android:screenOrientation="portrait" />
        <activity
144
            android:name=".module.feedback.FeedbackConfigActivity"
Toni Beier's avatar
Toni Beier committed
145 146 147 148 149 150 151 152 153 154 155
            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
156
            android:name=".module.telephonedirectory.TelephoneDirectoryDetailsActivity"
Toni Beier's avatar
Toni Beier committed
157 158
            android:label="@string/title_activity_telephone_directory_details" />
        <activity
159
            android:name=".module.lostandfound.LostFoundAddActivity"
Toni Beier's avatar
Toni Beier committed
160 161
            android:label="@string/module_lostfound_title" />
        <activity
162
            android:name=".module.library.details.LibraryDetailsActivity"
Toni Beier's avatar
Toni Beier committed
163 164
            android:label="@string/title_activity_details" />
        <activity
165
            android:name=".module.library.details.LibraryHoldingsActivity"
Toni Beier's avatar
Toni Beier committed
166 167
            android:label="@string/title_activity_details" />
        <activity
168
            android:name=".module.eportfolio.PortfolioCameraActivity"
Toni Beier's avatar
Toni Beier committed
169 170 171
            android:label="@string/portfolio_name"
            android:launchMode="singleTop" />
        <activity
172
            android:name=".module.survey.CreateSurveyActivity"
Toni Beier's avatar
Toni Beier committed
173 174
            android:label="@string/survey_name" />
        <activity
175
            android:name=".module.officehours.OfficeHoursDetailActivity"
Toni Beier's avatar
Toni Beier committed
176 177 178 179 180 181 182 183 184 185
            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" />
186 187
        <activity
            android:name=".module.survey.SurveyAnswerOptionsActivity"
Toni Beier's avatar
Toni Beier committed
188
            android:label="@string/title_activity_details" />
189 190
        <activity
            android:name=".module.survey.SurveyEditOptionsActivity"
Toni Beier's avatar
Toni Beier committed
191
            android:label="@string/survey_edit_button_title" />
192 193
        <activity
            android:name=".module.survey.SurveyEvaluationActivity"
Toni Beier's avatar
Toni Beier committed
194
            android:label="@string/title_activity_details" />
195 196
        <activity
            android:name=".module.survey.SurveyOverviewActivity"
Toni Beier's avatar
Toni Beier committed
197
            android:label="@string/survey_name" />
198 199 200 201 202 203
        <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
204 205 206
    </application>

</manifest>