Sunday, January 13, 2013

Re: [android-developers] How to specify an IntentFilter that only activates when the Intent comes from within my own app?

On Sun, Jan 13, 2013 at 4:26 PM, William Ferguson
<william.ferguson@xandar.com.au> wrote:
> Thanks Mark. I have commented on that issue. FWIW I think Dianne is wrong on
> that one. A non-exported Activity with an intent filter is not poor coding,
> it's use case that wasn't considered by the original Intent#createChooser
> implementation.

Maybe not, but then again, you don't write the Android framework :-)...

I agree that a non exported Activity with an intent filter isn't
necessarily poor coding. Instead, I'd always replace it with an
explicit intent to my own Activity, making it something I'd just never
use (and using an explicit intent just makes more sense to me
still)... But you're free to disagree, and I agree the small 'bug'
makes things somewhat annoying.

kris

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate