-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroidManifest.xml
49 lines (40 loc) · 2.1 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pensieve.android"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<application
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@drawable/ic_launcher">
<!-- NOTE: This may need to be commented out when testing on an emulator or other non-Glass device (do we even need it on Glass? - packaged gdk.jar contains the library, right?). -->
<!-- <uses-library
android:name="com.google.android.glass"
android:required="true" /> -->
<activity
android:name="pensieve.android.SensorStreamActivity"
android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:screenOrientation="landscape" android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
<!-- NOTE: Glassware apps should only be launched by a voice trigger intent, so this intent-filter should be disabled for release versions. -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <!-- -->
</intent-filter>
<intent-filter>
<action android:name="com.google.android.glass.action.VOICE_TRIGGER" />
</intent-filter>
<meta-data
android:name="com.google.android.glass.VoiceTrigger"
android:resource="@xml/show_sensor_stream" />
</activity>
</application>
</manifest>