This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez 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 Soft Skills this week in the Jobs Discussion 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: 5845
    
    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.
 
jQuery in Action, 2nd edition
 
subject: Help to insert/retreive image from database