ShareLinkTask is Not Working in Windows Phone 8.1

ShareLinkTask is Working in WP8.0 But Not Working in WP8.1
public void QuizPostAppLinkToSocialNetworks(ListBox listBox, MenuFlyoutItem selectedItem, string message)
ListBoxItem selectedListBoxItem = listBox.ItemContainerGenerator.ContainerFromItem(selectedItem.DataContext) as ListBoxItem;
ShareLinkTask shareLinkTask = new ShareLinkTask();
shareLinkTask.Title = ResourceHelper.ProjectName + " App";
string lnk = message;
lnk += "'" + (selectedListBoxItem.Content as QuizList).Name + "', Get the app at \n";
shareLinkTask.LinkUri = ResourceHelper.AppMarketplaceWebLink;
shareLinkTask.Message = lnk;
shareLinkTask.Show();
Devi Prasad.P

In Windows Phone ShareLinkTask is not Exist for that we are used DataTransferManager.
Try this code it is helpful to you.
public void QuizPostAppLinkToSocialNetworks(ListBox listBox, MenuFlyoutItem selectedItem, string message)
DataTransferManager shareLinkTask = DataTransferManager.GetForCurrentView();
shareLinkTask.DataRequested += delegate(DataTransferManager sender, DataRequestedEventArgs args) { shareLinkTask_DataRequested(sender, args, message,listBox,selectedItem); };
void shareLinkTask_DataRequested(DataTransferManager sender, DataRequestedEventArgs args, string message,ListBox listBox, MenuFlyoutItem selectedItem)
ListBoxItem selectedListBoxItem = listBox.ItemContainerGenerator.ContainerFromItem(selectedItem.DataContext) as ListBoxItem;
string lnk = message;
lnk += "'" + (selectedListBoxItem.Content as QuizList).Name + "', Get the app at \n";
DataRequest request = args.Request;
request.Data.Properties.Title = ResourceHelper.ProjectName + " App";
request.Data.SetWebLink(ResourceHelper.AppMarketplaceWebLink);
request.Data.Properties.Description = lnk;

