This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 5852
    
    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.
 
Have you checked out Aspose?
 
subject: Help to insert/retreive image from database
 
It's not a secret anymore!