Camera View Inheritance

Camera View Inheritance

<p>Can a camera view be inherited by a background app or service? If the device is NOT rooted are there are background permissions that can be used to obtain access to camera and translate live events into own canvas?</p>

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.


This should be possible. Main issue you probably have is that you need to specify SurfaceHolder for the camera preview. Without specifying this you can't take a picture. For a background survice you usually don't have a surfaceholder, but you can simply create one:

	SurfaceView tempSurfaceView = new SurfaceView(c);

	try {


	} catch (IOException e) {



Hope this answer your question.


Leave a Comment

Please sign in to add a comment. Not a member? Join today