• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Placing SD-Card Image into LinearLayout ImageView

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I have an application which is some kind of MiniPaint which means I can draw images and save them to my sd-card. Now I would like to add some text options, using an XML Linear Layout. My idea is switching to an Activity with a XML view in wich I pretend to have an editText and a TextView (this will be enough to save my text) now want I want to know: How to combine my XML and just created Drawing? I'm thinking about placing an ImageView with my drawing in it which will take about 1/3 or 1/2 of the screen. But I have no idea how to load an Image from sd-card to my imageView. is it possible?


Btw I made this question on stackOverflow here: Same question StackOverflow

and a guy referenced this topic: Possible Answer CodeRanch

Nevertheless I wasnt able to get it to work, my program does run and I get no compilation errors, but when I call the activity I get a Run Time Error (I could post the log cat errors if it helps?)


Any help will be appreciated, thanks in advance.
 
Jesus Rodriguez
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its a lot easier than I thought... Here it is in case someone needs it:

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic