Re: [mono-android] SMS Message Receiver

2011-10-18 Thread mcgear
Fantastic!!! Thank you for the help on this! I was now able to get the object array, the byte array and eventually get the SMS Messages from those bytes. Note: The GitHub link provided is not linking anywhere... However now I am facing another issue... After i get my messages (of which there

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread ChrisNTR
Michael, I had responded to you on this through the support e-mail but here's my message incase you missed it and for everyone else to see too, This has been rather tricky but you can convert a Object to a Object[] by using the following lines: var pdus = bundle.Get ("pdus"); Java.Lang.Object[]

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread Sayed Arian Kooshesh
this is actually a really common error i've experienced in things other than this project. Try ObjectDumper it might help you continue past this. On Mon, Oct 17, 2011 at 2:15 PM, mcgear wrote: > That is correct, however this should be returning an array...  As you can see > from this QuickWatch

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread mcgear
That is correct, however this should be returning an array... As you can see from this QuickWatch output: -Class {class [Ljava.lang.Object;} Java.Lang.Class +base {Java.Lang.Object} Java.Lang.Object CanonicalName "java.lang.Object[]"string +

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread Sayed Arian Kooshesh
it's returning an object, not an array of them. On Mon, Oct 17, 2011 at 9:55 AM, mcgear wrote: > Does anyone have any thoughts with this? > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/SMS-Message-Receiver-tp4903060p4910182.html > Sent from the Mono for An

Re: [mono-android] SMS Message Receiver

2011-10-17 Thread mcgear
Does anyone have any thoughts with this? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SMS-Message-Receiver-tp4903060p4910182.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailin

Re: [mono-android] SMS Message Receiver

2011-10-14 Thread mcgear
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 "ja

[mono-android] SMS Message Receiver

2011-10-14 Thread mcgear
Hey All, So i am trying to get my SMS Receiver to work, and am relatively close. I can get the SMS, and get the PDUS value out of the intent extras, however i am unable to get the PDUS as an object[] so that i can get the byte[]. Here is my receiver code: [BroadcastReceiver(Enabled = true,