How to get photos from sd to gallery? Pls help me!!

Discussion in 'Android Tablet Q&A' started by sanne, Mar 1, 2011.

  1. sanne

    sanne Member

    Joined:
    Mar 1, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    60
    Location:
    holland
    Tablet / Device:
    wowpad
    Hey all!!
    I just bought a wowpad, everything is working properly except when i want to get photos on it. When i put photos on my sd and put the sd in my tablet i can just find them in the wowfilemanager and they dont show in my gallery (where i want them) Can anybody help me? this is driving me crazy! :) I dont know alot about these things and i would appreciate any help!
     
  2. justinepeter

    justinepeter Member

    Joined:
    Feb 28, 2011
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    70
    Tablet / Device:
    Android
    Do this to launch the gallery and allow the user to pick an image:
    Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
    intent.setType("image/*");
    startActivityForResult(intent, IMAGE_PICK);
    Then in your onActivityResult() use the URI of the image that is returned to set the image on your ImageView.
     

Share This Page