Similar Messages

  • XmlResolver is not working in Windows Phone 8.1 Universal Apps

    XmlResolver is Working in WP8.0, But when coming to in WP8.1 Universal Apps it is not working.
    XmlReaderSettings settings2 = new XmlReaderSettings
    XmlResolver = new XmlXapResolver()
    Devi Prasad.P

    The XmlXapResolver is not supported in Windows Phone 8.1
    Universal Apps . Try use the XDocument class in Windows Phone 8.1 Universal Apps. 
    I sale myself ONLY half CNY!

  • Activesync not working for Windows Phone with certificate

    We have a new Exchange Server 2013 setup and using activesync.  We have setup a policy to require simple password and to send an email to provision a device when it connects.  Activesync is setup to use self signed certificates,  this was
    tested first on the Ipad.  Certificate installed entered the settings and the device appeared in the quarantined devices list awaiting to be approved.  This was also done on the Iphone and worked. 
    When putting the same certificate on the windows phone device it errored with there is a problem with {as.domain-name.net} and does not appear in quarantined devices screen.
    I tested again with another Ipad and an android device and they work without an issue.  Tested with a Windows RT device and got the same issue.  If I look in the IIS log files I can see the windows device making a connection then when I presume
    to be the error 500 at the end of the line. 
    This is not a user issue as I can use the same user on the various devices.  The windows devices just do not want to connect.  We have looked at the certificate but if it works for apple and android devices why does it not work for windows? 
    Is there any additional security settings that need to be turned on or off for windows phones?  Is there something specific on the certificate what windows devices need that others ignore?

    I did inital think it might be a widows phone issue but there are no other settings for me to use.  I have also tested using a windows 8 surface and I get the same issue.
    I have raised the event log level on the exchange server to expert and I have seen 2 messages when I try to connect. 
    I get Event ID 1100:  Exhcnage ActiveSync device requests for your uses are being blocked.  This problme frequently occurs when HTTP OPTIONS method is not allowed.
    I know it is allowed as the test exchange connectivity worked and passed that test.
    The other error Event ID 1309 ASP.NET warning.  Part of the exception messge is DeviceTypeMissingOrInvalid
    I have come across a comment that says for certificates to work you need to use windows intune or SCCM which we don't have.  Do we know if this is true? 

  • Http webrequest with https uri is not working in windows phone 8.1

    I am building a Windows Phone application in which the uat environment was working fine with http url,
    But the production url is https, then the applictaion is not able to get the response from http web request method. Please help me on the same.
    Cynthia Mareia

    Any errors returned in response?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • MSGestureHold not working in Windows Phone 8.1 webbrowser control

    Scroll down and try sample no. 1 on the following website:
    Unifying touch and mouse
    The hold gesture sample will work with Internet Explorer 11 in WP8.1 but not with the webbrowser control in an app in WP8.1. There seem to be a bug. It worked fine in WP8.0 webbrowser control.
    Please fix this problem!

    Sample 1 works correctly on the 2 devices (and Windows 8.1).
    I am not sure what could be causing your issue.  Perhaps you don't fully understand what Sample 1 does?
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • Website payment and shopping cart buttons not working on Windows Phone browser

    A customer shopping on our site notified me that the "add to cart" and "view cart" buttons were taking him to the PayPal main site and not the shopping cart. I tried a Windows Phone at the Verizon store and found the same issue. I have tested the site on multiple Windows desktop browsers, on Android, Linux and iPad and have never seen this issue.  What is going on with IE on Windows Phone?

    I had this problem too, but I found a post burried on the web that said to add " p06- "  (without quotes) before the imap and smpt server names and that worked:
    p06-imap.mail.me.com
    p06-smtp.mail.me.com
    Everything stays checked, SSL for both, authentication and use same username and password checked.

  • Skype not working on Windows Phone 8.1 - Lumia 920

    Hi, I haven't used Skype since I installed the Windows Phone 8.1 developers preview. When I opened the Skype app today, it was like the narrator was on. It started reading the text on the screen. When I clicked on the Sign in button, it announced 'Not supported for screen reader; button' and had this pink box around the button like shown in the picture below. I tried reinstalling the app; restarting the phone; uninstalled the app, restarted the phone and then installed the app. I tried turning the narrator on and off too. But, nothing works. Any ideas on how to fix this?

    I can also not get Skype to work on my Nokia Lumia 920 with Cyan. I have merged the accounts and I can Log On on Skype for PC with all the merged accounts. When I Log On the Skype app for WP8.1 it almost at once crashes and the app are useless. Please help me to solve the problem? My phone runs in Danish!

  • Browse button not working in Windows Phone while tyring to upload an image to Pictures library in Sharepoint 2013 online site .

    Hi,
    I am trying to upload an image to SharePoint 2013 online site's Pictures Library from the Windows phone. When I click on  Browse button, nothing happens. Although the same browse button in working in the chrome and allowing to select an image from the
    phone library.
    Please let me know if this is the known issue or any work around is available to overcome this.
    Regards,
    Saurabh M

    Hi,
    Although the mobile version of Internet Explorer is supported by SharePoint 2013, however, for Office 365 SharePoint Online 2013 which keeps updating all the times, there may
    be some compatibility issues during the process.
    As this issue is more relate to SharePoint Online, it would be more appropriate to open a thread in Office 365 forum, you will get more help and confirmed answers from there:
    http://community.office365.com/en-us/forums/default.aspx
    Thanks for your understanding.    
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Phone Update not working in windows phone 10 technical preview

    I recently upgraded my lumia 920 from windows 8.1 to windows 10. Now whenever I hit 'check for updates', it indefinitely stays there as if it's checking but it doesn't. I'm kinda worried that if any new windows 10 updates come, will I ever be able to update.
    Is there a way to fix this issue without rolling back to windows 8.1?

    I've got to bump up this issue. After several builds and all the updates, issue remains, and HP is silent on the forum as always. I've also posted another feedback post via Windows Feedback tool, and have posted new reply to the old post in the Windows Forum ( http://answers.microsoft.com/en-us/windows/forum/windows_tp-hardware/hp-hs2340-hspa-mobile-broadband-module-not-working/afd40168-bca2-4a72-a54f-8d70e15a71f5 ) Again, if there are any other users experiencing this issue with hs2340 and Windows 10 Technical Preview, please post both here and to the thread linked above (answers.microsoft.com website). If anyone had resolved it or found a newer driver than v.7.2.8.1 (for any Windows version) please post a link and/or workaround. Thank you in advance!Luka

  • Thread is Not Working in Windows Phone 8.1 Universal App

    This code is working in WP8.0 When Coming to WP8.1 Thread class is Not Working
    Thread SongThread = new Thread(() =>
    List<QuizList> showsubjects = QuizManager.GetsubjectsForWP8(LinkInfo.ShowID.ToString()/*, false*/);
    SongThread.Start();

    The thread class has been abstracted away.To achieve the same effect, use a Task
    Task.Run(()=>{List<QuizList> showsubjects = QuizManager.GetsubjectsForWP8(LinkInfo.ShowID.ToString()/*, false*/);}

  • MFA not working on Windows Server 2012 R2

    Been using MFA since PF days.  Deployed it successfully many times but for some reason it's not working with Windows Auth, Terminal Services on a Win 2012 R2 DataCenter box?  The machine was successfully added to my domain PhoneFactor group, I
    can see and add the machine on the master MFA.  Services are running but when I remote in I go right through without MFA stopping me?  Any ideas?
    TIA

    6.3.0 has just been released and 2012 R2 is *still* not supported. What the hell?!?
    "Version 6.3.0 of the Azure Multi-Factor Authentication Server adds the
      following additional functionality:
    * Added one-way SMS functionality for AD FS, RADIUS and User Portal
    * Added .csv file import for OATH tokens
    * Added support to parse phone numbers in E.164 format during import
      From the directory
    * Fixed problem preventing slave servers from performing MFA if the
      master server was unavailable. This problem was found to exist in
      all 6.2.x builds. All customers running 6.2.x should upgrade to 6.3.
    * Fixed directory sync issue for recursive security groups
    * Added additional logging to AD FS adapter
    * Other minor bug fixes and security improvements
    Known Issues:
    * Windows Authentication for Terminal Services is still not supported for
      Windows Server 2012 R2"
    So they added a whole stack of other functionality, but still didn't get around to taking a look at this bug. I'm stunned. Is there any sort of timeline on fixing this, or is 2012 R2 just going to remain unsupported forever?

  • WP 8.1 Emulator not working on Windows 8.1 x64

    Windows Phone 8.1 Emulator not working on Windows 8.1 x64 
    Ram 2GB,Hyper-V is enabled
    Error:Windows Phone Emulator is unable to set some properties on the virtual machine :
    1.Couldn't change memory of virtual machine'xyxyxyxyxyxyyxyx' failed to modify device 'Memory'.(Virtual Machine ID'xyz123-xyz123-xyz123-xyz123-')
    2.Invalid start-up memory assigned for 'xyxyxyxxyxyxyxxyxyyxyx'.
    Please help
    Nekvinder Singh

    You're welcome.
    Sorry, I can't know what the exact problem was. Many things don't start in Windows Safe Mode, like third-party security software and included security tools like Windows Defender. You can use the following guide if you want to troubleshoot the issue. The "How to determine what is causing the problem by performing a clean boot" section is the relevant part.
    * [http://support.microsoft.com/kb/929135/en-us How to perform a clean boot in Windows | Microsoft Support]

  • XmlXapResolver is Not Working With Windows Phone8.1

    "XmlXapResolver" is Working in wp8 but Not working in WP8.1 and added Name space "using System.Xml;"
    public static string GetAppAttribute(string attributeName)
    string attribute;
    try
    XmlReaderSettings settings2 = new XmlReaderSettings
    XmlResolver = new XmlXapResolver()
    XmlReaderSettings settings = settings2;
    using (XmlReader reader = XmlReader.Create("WMAppManifest.xml", settings))
    reader.ReadToDescendant("App");
    if (!reader.IsStartElement())
    throw new FormatException("WMAppManifest.xml is missing App");
    attribute = reader.GetAttribute(attributeName);
    Devi Prasad.P

    Hi Devi Prasad987,
    Based on your description, it seems that you are using the Windows Phone 8.1 Runtime app, the
    XmlXapResolver is supported in Windows Phone 8/8.1 Silverlight app, but it is not supported in Windows Phone 8.1 Runtime app. If you want
    to the read data from the xml file, I will recommand you use the XDocument class in Windows Phone 8.1 Runtime app. 
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Gmail is not working on my phone?

    My Gmail is not working on my phone, though I know I have all the correct information- Any Idea how or why?

    Erwan22 wrote:
    good evening, I just bought new laptop with windows 8.1when I ope skype, by default the menu is asking for email of phone and password. my mail on gmail registered on my profile is not working, and the system doesnt propose me my skype login and password.I have no microsoft account. How can I login ?What exactly is the version of Skype program installed on your computer? In Skype go to Help -> About Skype.

  • Exporting Crystal Report to HTML is not working in Windows 7

    Hi Sir,
    I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
    Below is the code to Exporting Crystal Report to HTML in VB.NET.
    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
    Dim CrFormatTypeOptions          As New HTMLFormatOptions
    Dim vFormat As Integer
    Dim CrExportOptions As New ExportOptions
    Dim vRdReport As New ReportDocument
    Dim sfd As SaveFileDialog
    Dim vFileName As String = Nothing
    vRdReport = vRptSource
    sfd = New SaveFileDialog
    If Not (vRptPath = "") Then
        sfd.InitialDirectory = vRptPath
    End If
    sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
    If sfd.ShowDialog = DialogResult.OK Then
        ' Set the disk file options.
         CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
    Else
         Return
    End If
    CrExportOptions = vRdReport.ExportOptions
    CrFormatTypeOptions.HTMLFileName = vFileName
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLHasPageNavigator = True
    CrFormatTypeOptions.UsePageRange = True
    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.HTML32
                        .DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
                        .FormatOptions = CrFormatTypeOptions
    End With
    vRdReport.Export()
    Catch ex As Exception
            MsgBox(ex.ToString)
    End Try
    Code working fine at Windows XP, But it is not woking in Windows 7 environment.
    Please can anyone share your valuable thoughts or ideas reg. this.
    Thanks in Advance
    Deivanayaga Perumal D.

    user13509659 wrote:
    Run this code to reproduce the issue.Which issue?
    It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
    EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
    Edited by: jduprez on Feb 10, 2011 1:01 PM

Maybe you are looking for

  • How to sync old ipod nano to current itunes for ipod touch?

    I have an ipod touch and upgraded itunes and registered new ipod. I have an old ipod nano that was previously registered to my itunes account. I'd like to add my playlists to this ipod as well. I'm afraid I will wipe out my library as I have in the p

  • How can i use this alias name Day1 br 06/09/2005 without " "

    From my application (asp.net), i don't know how to pass alias name "Day1<br>06/09/2005"(with " ") I this possible anyother way to use this Day1<br>06/09/2005 alias name without using " " select sum(count) Day1<br>06/09/2005 from test Millions of than

  • Sales Order costing error to prevent Plan Order generation in MRP run

    Dear PP Experts, We are into sales order costing due to Variant Config implementation. Problem Statement: After sales order entry /Characterisitc value selection, while saving sales order , SO costing is auto triggered. Many a times one of the new Ra

  • Change of sign(+/-) in report

    Hi   In an report i have an key figure (Total spend) The value that shows me in the report is -ve but I need to display it as positive. (E.g): The existing value in the report shows up -20 Now i will have to change the valu to +20. Is there any optio

  • Smartforms-avoid the form if no values are there

    Hi All, iam printing 6 different forms at a time by writing the code in se38 like this.<b>But if any form doesnt have any value then i should avoid that form</b>. My total code is developed in forms only.Just by calling forms in se38 iam printing. PR