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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -