]> piware.de Git - android-PittiHelloWorld.git/blobdiff - app/src/main/AndroidManifest.xml
Add button to take a photo
[android-PittiHelloWorld.git] / app / src / main / AndroidManifest.xml
index 99c7675cc86954d7a0a5eaab68fae0ed3a8be570..2407a605f7b07c4846cd4433200853aee1dd51e2 100644 (file)
@@ -2,6 +2,9 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.example.pittihelloworld">
 
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.example.pittihelloworld">
 
+    <uses-feature android:name="android.hardware.camera" android:required="true" />
+    <!-- <uses-permission android:name="android.permission.CAMERA" /> does not help -->
+
     <application
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"
     <application
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"