_Display_name images changed in external db to com.android.provider.media/external.db

I use MediaStore.Images.Media.EXTERNAL_CONTENT_URI (External DB :: data / data / com.android.provider.media / external.db) in my application to save images with my own _display_name, for example: image_101. jpg, but after a while the display name will change to long no. like 1327392947034.jpg. and the next time I get the image with my _display_name (image_101.jpg), it did not find anything in the external db. can someone tell me why this is happening?

thank

+5
source share
1 answer

, , MediaScanner MediaStore.. , System.currentTimeMillis(); ( ). , ( ).

. "my_display_name", MediaStore, "" (, "data2" )? DISPLAY_NAME (android.provider.MediaStore.MediaColumns)? DESCRIPTION.

db Media.

? SQL- :

insertImage(ContentResolver cr, String imgPath, String name, String desc)

MediaStore.Images.Media?

, , , - .

0

All Articles