Thanks for attending yesterday’s webcast on "Device Emulator and Cellular Emulator"


I wanted to thank everybody who attended yesterday's Webcast on "Device Emulator and Cellular Emulator." I hope you found the content valuable and that you learned some new things.


As promised, here's a link to Jim Wilson's blog entry about the Wrapper he created for the Device Emulator COM Interface: http://www.pluralsight.com/community/blogs/jimw/archive/2007/11/01/48915.aspx.


I've heard from several people today who downloaded the on-demand version that the audio on the downloadable version does not work. I wanted to let everybody know that I've alerted our webcast production team to this issue and that they are working on fixing the audio. I will post a blog entry as soon as this issue has been fixed!


Meanwhile I look forward to having you guys join me for next week's webcast. Part 3 of our series will air on September 17, at 10 PST. In next week's webcast you will learn how to deal with different form factors when developing applications for Windows Mobile devices. Please use this URL to register for it: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032386652&EventCategory=4&culture=en-US&CountryCode=US.


Stay tuned!


Constanze


 

Comments (2)
  1. roozbehid says:

    Hi,

    i was wondering is it possible someway to send unicode/multibyte sms strings?

    because when i try it causes cellular emulator to crash.

    Also how can i use send events to send raw sms data?

    thanks

    Hi,

    I tried a little code snippet to send Unicode strings in an sms message and I don’t see Cellular Emulator crash. Here is the snippet I used:

                SmsMessage msg = (SmsMessage)e.Message;

                textBox1.Text = msg.Body;

                textBox1.Visible = true;

                linkLabel1.Text = msg.From.Address;

                linkLabel1.Visible = true;

     

                char[] myChars = new char[] { ‘z’, ‘a’, ‘u0306’, ‘u01FD’, ‘u03B2’, ‘uD8FF’, ‘uDCFF’ };

                string s = new string(myChars);

     

                SmsMessage smsMessage = new SmsMessage();

                smsMessage.Body = s;

                smsMessage.To.Add(new Recipient(“John Doe”, msg.From.Address));

     

                //Send the SMS message.

                smsMessage.Send();

     

    And here is the result shown in Cellular Emulator:

     

     

    The results are not really readable, so Cellular Emulator does not really support Unicode, but it is definitely not crashing on me.

    The code snippet basically gives an answer to the second question as well. Just initialize a char array or a byte array with raw data, create a new string and pass the array as parameter to the constructor of the string. Next assign the SmsMessage.Body to the string and you should be good to go.

    Hope this helps,

    Constanze 

     

     

  2. alcedes says:

    I enjoyed the presentation and learned a lot of things that I didn’t previously know about the emulator.

Comments are closed.

Skip to main content