This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Android and the fly likes Help to insert/retreive image from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Help to insert/retreive image from database" Watch "Help to insert/retreive image from database" New topic
Author

Help to insert/retreive image from database

kunal chavande
Greenhorn

Joined: Aug 25, 2011
Posts: 2
here are my files. need help to insert/retreive image from database

main.xml




CommonClass.java



DatabaseMethods.java




DemomediaprojectActivity.java



Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5846
    
    7

Are you sure you want to store images in a database? Dealing with binary data in a database is always tricky. I suggest placing the images on the SD card.


JBoss In Action
kunal chavande
Greenhorn

Joined: Aug 25, 2011
Posts: 2
thanks peter for your suggestion but i have done with retrieving image from sd card. Now i have to work on insertion and retrieval image from database.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help to insert/retreive image from database