are java libraries allowed in android..?
<p>Hi all Stack Overflow members,</p>

<p>I have written native Java code to capture a screen shot of the desktop. It uses the following libraries; are these libraries allowed in Android? If not, what should I do to take screen shots in Android?</p>

<pre><code>javax.swing.*;
javax.imageio.*;
java.awt.*;
java.awt.event.*;
java.awt.image.*;
java.awt.AWTException;
java.awt.Robot;
java.awt.Rectangle;
java.awt.Toolkit;
java.awt.image.BufferedImage;
</code></pre>
