Skip to content

Instantly share code, notes, and snippets.

@likholat
Last active December 1, 2020 18:59
Show Gist options
  • Save likholat/731db75dc4e16b2d0d39c4e10cdbb7e1 to your computer and use it in GitHub Desktop.
Save likholat/731db75dc4e16b2d0d39c4e10cdbb7e1 to your computer and use it in GitHub Desktop.
/app/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.aslrecognitionapp">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AslRecognitionApp">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<!--Allow to use a camera-->
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
<uses-feature android:name="android.hardware.camera.front.autofocus" android:required="false"/>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment