move params init into cameraopen because the preview restarts faster
api2:working picturecallback
api2: working jpeg image capture