Reputation: 5830
i need to create a object Image from import javax.microedition.lcdui.Image; using a file .png placed in drawable folder. How can i do that?
Thanks
Upvotes: 1
Views: 3322
Reputation: 10444
Since this Android and not JavaME, you cannot create a javax.microedition.lcdui.Image. You would create a Bitmap instead. Here's a decent tutorial on working with images in Android.
Upvotes: 2