My b4A app manipulates data that exists solely in the "sdcard" folder. I have a functioning Windows program that takes this data and synchronizes it with desktop data. After sync is over and I disconnect the USB, I'd like my b4A app to immediately know that a sync has occurred and trigger Activity.Finish or Activity_Create so that it makes use of the new data.
Is there an easy way to "interrupt" or notify (or close) my b4A app with the sd card unmount/mount event? I could write status info to a file, but then I would have to constantly check it in my b4A app ... there must be an easy interrupt-driven way to do this. Any suggestions?
Is there an easy way to "interrupt" or notify (or close) my b4A app with the sd card unmount/mount event? I could write status info to a file, but then I would have to constantly check it in my b4A app ... there must be an easy interrupt-driven way to do this. Any suggestions?