title: Porting AWT graphics code to Android
body: <p>We would like to use some of our existing Java AWT graphics code on the Android platform. As far as I can tell, Android does not include any of the AWT classes -- no <code>Graphics2D</code>, <code>Path2D</code>, <code>FontMetrics</code>, etc.</p>
  
  <p>What is the best approach to port our drawing code to Android? Ideally, we would like to modify our code base to target <em>both</em> Android and generic Java.  </p>