I want to maintain a log of when the SD card is ejected or mounted in my Android device. How can I do this?

  • Please don't Capitalize Every Word in your question.
    – Stephen S
    Nov 24, 2014 at 17:30
  • I'll take care next time. Nov 25, 2014 at 17:29

1 Answer 1


That could e.g. be done using :

  • Condition: Event → Hardware → Card Mounted
    (resp. "Card Removed" / "Card Unmounted")
  • Task: File → Write File
    (specify file name, text, check "append")

You will need a separate profile for each action (mount/eject) with the respective condition, but of course you can write to the same file (or use a separate one if you prefer).

For details on Tasker, please check with our tasker tag-wiki.

  • Anytime! If it solves your issue, please don't forget to mark it such (using the check-mark next to the answer). Makes it easier for others to identify "solved issues" ;)
    – Izzy
    Nov 25, 2014 at 17:29
  • i don't want to do it with the help of an application . isn't there any other solution Nov 25, 2014 at 18:15
  • I'm afraid it's not possible without an application. Though there might be other apps to do it.
    – Izzy
    Nov 25, 2014 at 19:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .