aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply 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: 5536

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Help to insert/retreive image from database
 
Similar Threads
Trying to programatically position an image
[Resolved] Application crashes on starting second Activity
Multiple Checkboxes in ListView
telephonyManager.getCellLocation() gives null
nullpointer when i try to initiate onclicklistener