-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
144 lines (126 loc) · 7.04 KB
/
Copy pathAndroidManifest.xml
File metadata and controls
144 lines (126 loc) · 7.04 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="wb.receiptspro"
android:versionCode="95"
android:versionName="3.1.2">
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<application
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Theme.SmartReceipts"
android:allowBackup="true"
android:name=".SmartReceiptsProApplication"
android:hardwareAccelerated="true"
android:largeHeap="true" >
<activity android:name=".SmartReceiptsProActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden|screenSize" >
<!-- Main Launcher filter -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- Filter to handle action send activities -->
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
<!-- ****Do not nest these filters!! They will not work if so. *** -->
<!-- Filter to open file with gmail version 4.2 -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/smr" android:pathPattern=".*\\.smr" android:host="*" />
</intent-filter>
<!-- This seems to be the "key" one for SMRs. Need to define a 'scheme' here so it doesn't grab everything...
content and file do not work as schemes -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/octet-stream" android:pathPattern=".*\\.smr" android:host="*" />
</intent-filter>
<!-- Filter to open with file browser -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="*/*" android:pathPattern=".*\\.smr" android:host="*" />
</intent-filter>
<!-- Filter to open with file browser (when filename contains period) -->
<!-- http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i/8599921#8599921 -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="*/*" android:pathPattern=".*\\..*\\.smr" android:host="*" />
</intent-filter>
<!-- Filter to open with file browser (when filename contains two periods) -->
<!-- http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i/8599921#8599921 -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\.smr" android:host="*" />
</intent-filter>
<!-- PDF Filters are all listed below -->
<!-- http://stackoverflow.com/questions/3760276/android-intent-filter-associate-app-with-file-extension -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/pdf" android:pathPattern=".*\\.pdf" android:host="*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="*/*" android:pathPattern=".*\\.pdf" android:host="*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="*/*" android:pathPattern=".*\\..*\\.pdf" android:host="*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\.pdf" android:host="*" />
</intent-filter>
</activity>
<activity
android:name="co.smartreceipts.android.activities.ReceiptImageActivity"
android:configChanges="orientation|keyboardHidden|screenSize" >
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="co.smartreceipts.android.activities.ReceiptsActivity" />
</activity>
<!--
<activity
android:name="co.smartreceipts.android.activities.SettingsActivity"
android:configChanges="orientation|keyboardHidden|screenSize" >
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".SmartReceiptsProActivity" />
</activity>
<activity
android:name="co.smartreceipts.android.activities.SettingsDetailsActivity"
android:configChanges="orientation|keyboardHidden|screenSize" >
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="co.smartreceipts.android.activities.SettingsDetailsActivity" />
</activity>
-->
<activity
android:name="co.smartreceipts.android.activities.ReceiptPDFActivity"
android:configChanges="orientation|keyboardHidden|screenSize" >
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="co.smartreceipts.android.activities.ReceiptsActivity" />
</activity>
<activity android:name="co.smartreceipts.android.legacycamera.MyCameraActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden"
android:screenOrientation="portrait">
</activity>
<activity android:name="wb.android.google.camera.CameraActivity"
android:taskAffinity="wb.android.google.camera.CameraActivity"
android:theme="@style/Theme.Camera"
android:configChanges="orientation|screenSize|keyboardHidden"
android:clearTaskOnLaunch="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
</activity>
</application>
</manifest>