How to load in Tbitmap a file that don’t have any extension?


Under android, when we select an image from the gallery, we don’t receive a filename with extension but an uri instead and we must use contentprovider to copy the file in one of our local directory.

Now as the file don’t have any extension, how to load it in a Tbitmap object ? I try but i receive an error: can not load the image.

Comments are closed.