Android onPreviewFrame is not called

view story

http://stackoverflow.com – I have a problem with camera. I want to get picture in onPreviewFrame but it's never called. I opened a camera, set preview Display and preview Callback but nothing. I just want to understand where I was wrong. public class VideoCall extends Activity implements View.OnClickListener, Callback, PreviewCallback { TabHost thVideoChat; Button btnVideoUp, btnVideoDown; Handler uiHandler; SurfaceView videoPrev; SurfaceHolder surfaceHolder; Camera camera; Timer timer; boolean getPic; @Override protected void onCreate(Bundle savedInstanceState) { (HowTos)