Widget Configure error
<p>When i add <code>android:configure="com.alpha.beta.WidgetConfig"</code> to :</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:configure="com.alpha.beta.WidgetConfig"
android:initialLayout="@layout/widget"
android:minHeight="72dp"
android:minWidth="274dp"
android:updatePeriodMillis="1800000" &gt;

&lt;/appwidget-provider&gt;
</code></pre>

<p>after selecting from list of widgets it displays a <code>toast</code> saying that <code>Application is not installed on your device</code> </p>

<p>In manifest it is declared like:</p>

<pre><code>&lt;activity android:name="com.alpha.beta.WidgetConfig" &gt;
        &lt;action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /&gt;
&lt;/activity&gt;
</code></pre>

<p>In package com.alpha.beta :</p>

<p><code>WidgetConfig.java</code></p>

<p>and</p>

<pre><code>package com.alpha.beta;

---some imports---

public class WidgetConfig extends Activity implements View.OnClickListener {

EditText info;
AppWidgetManager awm;
Context c;
int awID;

public void onClick(View arg0) {
    // TODO Auto-generated method stub
    String e = info.getText().toString();

    RemoteViews v = new RemoteViews(c.getPackageName(), R.layout.widget);
    v.setTextViewText(R.id.tvCongigInput, e);

    awm.updateAppWidget(awID, v);

    Intent in = new Intent(c, Splash.class);
    PendingIntent pi = PendingIntent.getActivity(c, 0, in, 0);
    v.setOnClickPendingIntent(R.id.bWidgetOpen, pi);

  Intent result = new Intent();
    result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, awId);
    setResult(RESULT_OK, result);


    finish();

}

@Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.widgetconfig);
    Button b = (Button) findViewById(R.id.bWidgetConfig);
    b.setOnClickListener(this);
    info = (EditText) findViewById(R.id.etWidgetConfig);
    c = WidgetConfig.this;
    Intent i = getIntent();
    Bundle extras = i.getExtras();
    if (extras != null) {
        awID = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID,
                AppWidgetManager.INVALID_APPWIDGET_ID);

    } else {
        finish();
    }
    awm = AppWidgetManager.getInstance(c);
}

}
</code></pre>
