AndroidManifest.xml 3.76 KB
Newer Older
Christof Wolke's avatar
Christof Wolke committed
1
<?xml version="1.0" encoding="utf-8"?>
Christof Wolke's avatar
Christof Wolke committed
2 3
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="de.uni_oldenburg.bidl">
Christof Wolke's avatar
Christof Wolke committed
4

5
    <uses-permission android:name="android.permission.INTERNET" />
Christof Wolke's avatar
Christof Wolke committed
6
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
7 8
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Christof Wolke's avatar
Christof Wolke committed
9

Christof Wolke's avatar
Christof Wolke committed
10
    <application
11
        android:name=".AppClass"
Christof Wolke's avatar
Christof Wolke committed
12 13 14 15 16
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
17 18 19 20

        <!--
   Don't increase version on every single DB model change, use Rush_debug instead (see below).
   de.uni_oldenburg.bidl.AppClass also contains code to allow dropping the database
21
        -->
22 23 24 25 26
        <meta-data
            android:name="Rush_classes_package"
            android:value="de.uni_oldenburg.bidl.classes" />
        <meta-data
            android:name="Rush_db_version"
Christof Wolke's avatar
Christof Wolke committed
27
            android:value="1" />
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
        <meta-data
            android:name="Rush_db_name"
            android:value="bidl.db" />

        <!--
        Setting this to true will cause a migration to happen every launch,
        this is very handy during development although could cause data loss
        -->
        <meta-data
            android:name="Rush_debug"
            android:value="false" />
        <meta-data
            android:name="Rush_requires_table_annotation"
            android:value="false" />
        <meta-data
            android:name="Rush_log"
            android:value="false" />

46 47 48 49
        <activity
            android:name=".guest_view.LoginActivity"
            android:screenOrientation="sensorPortrait" />

50 51 52
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
        </intent-filter>
53 54 55

        <activity
            android:name=".guest_view.RegisterActivity"
56
            android:parentActivityName=".guest_view.LoginActivity"
57 58 59 60 61 62 63
            android:screenOrientation="sensorPortrait">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".guest_view.LoginActivity" />
        </activity>
        <activity
            android:name=".member_view.ForumActivity"
Christof Wolke's avatar
Christof Wolke committed
64
            android:screenOrientation="sensorPortrait" />
65 66
        <activity
            android:name=".member_view.FeedbackActivity"
Christof Wolke's avatar
Christof Wolke committed
67
            android:screenOrientation="sensorPortrait" />
Christof Wolke's avatar
Christof Wolke committed
68 69 70
        <activity
            android:name=".member_view.MaterialsActivity"
            android:screenOrientation="sensorPortrait" />
Christof Wolke's avatar
Christof Wolke committed
71 72 73 74 75
        <activity
            android:name=".home_view.MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar">
            <intent-filter>
Christof Wolke's avatar
Christof Wolke committed
76 77 78
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
Christof Wolke's avatar
Christof Wolke committed
79 80
            </intent-filter>
        </activity>
Christof Wolke's avatar
Christof Wolke committed
81 82 83 84 85
        <activity
            android:name=".member_view.SearchActivity"
            android:label="@string/title_activity_search"
            android:screenOrientation="sensorPortrait" />
        <activity
86
            android:name=".member_view.ProfileActivity"
Christof Wolke's avatar
Christof Wolke committed
87 88 89 90 91 92 93 94
            android:label="@string/title_activity_profil"
            android:screenOrientation="sensorPortrait" />
        <activity android:name=".member_view.ChangePasswordActivity" />
        <activity android:name=".guest_view.ResetPasswordActivity" />
        <activity
            android:name=".member_view.FavoriteActivity"
            android:label="@string/title_activity_favorite"
            android:theme="@style/AppTheme"></activity>
Christof Wolke's avatar
Christof Wolke committed
95 96 97
    </application>

</manifest>