How do you run code after an Android application has been installed?
<p>Does anyone know of a good way to have code run after their Android application has been installed?</p>

<p>Something like ACTION_PACKAGE_ADDED that would get delivered to the application that was just installed.</p>

<p>–</p>

<p>This is for a zero configuration scheme where the configuration for the device comes from a webservice.</p>

<p>These settings are used in BroadcastReceivers.</p>

<p>One approach is to fetch the settings the first time. Since this would be done BroadcastReceiver, and since it might take a moment to fetch the result, I'm reluctant to use this approach.</p>
