Unit u_android_media_scanner

Description

This Delphi unit contains procedures for use on Android when you want to provide USB (MTP) access to files created by an application.

Overview

Functions and Procedures

procedure android_media_scanner_add_file(filename: string);
procedure android_media_scanner_add_folder(foldername: string);

Description

Functions and Procedures

procedure android_media_scanner_add_file(filename: string);

Add a file to the media files cache.

Call it after creating the file you want to share with USB connected device.

Parameters
filename
absolute path + name of the file to add
procedure android_media_scanner_add_folder(foldername: string);

Add a folder to the media files cache

Call it after creating the folder you want to share with USB connected device.

Parameters
foldername
absolute path + name of the folder to add
My libraries for Delphi (c) 1990-2026 Patrick PREMARTIN - Powered by PasDoc
Generated by PasDoc 1.0.2.