Unable to start activity on complete of bootload of the application
<p>The code to start the service at bootup..... I have even included the permissions in the manifest file as mentioned before...but the service doesn't start...i have to explicitly start as of now by startService(Intent..) commmand... Is there any mistake in what i have done??</p>

<pre><code>public class BootReceiver extends BroadcastReceiver{

@Override
public void onReceive(Context context, Intent arg1) {
    Intent serviceIntent = new Intent(BackgroundService.class.getName());
    context.startService(serviceIntent);
}
</code></pre>

<p>}</p>

<pre><code>    &lt;receiver android:name="BootReceiver"&gt;
      &lt;intent-filter&gt;
        &lt;action
          android:name="android.intent.action.BOOT_COMPLETED"&gt;
        &lt;/action&gt;
      &lt;/intent-filter&gt;
    &lt;/receiver&gt;
           &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
</code></pre>
