Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Using the Cellular Emulator in the Windows Mobile 6 SDK : Page 3

Testing your Windows Mobile app just got a lot easier! Learn how to set up both Windows Mobile 6 Professional and Standard emulators and work with the Cellular Emulator.


advertisement

Making Phone Calls

You can make a phone call from the Cellular Emulator and the Windows Mobile emulator will receive an incoming call (see Figure 10).

Likewise, the Windows Mobile emulator can also make an outgoing call and the call will be displayed in the Cellular Emulator (see Figure 11). The Cellular Emulator also shows a list of numbers (7272024, 7272020, etc) that you can use to simulate different phone conditions (such as busy line, call reject, and so on).


Figure 10. Incoming Phone Calls: You're making phone calls to the Windows Mobile emulator.
 
Figure 11. Incoming Phone Calls: You're making phone calls to the Cellular Emulator.



Sending and Receiving SMS Messages

You can also use the Cellular Emulator to send SMS messages to the Windows Mobile emulator (see Figure 12). You can send a chain of messages by checking the "Repeatedly" checkbox and specifying the interval between messages.

You can also send SMS messages from the Windows Mobile emulator and the messages will be displayed in the Cellular Emulator (see Figure 13).


Figure 12. Incoming SMS Messages: You're sending SMS messages to the Windows Mobile emulator.
 
Figure 13. Incoming SMS Messages: You're sending SMS messages from the Windows Mobile emulator.

Some Common Problems

In my experience, you are likely to encounter problems with the Cellular Emulator if you install the Windows Mobile 6 SDK on a notebook. You are likely to see an error that says "COM17 is used, please verify" (or something similar). There is no official way to resolve this, but some folks have been able to work around this by first uninstalling the Windows Mobile 6 SDK, disabling the Bluetooth services, and then installing the Windows Mobile 6 SDK again.

If you find that the Windows Mobile emulator is not receiving SMS messages/phone calls made from the Cellular Emulator, the first place to check is the COM port settings in the Emulator Properties page. If you shut down the Windows Mobile emulator and do not save its current state, restarting it will cause it to lose the COM port number you have set previously. Hence, in general, it is always a good idea to save an emulator's state when exiting it.



Wei-Meng Lee is a Microsoft MVP and founder of Developer Learning Solutions, a technology company specializing in hands-on training on the latest Microsoft technologies. He is an established developer and trainer specializing in .NET and wireless technologies. Wei-Meng speaks regularly at international conferences and has authored and coauthored numerous books on .NET, XML, and wireless technologies. He writes extensively on topics ranging from .NET to Mac OS X. He is also the author of the .NET Compact Framework Pocket Guide, ASP.NET 2.0: A Developer's Notebook (both from O'Reilly Media, Inc.), and Programming Sudoku (Apress). Here is Wei-Meng's blog.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap