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>

Aglaya ISO 9001:2008 and 14001:2004 Company A2/59, Safdarjung Enclave, New Delhi 110029, India
2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.


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.


Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!