Ok, just should've searched a little more before giving up! There is a thread from a year+ back on this that for some reason didn't show up in my earlier searches - I may have been too focussed on Droid at that time thinking this is a platform issue (my bad). In case it helps any one else, this Intent has a data component with a scheme of "file" at least for the SD card that I am interested in and that needs to be specified. I guess the APIDemos code should do this as well and save everyone some trouble...
Thanks! On Dec 1, 11:10 am, Prakash Iyer <thei...@gmail.com> wrote: > Hello, > > Wrote a simple activity that uses registerReceiver to register an internal > subclass of BroadcastReceiver with an IntentFilter than has > ACTION_MEDIA_EJECT as it's action. I have not set any thing else > (data/category) or requested permissions in my manifest. I used the APIDemos > from the sample code (External Storage) as my guide along with the > documentation. Now when I install this app on a Droid or DroidX I do not get > that event even though I can see other receivers, e.g. something called Vold > on Droid or PhotoWidget on Droid X get those events. As a consolation, even > the APIDemos when installed on the phone doesn't get those events:) > > What am I doing wrong? > > Best! > > -Prakash -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en