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 Schrauger Nov 24 '14 at 17:30
  • I'll take care next time. – Majid Ali Khan Nov 25 '14 at 17:29

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.

| improve this answer | |
  • 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 '14 at 17:29
  • i don't want to do it with the help of an application . isn't there any other solution – Majid Ali Khan Nov 25 '14 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 '14 at 19:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.