File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 5827
    
    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