A very slick Smartphone Emulator feature
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!