Just started with MonoAndroid.  First post.  I have created and Activity that
listens for Intent.ActionSendMultiple.  When the message arrives the
Bundle.Extra does have the two URIs of the items I selected from the picture
gallery.  I can see the data in the debugger.  The type of the ExtraSteam is
JavaObject.  No matter what cast the result to its always null - except if i
get it as a string.  What is the type in the case of
Intent.ActionSendMultiple?

          if (this.Intent.Action == Intent.ActionSendMultiple)
            {
                if (this.Intent.HasExtra(Intent.ExtraStream))
                {                   
                    Bundle b = this.Intent.Extras;

                    if (!b.IsEmpty)
                    {
                        foreach(string str in list2)                        
                        {
                           object o = b.Get(str);
                        }
                    }

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Intent-ExtraStream-and-Intent-ActionSendMultiple-tp4949575p4949575.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