Simple Android Camera App - Rotation causes NullPointerException

前端 未结 1 1196
旧时难觅i
旧时难觅i 2021-01-07 08:10

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

1条回答
  •  滥情空心
    2021-01-07 08:53

    you have to change your manifest file

    in your manifest just replace below code

    
    

    with your code

    
    

    0 讨论(0)
提交回复
热议问题