getPreviewFormat and setPreviewFormat on Android api level 7 -
getPreviewFormat and setPreviewFormat on Android api level 7 -
the methods of camera.parameters setpreviewformat() , getpreviewformat() take , homecoming int respectively. int should correspond 1 of specified imageformat class, class introduced api level 8, while 2 methods above there since api level 1. how know image format (rgb888? yuv? other?) of photographic camera preview when using api level 7?
here existing imageformats on android:
http://developer.android.com/reference/android/graphics/imageformat.html
but said, class available since api level 8.... parametres within of photographic camera class before api 7.
android-camera android
Comments
Post a Comment