Should have googled this a little more. I was looking for ACTION_MEDIA_MOUNTED
.
http://developer.android.com/reference/android/content/Intent.html#ACTION_MEDIA_MOUNTED
سؤال
External storage can be dismounted from Android. Is it possible to get an API hook so some custom code can be called when new storage is made available?
المحلول
Should have googled this a little more. I was looking for ACTION_MEDIA_MOUNTED
.
http://developer.android.com/reference/android/content/Intent.html#ACTION_MEDIA_MOUNTED