Camera2 AOSP effect filter in run time and panorama addition (sepia, negative etc)

im developing camera application using source from google, there is class called
Code:

CameraProxy
that trigger the camera to open preview, but i need to get the Parameters from that camera to set the color effect

the problem is, when i write
Code:

CameraProxy.getParameters()
, that return null, if i write
Code:

CameraProxy.getCamera().open()
first, i will get the camera and parameter, but the
Code:

CameraProxy.startPreview
wont work and the camera wont open

anyone ever develop the camera pure from AOSP that can help me with this additional feature? thanks in advance


from xda-developers http://ift.tt/1US6oan
via IFTTT