How to check if my application is set default or not in android?
<p>I want to check if my application is set as the default application for the Intents I'm handling inside my App. </p>

<p>As an example ff more than one application supports to open a specified file format. I need to make my application as a default application from my code. How it possible to make my application a default (from the code)? Can anyone help me? </p>

<p>At least I would like to check this on startup of my app and redirect the user to fill in some information if my App is not set as the default on the device. </p>
