问题
I am interested in activating another application's activity. I know from reading the Android SDK that it's probably better to do this with an implicit intent. However, this activity doesn't reside in an application I own, so I don't know the action and category and data flags on the intent-filter.
How can I examine an Android applications metadata like the activity classes and the intent-filters for those activities (if declared in the manifest)?
Thanks!
回答1:
I would try this.
- Check on openintents
- Contact the developer.
- Use android-apktool too see the app's manifest.
It might be illegal to use android-apktool. Use it under your own risk.
回答2:
There is one more solution: you could run this app and look into logcat. All intents are logged, so you could see what is called up. You won't see extra data though.
来源:https://stackoverflow.com/questions/3011454/listing-an-applications-activity-and-intent-filters