nicolas2k / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
1 stars 0 forks source link

Use Camera without preview #363

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, the camera API requires presence of a valid SurfaceView and 
preview-oriented callbacks to do any recording (take picture, record video). 
Having to set up and maintain code that's unrelated to the core need - to take 
picture or record video - is both burdensome (the setup is quite fragile and 
poorly documented) and unnecessary (recording data should not require 
previewing it unless the user wants it).

I request to remove the dependency on previewing so that taking pictures (or 
recording videos) can be as simple as:

   Camera.open.takePicture(shutterCallback, postviewCallback, pictureCallback)

These are some of the problems I referenced above:
https://code.google.com/p/google-glass-api/issues/detail?id=351
https://code.google.com/p/google-glass-api/issues/detail?id=361
https://code.google.com/p/google-glass-api/issues/detail?id=360
https://code.google.com/p/google-glass-api/issues/detail?id=232

Original issue reported on code.google.com by eug...@wearableintelligence.com on 14 Jan 2014 at 11:44

GoogleCodeExporter commented 8 years ago

Original comment by ala...@google.com on 5 Feb 2014 at 4:56