Service not being launched in onReceive AppWidgetProvider
<p>Here is my onReceive inside of my AppWidgetProvider for my widget.</p>

<pre><code>@Override
public void onReceive(Context context, Intent intent){
    AppWidgetManager.getInstance(context);
    super.onReceive(context, intent);
    Log.e("stackWidgetProvider", "Inside onReceive!");

    intent = new Intent(context, widget_release_service.class);
    context.startService(intent);


}
</code></pre>

<p>The only problem is that the service is never launched. </p>

<p>Here is it declared in the manifest..</p>

<pre><code> &lt;service android:name=".widget_release_service"
      android:enabled="true"
       /&gt;
</code></pre>

<p>Why isnt the service being launched?</p>

<p>EDIT:</p>

<pre><code>@Override
</code></pre>

<p>public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds){</p>

<pre><code>    super.onUpdate(context, appWidgetManager, appWidgetIds);
    Log.e("StackWidgetProvider", "Inside onUpdate");
    Intent intent = new Intent(context, widget_release_service.class);
    context.startService(intent);
</code></pre>
