How share content on whatsApp And Instagram for windows phone 8.1 App Development

I am developing an App using sharie Contract Ux (using DataTransferManager )
sample code is given below it is showing facebook ,twitter but not showing whatsApp and Instagram .
Am I missing something ?
public sealed partial class MainPage : Page
private DataTransferManager dataTransferManager;
public MainPage()
this.InitializeComponent();
this.NavigationCacheMode = NavigationCacheMode.Required;
/// <summary>
/// Invoked when this page is about to be displayed in a Frame.
/// </summary>
/// <param name="e">Event data that describes how this page was reached.
/// This parameter is typically used to configure the page.</param>
protected override void OnNavigatedTo(NavigationEventArgs e)
// TODO: Prepare page for display here.
// TODO: If your application contains multiple pages, ensure that you are
// handling the hardware Back button by registering for the
// Windows.Phone.UI.Input.HardwareButtons.BackPressed event.
// If you are using the NavigationHelper provided by some templates,
// this event is handled for you.
this.dataTransferManager = DataTransferManager.GetForCurrentView();
this.dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
protected override void OnNavigatedFrom(NavigationEventArgs e)
this.dataTransferManager.DataRequested -= new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
var request = args.Request as DataRequest;
DataPackage requestData = request.Data;
requestData.Properties.Title = "MY PHOTO";
requestData.Properties.Description = "Share App";// The description is optional.
requestData.Properties.ContentSourceApplicationLink = new Uri("ms-appx-web:///" + "www.google.com");
// It's recommended to use both SetBitmap and SetStorageItems for sharing a single image
// since the target app may only support one or the other.
List<IStorageItem> imageItems = new List<IStorageItem>();
imageItems.Add(this.imageFile);
requestData.SetStorageItems(imageItems);
RandomAccessStreamReference imageStreamRef = RandomAccessStreamReference.CreateFromFile(this.imageFile);
requestData.Properties.Thumbnail = imageStreamRef;
requestData.SetBitmap(imageStreamRef);
// succeeded = true;
private async void SelectImageButton_Click(object sender, RoutedEventArgs e)
// CoreApplicationView view = CoreApplication.GetCurrentView();
//FileOpenPicker imagePicker = new FileOpenPicker
// ViewMode = PickerViewMode.Thumbnail,
// SuggestedStartLocation = PickerLocationId.PicturesLibrary,
// FileTypeFilter = { ".jpg", ".png", ".bmp", ".gif", ".tif" }
StorageFile logoFile =
await Package.Current.InstalledLocation.GetFileAsync("Assets\\download.jpg");
// List<IStorageItem> storageItems = new List<IStorageItem>();
this.imageFile = logoFile;
// ImageHolder.Source = "/Assets/download.jpg";
Output.Visibility = Visibility.Visible;
ShareStep.Visibility = Visibility.Visible;
// if (pickedImage != null)
// this.imageFile = pickedImage;
// // Display the image in the UI.
// IRandomAccessStream displayStream = await pickedImage.OpenAsync(FileAccessMode.Read);
// BitmapImage bitmapImage = new BitmapImage();
// bitmapImage.SetSource(displayStream);
// ImageHolder.Source = bitmapImage;
//// this.rootPage.NotifyUser("Selected " + pickedImage.Name + ".", NotifyType.StatusMessage);
// ShareStep.Visibility = Visibility.Visible;
private StorageFile imageFile;
private void Button_Click(object sender, RoutedEventArgs e)
DataTransferManager.ShowShareUI();

Whatsapp and Instagram must not be Share Targets for the type of content you are sharing.
Bret Bentzinger (MSFT) @awehellyeah

