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>

ISO 9001:2008 and 14001:2004 Company
A2/59, Safdarjung Enclave, New Delhi 110029, India
2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione


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.


Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi