Hi everyone.
I am just making some AppWidget and I want to pass some Strings
through UpdateView to an Activity. But the Bundle is null.

I try this:
-Widget.java
                      Intent defineIntent = new Intent(context,
Visor.class);
                       defineIntent.putExtra
("org.rss.androides.post2","artist");
                       PendingIntent pendingIntent =
PendingIntent.getActivity(context, 0, defineIntent, 0);
                       updateViews.setOnClickPendingIntent
(R.id.widget, pendingIntent);
-Viewer.java
          Bundle b = intent.getExtras();
                if (b == null) {
                    finish();
                    return;
                }

b is always null.
Can you help me? I can use a DB but I only need 4 strings... its a
little expensive make a DB for a few strings.
Thanks in Advance

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to