I want to know how to get an array of pixels from the preview webcam (which I will run in a service). I've heard that the preview has to be displayed on a surface, but there will be no surface if I use a service.
I am very new to Android development, sorry for any misconceptions.
Thanks.