Not to mention that:

1) Not every brioadcast intent is exposed in a manifest-declared intent
receiver
2) Not every intent is supposed to be public
3) There may be preconditions on the logic implementing an intent (e.g.
composing an email message is only meaningful if there are configured
accounts)

... and probably a hundred other reasons :)

-- K

2012/5/16 Kristopher Micinski <[email protected]>

> As other people have said, the problem with this idea -- which isn't a
> bad one -- is that the app doesn't contain enough information to help
> you determine what the intent *does*.  It is possible enough to find
> out the intent extras, you could also easily imagine providing such
> information statically, but there's a lot more to it than that.  The
> intents also have some semantics that says, what they *do*, and in
> what situations it's appropriate to use them.  This is a lot harder
> (basically impossible) to determine statically, and I think you'd need
> to have some sort of annotation to tell you what the intent was used
> for, written in some syntax, though I'm not sure what that is.
>
> Kris
>
> On Wed, May 16, 2012 at 8:56 AM, b0b <[email protected]> wrote:
> >
> >
> > On Wednesday, 16 May 2012 14:37:45 UTC+2, Kostya Vasilyev wrote:
> >>
> >>
> >>
> >>
> >> Don't know about "exhaustive", but couldn't you make a site for this
> since
> >> you're interested?
> >>
> >> The other half of this is, of course, trying to convince other
> developers
> >> to submit their intents.
> >>
> >>
> >
> > I have better things to do.
> > There's no need to submit anything. Ideally such a database could be
> built
> > by Google, mining all the app manifests in Google Play.
> > They could even mine the binary code in the APK to search what Intents
> are
> > emitted, to establish relationship between senders and receivers, and
> > a graph of unsuspected possibilities.
> >
> > --
> > 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
>
> --
> 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
>

-- 
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