![]() ![]() The Sub itself has been changed to Async, because it will deal with an Asynchronous process.Okay, it is not easy code, but it is not too overly complicated either! What happens in this sub is set out in the following list: You can say “ Thank You, Namespace.” Why? Well, I honestly did not think it will be so easy. SdDevice = Await SmsDevice.GetDefaultAsync()Īwait sdDevice.SendMessageAsync(stmMessage) This is a variable object that will be used through all the objects on the page: Private sdDevice As SmsDeviceĪdd the following code behind the button labeled Send: Private Async Sub btnSend_Click(sender As Object, _Į As RoutedEventArgs) Handles btnSend.Click Getting Started with Windows Phone 8 ProgrammingĪdd a modular variable.Here are a few articles that can assist you to get started with Windows Phone apps: If this is your first time playing with Windows Phone apps, have a thorough look through each of the tabs and play around a little. You also could click on Project, Properties and click the Package Manifest… button, as shown in Figure 4.Select the Capabilities tab and choose it from the items in the list. ![]()
0 Comments
Leave a Reply. |