Saving png image in database through android app
问题 I want to save image using my developed app into mobile what is the best way to it. I was trying to save via sqlite but is there any other options? 回答1: The recommended way is to store the image as a file not in the database and then store the path or enough of the path to uniquely identify the image in the database. To store an image you have to store it as a BLOB based upon a byte[] (byte array); However, using the Android SDK, there is a limitation that only images less than 2MB can be