×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    23

    How to share a remote image using shareMediaTask

    Hi
    My app shows image from a website and i want to share the image using shareMediaTask.

    i am using this code and using VB

    Code:
    Dim shareMediaTask As New ShareMediaTask()
                shareMediaTask.FilePath = "http://i.nokia.com/r/image/view/-/2711428/highRes/3/-/Nokia-Lumia-1020-1-jpg.jpg"
                shareMediaTask.Show()
    I cant view the share media window for this code.

    Anybody help

    Binu
    My Apps - http://www.windowsphone.com/en-IN/store/publishers?publisherId=Binu

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    419

    Re: How to share a remote image using shareMediaTask

    Hi.
    You need to download the picture before share it.
    Or you could use ShareLinkTask. depend what you need exactly.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    427

    Re: How to share a remote image using shareMediaTask

    If you download the image you will have to save it to the media library. Only filenames acquired from an image added to the MediaLibrary are valid for sharing using the ShareMediaTask.

  4. #4
    Registered User
    Join Date
    Aug 2008
    Posts
    23

    Re: How to share a remote image using shareMediaTask

    hey thanks, i download it to media library and now i can share it.
    My Apps - http://www.windowsphone.com/en-IN/store/publishers?publisherId=Binu

Similar Threads

  1. Can we share any files using ShareMediaTask?
    By patelpareshc in forum Windows Phone General
    Replies: 4
    Last Post: 2013-06-14, 01:54
  2. Using Share API em MeeGo from QML
    By Handout in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-12-01, 21:41
  3. Image not displaying on remote device
    By Pallavi_K in forum Streaming and Video
    Replies: 5
    Last Post: 2008-12-18, 05:54
  4. remote device & remote host
    By G2N in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-12-10, 09:48
  5. many user want to share the URL by SMS !!!
    By Nokia_Archive in forum General Messaging
    Replies: 1
    Last Post: 2002-05-23, 23:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •