Justin Thanks for the reply. What i am trying to do is following: Based on code logic, i am trying to print on the screen " There are 4 flowers". However instead of using the word flowers, i want to put icon of flowers in its place. The icon is stored as a jpeg in my res/drawable folder. The number of flowers can vary from 1 to 4.
So do i first need to create 4 imageviews in my layout and then call each one out separately using setimageResourse ? On Jul 27, 3:26 am, Justin Anderson <[email protected]> wrote: > When you say "load an image" do you mean just display it somehow? If so, > then just create a new activity with an ImageView in it and call > setImageResource on the view. > > ---------------------------------------------------------------------- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------------------------------------------------------------------- > > On Mon, Jul 26, 2010 at 10:24 PM, ethan <[email protected]> wrote: > > Hi, > > I am trying to load an image from my res/drawable folder to my app by > > pushing a button on my application. > > > What is the easiest way to achieve this ? > > > Thanks > > > Ethan. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Beginners" group. > > > NEW! Try asking and tagging your question on Stack Overflow at > >http://stackoverflow.com/questions/tagged/android > > > To unsubscribe from this group, send email to > > [email protected]<android-beginners%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

