AndroidManifest.xml 3.91 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2 3 4 5 6
<manifest package="com.google.android.stardroid"
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:installLocation="auto"
          android:vmSafeMode="false">

7 8 9 10 11 12 13
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <!-- For Google Analytics -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

14 15 16
    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false"/>
17 18 19 20
    <!--
         Sensor requirements.  Making required=false for now - we do want to support
         these users as best we can.
    -->
21 22 23 24 25 26 27 28 29 30
    <uses-feature
        android:name="android.hardware.sensor.accelerometer"
        android:required="false"/>
    <uses-feature
        android:name="android.hardware.sensor.compass"
        android:required="false"/>
    <uses-feature
        android:name="android.hardware.faketouch"
        android:required="false"/>
    <uses-feature
John Taylor's avatar
John Taylor committed
31
        android:name="android.hardware.faketouch.multitouch.distinct"
32 33 34 35 36 37 38
        android:required="false"/>
    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false"/>
    <uses-feature
        android:name="android.hardware.touchscreen.multitouch.distinct"
        android:required="false"/>
39

40 41 42 43 44 45
    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true"/>
46

47 48 49 50
    <application
        android:name=".StardroidApplication"
        android:icon="@drawable/skymap_logo"
        android:label="@string/app_name"
51
        android:theme="@style/AppTheme">
52 53 54 55 56 57 58 59 60
        <activity
            android:name=".activities.SplashScreenActivity"
            android:label="@string/app_name"
            android:screenOrientation="nosensor"
            android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
61
        </activity>
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
        <activity
            android:name=".activities.DynamicStarMapActivity"
            android:configChanges="keyboardHidden|orientation"
            android:label="@string/app_name"
            android:launchMode="singleTask"
            android:screenOrientation="nosensor"
            android:theme="@style/FullscreenTheme">
            <intent-filter>
                <action android:name="android.intent.action.SEARCH"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/searchable"/>
        </activity>
78
        <activity
79
            android:name=".activities.EditSettingsActivity"/>
80
        <activity
81
            android:name=".activities.ImageGalleryActivity"/>
82 83
        <activity
            android:name=".activities.ImageDisplayActivity"
84
            android:screenOrientation="portrait"/>
85 86 87 88
        <activity
            android:name=".activities.DiagnosticActivity"
            android:label="@string/title_activity_diagnostic">
        </activity>
89
        <!-- Provides search suggestions. -->
90 91 92
        <provider
            android:name=".search.SearchTermsProvider"
            android:authorities="com.google.android.stardroid.searchterms"
93
            android:exported="false"
94
            android:syncable="false"/>
95

96 97
        <activity android:name=".activities.CompassCalibrationActivity"
                  android:launchMode="singleTop">
98
        </activity>
99
    </application>
100

101
</manifest>