summaryrefslogtreecommitdiff
path: root/tflite/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tflite/src/main/AndroidManifest.xml')
-rw-r--r--tflite/src/main/AndroidManifest.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/tflite/src/main/AndroidManifest.xml b/tflite/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..d38c505
--- /dev/null
+++ b/tflite/src/main/AndroidManifest.xml
@@ -0,0 +1,51 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright 2020 Google LLC
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ https://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:tools="http://schemas.android.com/tools">
19
20 <!-- Declare features -->
21 <uses-feature android:name="android.hardware.camera" />
22
23 <!-- Declare permissions -->
24 <uses-permission android:name="android.permission.CAMERA" />
25 <uses-permission android:name="android.permission.INTERNET" />
26
27 <application
28 android:allowBackup="true"
29 android:icon="@mipmap/ic_launcher"
30 android:label="@string/app_name"
31 android:roundIcon="@mipmap/ic_launcher_round"
32 android:supportsRtl="true"
33 android:theme="@style/AppTheme"
34 android:screenOrientation="landscape"
35
36 tools:ignore="AllowBackup,GoogleAppIndexingWarning">
37
38 <activity
39 android:name="com.example.android.camerax.tflite.CameraActivity"
40 android:rotationAnimation="seamless"
41 android:screenOrientation="landscape"
42 tools:targetApi="O">
43 <intent-filter>
44 <action android:name="android.intent.action.MAIN"/>
45 <category android:name="android.intent.category.LAUNCHER"/>
46 </intent-filter>
47 </activity>
48
49 </application>
50
51</manifest>