So in debugging, this is what i see when i quick watch the message value
after executing object message = bundle.Get("pdus");
- Class {class [Ljava.lang.Object;} Java.Lang.Class
+ base {Java.Lang.Object} Java.Lang.Object
CanonicalName "java.lang.Object[]" string
+ ClassLoader {java.lang.BootClassLoader@4001bde0}
Java.Lang.ClassLoaderInvoker
+ ComponentType {class java.lang.Object} Java.Lang.Class
+ DeclaringClass (null) object
+ EnclosingClass (null) object
So i can see that the CannonicalName is java.lang.Object[]... Why doesn't
this code work then:
Java.Lang.Object[] messages = (Java.Lang.Object[])bundle.Get("pdus");
I get an error "Cannot convert type 'Java.Lang.Object' to
'Java.Lang.Object[]'
Thanks for the help!
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/SMS-Message-Receiver-tp4903060p4903664.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid