<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Camera-View-Inheritance/m-p/987854#M27588</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This should be possible. Main issue you probably have is&amp;nbsp;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:&lt;/P&gt;

&lt;P&gt;[java]&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;SurfaceView tempSurfaceView = new SurfaceView(c);&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;try {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; mCamera.setPreviewDisplay(&lt;/SPAN&gt;tempSurfaceView&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;.getHolder());&lt;BR /&gt;
	} catch (IOException e) {&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;[/java]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Hope this answer your question.&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2013 15:00:20 GMT</pubDate>
    <dc:creator>Alexander_W_Intel</dc:creator>
    <dc:date>2013-11-21T15:00:20Z</dc:date>
    <item>
      <title>Camera View Inheritance</title>
      <link>https://community.intel.com/t5/Software-Archive/Camera-View-Inheritance/m-p/987853#M27587</link>
      <description>&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:14:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Camera-View-Inheritance/m-p/987853#M27587</guid>
      <dc:creator>Aglaya</dc:creator>
      <dc:date>2013-11-21T13:14:17Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Camera-View-Inheritance/m-p/987854#M27588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This should be possible. Main issue you probably have is&amp;nbsp;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:&lt;/P&gt;

&lt;P&gt;[java]&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;SurfaceView tempSurfaceView = new SurfaceView(c);&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;try {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; mCamera.setPreviewDisplay(&lt;/SPAN&gt;tempSurfaceView&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;.getHolder());&lt;BR /&gt;
	} catch (IOException e) {&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;[/java]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Hope this answer your question.&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:00:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Camera-View-Inheritance/m-p/987854#M27588</guid>
      <dc:creator>Alexander_W_Intel</dc:creator>
      <dc:date>2013-11-21T15:00:20Z</dc:date>
    </item>
  </channel>
</rss>

