At least on my system, RemovableMedia.Insert and Eject events happen when SD card is Mounted and Unmounted - not when card is inserted or removed. This seems odd, because I know when I mount and unmount from my code. I don’t know when card is inserted or removed. Does this seem like right expected behavior for these events? tia
Long story but yes this is normal. You need to detect the card using an io then use that to mount and then you get the event as exacted
Thanks Gus. Sorry if repeat question. But any code examples of detecting insert/eject with IO? tia!
Sorry this took long time. See auto mounting section in ebook: