I'm working on a little 2D game just for fun and was wondering if I could make it run on android as well. I'm using a java.awt.Canvas with a BufferStrategy and drawing sprites with the Graphics2D class methods.
I'm new to android, just finished some of the tutorials on the android page and already noticed there's no AWT in android.
My Canvas is in the contentPane of a JFrame and what I need to know is: What's the equivalent android class to awt.Canvas Does it provide the same methods as awt.Canvas or do I have to edit my entire code regarding rendering. Do I need to create a similar container like the JFrame to put my Canvas in ?
Thanks in advance