I tried
public class MyWidget extends AppWidgetProvider {
private static int id=0;
public static class ActNext extends Activity{
public void onCreate(){
id=id+1;
}
}
public void onUpdate(Context context, AppWidgetManager
appWidgetManager, int[] appWidgetIds) {
...
c.moveToPosition(id);
....
}
I don't copy the rest of the code before, it is similar. when I try to
use my class ActNext with onClickPendingIntent, I launch the prog,
nothing happend when I click on the button.
Someone can help me?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en