Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help to insert/retreive image from database

 
kunal chavande
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here are my files. need help to insert/retreive image from database

main.xml




CommonClass.java



DatabaseMethods.java




DemomediaprojectActivity.java



 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kunal chavande
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!