title: OnUpdate NEVER called - Android Widget
body: <p>I have been following various Widget Tutorials such as <a href="http://www.developer.com/ws/android/programming/Creating-a-Home-Screen-App-Widget-on-Android-3833306.htm">this one</a> and <a href="http://www.vogella.de/articles/AndroidWidgets/article.html">this one</a></p>
  
  <p>I have tried adapting their code to my purposes, and I have tried straight-up copy paste.
  It seems no matter what I do, my widget NEVER gets updated. When it is placed on the home screen the text stays as the Static Text it was created with.
  All I need this app to do is update 4 TextViews which will be contained in the layout.</p>
  
  <p>The code below is mostly copied from one of the tutorials. I've tried debugging the onUpdate method, however the break point never seems to be hit.</p>
  
  <p>Any help would be GREATLY appreciated.</p>
  
  <p>EDIT: I reverted to a much simpler version of this widget that I was trying earlier in my efforts and replaced the code below with the code for the simpler widget. I made the changes suggested by CommonsWare to my manifest. Unfortunately the problem remains.</p>
  
  <p>My main .java file looks like so:</p>
  
  <pre><code>public class NetStatWidget extends AppWidgetProvider 
  {
  
  public void onUpdate(Context context, AppWidgetManager manager, int[] appWidgetIds)
  {   
      ComponentName thisWidget = new ComponentName(context, NetStatWidget.class);
      int[] widgetId = manager.getAppWidgetIds(thisWidget);
  
      RemoteViews remoteView = new RemoteViews(context.getPackageName(), R.layout.appwidget);
      remoteView.setTextViewText(R.id.textView0, "Hello");
      manager.updateAppWidget(widgetId, remoteView);
  }
  
  }
  </code></pre>
  
  <p>My Manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="net.stat"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk android:minSdkVersion="10" /&gt;
  
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name" &gt;
  
  
              &lt;receiver android:name="NetStatWidget" &gt;
                  &lt;intent-filter&gt;
                      &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE" /&gt;
                  &lt;/intent-filter&gt;
                  &lt;meta-data 
                      android:name="android.appwidget.provider"
                      android:resource="@xml/providerinfo" /&gt;
              &lt;/receiver&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>And my Widget Provider Info:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;appwidget-provider 
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:initialLayout="@layout/main"
  android:minWidth="146dip"
      android:minHeight="72dip"
      android:updatePeriodMillis="10000"&gt;
  </code></pre>
  
  <p></p>