Fairly certain you'll have to include the permissions declaration.
The other parts would require some hackery, I suppose.

On Jan 15, 4:15 am, b_t <bartata...@gmail.com> wrote:
> Hi,
>
> is there any way to get camera properties without open it?
> I want to display camera properties but don't want to take a picture.
> I have to open camera, get properties, then release it:
>
>         Camera camera = Camera.open();
>
>         if (camera != null) {
>                 parameters = camera.getParameters();
>                 camera.release();
>         }
>
> And it needs android.permission.CAMERA permission. :(
>
> Is there any solution?
> Tamás

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to