OnShareTargetActivated Window and debugging close upon selecting app RRS feed

  • Question

  • Hi , 

    Im trying to get .mp3 file.

    When user select my app from share dialog.

    The debugging in visual studio closes and nothing appear in windows phone rather it waits and load the old window again.

    Following is the code :

      protected override void OnShareTargetActivated(ShareTargetActivatedEventArgs args)
                var rootFrame = new Frame();
                rootFrame.Navigate(typeof(Suggestions), args.ShareOperation);
                Window.Current.Content = rootFrame;

    Suggestions is the empty page in shared project in visual studio.

    In app manifest

    there is no Data formats , empty app settings tab , and only .mp3 in supported file types.

    Need help


    Thank You , Shan Ali Khan

    Monday, October 13, 2014 7:12 PM

All replies

  • Can you post your code to OneDrive and share it here?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, October 14, 2014 12:40 PM