I am trying to setExtra(string, int) in an Intent which will be used
in startActvityForResult(). This works:

        Intent i = new Intent(this, ClassA.class);
        i.setAction(ACTION_CUTSOM);
        startActivityForResult(i, ACTIVITY_CUSTOM);

This doesn't:

        Intent i = new Intent(this, ClassA.class);
        i.putExtra(intStringName, intArg); // where the args are (String,
int)
        i.setAction(ACTION_CUTSOM);
        startActivityForResult(i, ACTIVITY_CUSTOM);

If I try to catch the putExtra with a try/catch block, it still fails.
Any reason why this doesn't work?
--~--~---------~--~----~------------~-------~--~----~
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