Kris Kumar
10-22-2004, 10:00 PM
<div class='os_post_top_link'><a href='http://msdn.microsoft.com/mobility/default.aspx?pull=/library/en-us/dnnetcomp/html/ReceivingSMSMessages.asp' target='_blank'>http://msdn.microsoft.com/mobility/default.aspx?pull=/library/en-us/dnnetcomp/html/ReceivingSMSMessages.asp</a><br /><br /></div><i>"In this article we describe a way to receive SMS messages in a managed application without the SMS message appearing in the Inbox and without showing a bubble notification when the SMS message arrives. The sample code will run on a Pocket PC 2003 Phone Edition device. With small modifications, mainly in the MMI part, it should run on a Smartphone 2003 as well."</i><br /><br />SMS is popular for text messaging but developers use SMS based messages to transfer data and trigger events on the Smartphones. The article presents the sample code to capture SMS messages in a .NET Compact Framework 1.0 based application. The limitations of the current .NET CF forces the developers to resort to P/Invoke method to access the messaging APIs. This task will become easier when devices with .NET CF v2.0 are launched. It will provide pure .NET CF notifications interface for capturing the messages from within managed code.