Similar Messages

  • Make clickable UI-elements for windows Phone 8.1 apps maps

    Windows Phone 8.1 App , C#
    I would like to let the user add Pushpins ( which apparently are called MapIcons ) to the map and when the user clicks the newly created Pushpin some other ui-elements should appear.
    But apparently MapIcons are not clickable and you can not inherit from them since they are sealed, so no luck in making them clickable.
    I tried to just extend from Windows.UI.Xaml.Controls.Button , but those have not Location, probably because the do not belong to the Windows.UI.Xaml.Controls.Maps-namespace. So I can not really add them to the Windows.UI.Xaml.Controls.Maps.MapControl.Children
    or Windows.UI.Xaml.Controls.Maps.MapControl.MapElements, since they will not be on the map where I would want them to be.
    So how do you make a clickable ui-element that I can give a location on the map?
    I already was here
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn792121.aspx#showing_xaml_controls_and_shapes_on_the_map
    But I don't see how I can add clickable elements to my map
    I could write something like this of course
            <Maps:MapControl Grid.Row="1"
                x:Name="map"
                MapServiceToken="token"
                >
                <Maps:MapIcon>
                </Maps:MapIcon>
            </Maps:MapControl>
    But this MapIcon again is not clickable and it also staticly coded. I want to add mine dynamic.

    Hi Michael,
    Yes, as you said the MapIcon is not clickable, then for the workaround, please try to check the reply which posted by @Jogy in here:
    http://stackoverflow.com/questions/25377526/windows-phone-8-1-mapicon-click-event .
    Rest 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.

  • Create a signature capture for Windows Phone 8.1 App

    I am creating a Windows Phone 8.1 app with signature capture control on one of my page. I am looking for an approach using C# so that I can draw points on a XAML with Canvas control. But it seems like that InkPresenter name space is removed from Windows
    Phone 8.1. Is there anyway I can get it around?
    Thanks, 

    Hi edwlin,
    Please try the suggestion provided by Rob Caplan in this thread:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2a428bef-d7a3-423b-a288-4c4b4efa8034/capture-digital-signature-in-windows-phone-blank-app?forum=wpdevelop
    Quote:
    You can capture the signature by listening to pointer messages and storing the points as they come through. You can then render them as Path segments.
    See Quickstart: Pointers
    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.

  • How can I import a file into my Windows Phone 8.1RT App?

    Hi All,
    I'm running into a bit of an issue associating my app with a custom file type.  Users create a file using my app and upload it to their OneDrive for sharing.  So I then want to give the users the ability to download the file from a share link and
    have that file open automatically in my app.  I've got the appropriate declarations set and file type associations, but I'm getting a file access exception when I try to open the file.  Whats the best way to import a file into my app?  Here's
    the code I've got so far:
    protected override async void OnFileActivated(FileActivatedEventArgs args)
    var path = args.Files[0].Path;
    var name = args.Files[0].Name;
    StorageFile newFile = await StorageFile.GetFileFromPathAsync(path);
    await newFile.CopyAsync(ApplicationData.Current.LocalFolder, name.Substring(0, name.Length - 4));
    The path comes back as
    C:\Data\Users\DefApps\APPDATA\Local\Packages\microsoft.microsoftskydrive_8weke\LocalState\OpenWithTempFolder\e68c261-db3b-472d-a8b7-93427450\File Name.extension
    and the exception is
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Clearly I'm trying to access the file in an inappropriate way, so what's the best way to get the file into my app's local storage?

    You have the StorageFile in arg.Files[0] already. Just use that rather than getting its path and then trying to create a new StorageFile from it.
    var path = args.Files[0].Path; // <= Path is unnecessary and unhelpful
    var name = args.Files[0].Name;
    await args.Files[0].CopyAsync(ApplicationData.Current.LocalFolder, name.Substring(0, name.Length - 4));
    See my blog entry Skip the path: stick to the StorageFile for more details.

  • New Skype Emoji not appearing on Skype for Windows Phone

    Posted here because I couldn't select "Skype for mobile" in the Windows 10 Edge browser... I've noticed that emoji like (Windows10) do not appear in Skype on Windows Phone.  Instead, I see an empty white box.  I also don't see the text of the emoji. Seems like an issue with Skype for Windows Phone where the app understands that (Windows10) is an emoji, but can't find the image to display.   

    Please,  run the DirectX diagnostics tool (32-bit option only).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Azure Notification Hub Package Missing for Windows Phone 8.1

    The WindowsAzure.Messaging.Managed nuget package version 0.1.7.6 does not support Windows Phone 8.1. Is there a package available to support Azure Notification Hub to push notifications to Windows Phone 8.1?

    8.1 is not publically available.  You can check with the Azure folks and ask them when there will be an update
    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)

  • How to download into mu iphone whatsapp and Viber for free

    How to download into mu iphone whatsapp and Viber for free?
    <Personal Information Edited By Host>

    Both apps are free downloads, if they are available in your country's app store then find and then tap on their free 'price' to download them onto your phone - if you search for them in the App Store app on your phone do they show ?

  • How To Find Opening Stock And Value For a Material

    Hi Experts,
    How To Find Opening Stock And Value For a Material  in Given Dates
    Moderator Message: Search.
    Edited by: kishan P on Sep 15, 2010 4:05 PM

    Thanks For Answering.....
    But I Need Any Function Module To Get Opening Stock And Value For Given Material With in Dates.

  • How to configure the runtime and consolidation for a track in CMS.

    How to configure the runtime and consolidation for a track in CMS.
    I can see the track exists in CMS but the same doesnt pull up in the NWDS in the development configuration perspective.
    I compared the given track with the one which gets pulled up in NWDS. Theres something called runtime system and consolidation which isnt defined for the track which is invisible.
    Please advise , what are these required for. And how can we configure the same.

    The runtime systems are defined for a track to setup the Transport path for any code changes....the Consolidation system is usually defined as a Virtual system for the track and used for comparison and fixing any broken or Dirty DC's ....that means it's not used as a Runtime System for Deployment as compared to DEV,QAT and PROD used for Deployment...
    Hope it helps..
    Regards,
    Shikhil

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    You can either use Office for Mac 2011 or use Boot Camp to run Windows or use a VM, such as Parallels Desktop to run Windows. Running Windows, you'd be able to use MS Office for Windows.
    Clinton

  • How do I download itunes and quicktime for os 10.6.8

    how do I download itunes and quicktime for os 10.6.8?

    If you're using Mac OS X 10.5.8, click here and here.
    If you're using Mac OS X 10.6.8, run Software Update and download iTunes 11. Unless you need QuickTime 7 or QuickTime Pro's functionality, no separate QuickTime downloads are needed or available.
    (75060)

  • Since signing up and paying for PDF conversion I have never been able to get the document I download to look anything like the original form.  How do I correct this and what is a phone number to contact someone at Adobe

    What I scan into my computer and what Adobe converts look nothing alike.  Many discrepancies How do I correct this and what is a phone number to speak with a human being at Adobe

    Does it say it will convert into an exact copy of the PDF? If it does, marketing need to fix what they say. Just converting is miracle enough for me, knowing the difficulties.
    If it isn't going to satisfy you, you need to contact Adobe for a refund. Use the CHAT link in support (be sure to make the right choices, or you don't get the link).

  • How can I find fingerprint reader driver and software for windows 8.1 Pro - HP Dv5 1225et

    I have Hp dv5 1225et Laptop. There are drivers in Hp's web site for win 7 and vista.. I need validity sensors driver and software for windows 8.1 Pro (64Bit)... Thanks a lot all of users. 

    Hi @mfatihbodur
    Welcome to the HP Support Community. I see that you are looking for Windows 8.1 version of your Validity Sensor and SimplePass software. I have included the links below but as your model doesn't have drivers I can't guarantee that they will work but they are the latest versions.
    Validity Fingerprint Sensor Driver (Windows 8.1)
    HP SimplePass Identity Protection Software (Windows 8.1)
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Whatsapp for windows phone 8

    For Microsoft, Nokia and whatsapp developers
    please fix and update the current version of whatsapp for windows phone 8 devices as soon as possible
    there are a lot of things need to be improved:
    - screen shot images can't be sent
    - long messages can't be forwarded
    - profile picture of contact can't be saved
    - can't customize ringtone for group or individuals
    - couldn't find videos saved from whatsapp (where the videos saved??)
    these are some points I have noticed. Honestly speaking the what Sapp version in Nokia n8 is much more better than my Lumia 920 !!
    please respond

    Hi all,
    I have contact with WhatsApp developers team about many issues on windows phone 8 version
    Here is the points highlighted:
    there are a lot of things need to be improved:
    - screen shot images can't be sent
    - long messages can't be forwarded
    - profile picture of contact can't be saved
    - can't customize ringtone for group or individuals
    - couldn't find videos saved from WhatsApp (where the videos saved??)
    below you found WhatsApp team replay:
    The issues with sending screenshots and long messages are known bugs and we are working our best to fix them for a future update. Sorry for the inconvenience.
    Saving profile picture and customizable ringtones are currently not features for WhatsApp on Windows Phone.
    It is not possible to save videos or audio notes sent/received over WhatsApp to your Windows Phone media library. Unfortunately, this is a limitation of Windows Phone, so we have no way to work around this.
    You can however, view your saved photos in your media library.
    I just want to share with you these information
    thanks

Maybe you are looking for

  • How do you turn off the auto info?

    I'm an audiophile and I'm very specific about what genres, albums, etc my music is listed under. iTunes automatic music info feature keeps changing the genres, and occasionally albums, whenever I select a song. How do I turn off this feature?

  • Logging in to iCloud

    Hello, I received an invite to join an iCloud calendar, so I downloaded iCloud to my PC. Now it tells me to log in using my Apple ID - I've only got one. When I do that, it tells me that my ID is valid, but it's not an iCloud account. What do I do no

  • Vendor Root in SRM5.0

    Hi, In case of multiple company codes in single backend logical system. What strategy should be adopted for creation of vendor root in case of SRM5.0 ? Any suggestions.. regards, Rahul Mandale

  • Imessages are not being sent. why are they changing to itext?

    Why doesn't my imessage transmit to an iphone recipient? it now converts to itext. it also happens with my wife's iphone.

  • Unable to install the podcast 1.00.3 on my N95-3 f...

    unable to install the podcast 1.00.3 on my N95-3 firmware V20 Displaying: "unable to install component is built-in" Message Edited by leontancfa on 17-Jun-2008 09:22 PM Message Edited by leontancfa on 17-Jun-2008 09:23 PM