1.save the problem of release camera instance by surfaceDestoryed 2.it must remenber to add the camerapreview to the preview again onResume() bcs the previous camera instance is deleted 3.the nested class is not always notified as static just some situation like the nested function is called without caring about whether the outer menber is creating or not 4. the advantage of using nested class is that can using outer class menber
using getOptimalSize to make the preview fit the screen but has no button problem
1.Add the touch screen to take a picture feature
2.Setting the initial UI component with transparet background
3.Change the FrameLayout to relativeLayout bcs the relativeLayout is
more powerful and it can let the button overlay on preview
4.some of useful free icon website is list as following:
(1)http://developer.android.com/design/style/iconography.html#templatespack
(2)https://www.iconfinder.com/icons/67495/camera_shutter_icon
1.Add auto focus but don't complete....just some test is ok
2.Add utility folder