private void ShareViaSMS_Tap(object sender, System.Windows.Input.GestureEventArgs e) { var storeURI = DeepLinkHelper.BuildApplicationDeepLink(); SmsComposeTask smsComposeTask = new SmsComposeTask() { Body = "Try \"DD News App\" for windows phone 8. It's great!. " + storeURI, }; smsComposeTask.Show(); }
private void ShareViaMail_Tap(object sender, System.Windows.Input.GestureEventArgs e) { var storeURI = DeepLinkHelper.BuildApplicationDeepLink(); EmailComposeTask emailComposeTask = new EmailComposeTask() { Subject = "Try \" DDNews App\" for windows phone 8", Body = "\" DDNews App\" is a easy way to read english and hindi news from DD.Please click on this link " + storeURI, }; emailComposeTask.Show(); }
private void ShareViaSocialNetwork_Tap(object sender, System.Windows.Input.GestureEventArgs e) { ShareLinkTask shareLinkTask = new ShareLinkTask(); shareLinkTask.Title = "DDNEWS App"; var storeURI = DeepLinkHelper.BuildApplicationDeepLink(); shareLinkTask.LinkUri = new Uri(storeURI); shareLinkTask.Message = "\"DDNEWS App\" for Windows phone 8"; shareLinkTask.Show(); }
private void ShareViaMail_Tap(object sender, System.Windows.Input.GestureEventArgs e) { var storeUri = DeepLinkHelper.BuildApplicationDeepLink(); EmailComposeTask emailComposeTask = new EmailComposeTask() { Subject = "Try \"The Hindu News App\" for windows phone 8 and 8.1", Body = "\"The Hindu News App\" is a easy way to customize and read the news which you are interested in. You can pin your interests and start reading in one click away.Please click on this link " + storeUri, }; emailComposeTask.Show(); }
private void ShareViaMail_Tap(object sender, System.Windows.Input.GestureEventArgs e) { var storeURI = DeepLinkHelper.BuildApplicationDeepLink(); EmailComposeTask emailComposeTask = new EmailComposeTask() { Subject = "Try \"Outlook India App\" for windows phone 8", Body = "\"Outlook India App\" is helps you in reading news from outlook india magazine.Please click on this link " + storeURI, }; emailComposeTask.Show(); }
private void ShareViaSocialNetwork_Tap(object sender, System.Windows.Input.GestureEventArgs e) { ShareLinkTask shareLinkTask = new ShareLinkTask(); shareLinkTask.Title = "Outlook India"; var storeURI = DeepLinkHelper.BuildApplicationDeepLink(); //await Windows.System.Launcher.LaunchUriAsync(storeURI); //shareLinkTask.LinkUri = new Uri("http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff431744(v=vs.92).aspx", UriKind.Absolute); shareLinkTask.LinkUri = new Uri(storeURI); shareLinkTask.Message = "\"Outlook India App\" for Windows phone 8"; shareLinkTask.Show(); }
private void ShareEmailArticle() { try { var storeURI = DeepLinkHelper.BuildApplicationDeepLink(); EmailComposeTask emailComposeTask = new EmailComposeTask { Subject = string.Format("Outlook India: {0}", Article.HeadLine), Body = String.Format("Hi,\n\nThis article will interest you: {0}\n\n{1}\n\nSent by the \"Outlook India\" for Windows Phone 8.For the App you can click this link. " + storeURI, Article.HeadLine, Article.WebURL) }; emailComposeTask.Show(); } catch { } }
private void ShareEmailArticle() { try { var storeUri = DeepLinkHelper.BuildApplicationDeepLink(); EmailComposeTask emailComposeTask = new EmailComposeTask { Subject = string.Format("TheHindu: {0}", Article.Title), Body = string.Format( "Hi,\n\nThis article will interest you: {0}\n\n{1}\n\nSent by the \"The Hindu News App\" for Windows Phone 8.For the App you can click this link. " + storeUri, Article.Title, Article.Url) }; emailComposeTask.Show(); } catch (Exception) { } }