Screen capture in android
<p>I have successfully captured the screen with following code.</p>

<pre><code>View v1 = relativeView.getRootView();
v1.setDrawingCacheEnabled(true);
Bitmap bm = v1.getDrawingCache();
</code></pre>

<p>But with this code whole screen is capturing. I want to capture only the components of a particular layout or area. Is this possible in android? Please some body help.</p>

<p>Thanks &amp; Regards</p>
