Android: Take picture and save picture on SD Card
问题 I want to take a picture with my phone via an application and save the image on my phone. I've tried many of the solutions proposed on the stackoverflow questions but it did not mark so I built a method that saves the file with the right name ... but the file is empty (0kb)! Here is my code public class GameActivity extends Activity implements SurfaceHolder.Callback/*,Camera.PictureCallback*/ { private Camera camera; private SurfaceView surfaceCamera; public Handler handler = new Handler();