Determine that android package is preinstalled by vendor
<p>I wonder whether there is a way to know that my app is preinstalled by vendor (and not installed from Android Market). Application is also available in Android Market and can be updated from there.</p>

<p>One solution is to create a file in the local file system (we can build a special app version for vendor). But there is a case that application can be updated from the market before its first run, and file is not created.</p>

<p>So is there any other way? Probably, installation path?</p>

<p>Also it's interesting whether Android Market app checks this preinstalled app for updates  automatically like it's performed for Google Maps.</p>
