سؤال

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top