Android Question I want to take a photo and save it in the database. Is there an example?

Alexander Stolte

Expert
Licensed User
Longtime User
It is not recommented to save images (blobs) in a database.

A better way:
save the name of the Image in the database or change the Name to a id, and take this Name or id to save the Image on the file System of the Server

If you want to get the Image, get the id or Name of the Image and download it from the Filesystem or from a other Server. Because if you safe the Image on the DB, then the file size of the DB is too big and the speed is slower.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top