I hope this isn't a duplicate question but I am making an app that I want a button to open the camera app (the default android camera separately). How do I got about doing that? I know there is a function:
intent.setAction(MediaStore.ACTION_IMAGE_CAPTURE)
Do I need to use that? And how do I call the button from the xml file?
Also do I need to worry about storing that picture or video or will the default camera app take care of that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…