comparing android intent objects
问题 I have 2 android intent objects that can be persisted as URLs and then rehydrated back into intent objects. I'm wondering what is the most effective way to compare any 2 intent objects to ensure that they end up resolving to the same activity with the same parameters etc. Using intent.filterEquals does this, but it does not include the extras. Currently my code for the equals method looks like this: Intent a = Intent.parseUri(this.intentUrl, Intent.URI_INTENT_SCHEME); Intent b = Intent