• 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.
 
I am mighty! And this is a mighty small ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!