Title: Deleting files on an Android device Post by: Richard M. on October 23, 2024, 12:16:16 pm Our application uses ui.Interface.frontCall( "mobile", "takePhoto", [], [path] ) to enable a photo to be taken using the device camera. path is an 'opaque' location of the photo on the device which is available for use in the current iteration. An example of the path returned is 'content://media/external_primary/images/media/457?name=JPEG_GMA_20241022_170235.jpg&ext=jpg' I was hoping to use os.Path.delete() to remove the picture, but the path above looks like a URL and is invalid when used in os.Path.delete(). Any ideas on how to do this? Thanks Title: Re: Deleting files on an Android device Post by: Richard M. on October 28, 2024, 03:18:34 pm The path that seems to work is '/sdcard/Pictures' |