What's the easiest way to pass a string from a Java Activity that doesn't
return to C#?

I am using a java activity in my MonoDroid app:

var spec = tabHost.NewTabSpec("Spec");
Intent intent = new Intent(this,
Java.Lang.Class.ForName("com.whatever.CoolActivity"));
spec.SetContent(intent);

tabHost.AddTab(spec);

Say the user clicks a button on com.whatever.CoolActivity class and when
they click one button, I want to set "Yes" on some object in the main
MonoDroid app. When they click another button, I want to set "No" on some
other object in the main MonoDroid app.

What's the easiest way to do this?

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Passing-state-from-Java-activity-to-monodroid-tp5118900p5118900.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to