I have some images that want to insert them to sqlite database,but save images in form of BLOB in sqlite database not suitable, thus I want to save image's address in sqlite datbase.If there is a tutorial or sample code that help me ?
You can take the absolute path to the image and store it as a string into an adequate field in a table designed to hold image data (amongst which is the path).
I agree. That is also an option. You must keep in mind that by doing this you will be using up more space on the SDcard or Device internal memory because base64 expands the data stream of the image by 33%.
So, if your image is 1MB, in base64 it will take up 1.33MB.
And also, keep in mind that some devices might have a file size limitation, so storing galleries and albums of images will create a very large sqlite storage file that might reach this limit, although this is highly unlikely (unless there is a software defined limit). The file system will certainly have no practically reachable limits for mobile devices.