Bitmap lightbitmap;
lightbitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.light);
where the bitmap in drawable is light.png
Mike
On Wed, Sep 8, 2010 at 4:30 PM, dashman <erjdriver@gmail.com> wrote:
beginner question...
in eclipse, how do i import an image from my computer
into the project.
the template generator created 3 separate drawable
folders - i assume for different resolutions.
any links for help on these...e.g. guidelines etc.
thx
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment