an Activity is the same as your midlet, you will make a View and
override onDraw instead of paint, and you call invalidate on the view
instead of repaint.  There are a few different ways to draw images
from pngs depending on what you want to do.  Look into the imageview
class or make your own view and draw your own bitmap.

On Jan 14, 8:06 pm, Mazi <[email protected]> wrote:
> Hi,
> i created a 2d game in java that runs as an applet, and i am now
> trying to translate this over to the android. As the android doesnt
> used paint() methods, i am thinking that i will have to import images
> of the game instead of drawing it, but i cannot find out how to do
> this. Anybody know how to add images to the folder and call them in
> the app? Also, how can i call a screen repaint() in the android?
> Thanks,
> A fairly new Developer
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to