In this post Peter Eastman has shared his experience of creating a customized type for his own application and shared from web/email client to his application. In his post, he explicitly mentioned that how the MIME type defined by him …
Monthly Archives: April 2013
How to write intent filter dealing with MIME type problem
As mentioned in previous post, the intent object may or may not contain MIME type in it. As Android will compare MIME type when matching intent and intent-filter, it will raise a problem when writing the intent-filter. This post answer …
A limitation in Intent-filter of Android Application
The android team chose an unfortunate way to implement pathPattern. You can take a look at how the pattern matching is implemented in the android.os.PatternMatch class:
We’re used to .* working like it does in a regular …
Some trick about intent-filter
1. Some broadcast receiver cannot be declared in intent-filter
See a related post here: http://stackoverflow.com/questions/1588061/android-how-to-receive-broadcast-intents-action-screen-on-off/1588267#1588267
Android does not seem to support manifest-registered receivers for cases where they really do not want to start up a new process. For example, you …