I'm trying to register a broadcast listener for ACTION_MEDIA_EJECT. I
tried:

        IntentFilter filter = new IntentFilter();
        filter.addAction( Intent.ACTION_MEDIA_EJECT);
        context.registerReceiver( myCardListener, filter);

but the onReceive of the listener does not get called when I eject the
SD card. Most likely I'm missing the scheme or some other intent
filter data.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to