I\'m new to Android development and was playing around with the camera. I just wanted to create a simple app that would take a photo using the native camera app and give me
you have to change your manifest file
in your manifest just replace below code
<activity android:name=".CameraTestActivity"
android:label="@string/app_name" android:configChanges="keyboardHidden|orientation">
with your code
<activity android:name=".CameraTestActivity"
android:label="@string/app_name">