A very slick Smartphone Emulator feature

Published Thu, Jan 25 2007 1:25 | William

I'm finishing up some SmartPhone articles I should have posted soon but figured I could discuss this one very quickly.  Any professional application should be thoroughly tested on a physical device that it will be run on. However that's not practical for incremental builds throughout the day.  So that's where Emulators fit in right?  Anyway, one shortcoming of emulators is, rather was, the inability to duplicate functionality exclusive to the phone. How would you simulate an incoming call or SMS message?  Fortunately, that's easily resolved now.  Let's say you want to send a SMS message and test it.  Just use 425.001.0001 and viola, it will fire a SMS message directly to your emulator.  Just to show how easy it is...

 

private void SendSMSMessage(String phoneNumber, String message){

SmsMessage NewMessage = new SmsMessage(phoneNumber, message);

NewMessage.Send();

}

Then to fire it off...

SendSMSMessage("14250010001", "Behold the greatness of the Blue Cuckoo!");

More coming shortly, I promise!

Search

This Blog

Tags

Community

Archives

News

My other sites

Cool Stuff

Book Stuff

Security

ORM

Data Access

Funny Stuff

Compact Framework Stuff

Web Casts

My KnowledgeBase Articles

My MVP Profile

Design Patterns

Performance

Debugging

Remoting

My Fellow Authors

My Books

LINQ

Misc

Speech

Syndication

Email Notifications