Hi,
I'm trying to pass over a string using Intent.PutExtra but nothing is
being received at the other end.
Code for sending is simple enough
res = "Hello, Vienna Calling"
Intent i = new Intent(this, typeof(receiving_function));
i.PutExtra("foo", res);
StartActivity(i);
In the receiving method
public class receiving_method
{
WebView web_view;
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
string res = Intent.GetStringExtra("foo");
Console.WriteLine("foo == {0}", foo);
// other code
}
}
To me, this should pass "Hello, Vienna Calling" to the receiving method
which then puts it to the Console - but what it gives me is nothing. Is
this a problem with me or 4.0.5beta2? I'm guessing me, but any advice
would be appreciated.
Paul
P.S. Is there a max size that can be passed this way and if there is, if
I want to pass something really big (say a generated web page from
inside of the app itself), is there a better way to do it?
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid