Share image

Trying to share a picture by invokign sharing stuff.

I cannot share any hardcoded URI problem, but I can't share those dynamic.

I'm doing something wrong?

    InvokeActionItem {
                    id: invoke
                    query {
                        mimeType: "image/png"
                        invokeActionId: "bb.action.SHARE"
                        //uri: "file:///accounts/1000/shared/camera/IMG_20130439.jpg"
                        //uri: "file://" + _scratchpad.filename
                    }
                    onTriggered:
                    {
                        uri = "file://" + _scratchpad.filename;
                    }

                }

Take a look at my "ShareFile" example at this link: https://github.com/blackberry/Cascades-Community-Samples

You will see that you cannot change the URI in C++, QML.

Tags: BlackBerry Developers

Similar Questions

  • How to share images of web gallery for Lightroom CC

    I don't have my own web site.  I understand how to share images, but I would like to share the Gallery I can create on Lightroom.  How can I do?  My monthly contract CC allows me to create a website via Lightroom CC?  Or can I use Flickr or Shutterfly?

    Take a look at Portfolio Adobe which is part of your subscription to the CC and allows you to use the images synchronized to a format web site. You can point to your own domain name, if you have a.

    This is a simple "retractable" solution If it is not enough, you need to get your own website and know enough HTML to integrate product LR web galleries inside.

  • Share images in listview

    Hello

    I'm loading (included in the assets of the project) png images in a ListView. Then I want to trigger the framework of the call to share the selected image. And I want to let him choose what applications list. Is this the right way to go:

    ListView {
        layout: GridListLayout {}
        dataModel: XmlDataModel {
            source: "data.xml"
        }
    
        listItemComponents: [
            ListItemComponent {
                type: "image"
    
                ImageView {
                    imageSource: ListItemData.imagePath
                }
            }
        ]
        attachedObjects: [
            Invocation {
                id: invoke
                query {
                    mimeType: "image/png"
                }
            }
        ]
    
        onTriggered: {
            var selectedItem = dataModel.data(indexPath);
            invoke.uri = selectedItem.imagePath;
            invoke.trigger("bb.action.SHARE");
        }
    }
    

    Thanks for your help,
    Laurent

    OK sorry it works. I couldn't scroll because listview is initially another container.

  • Share images in Lightroom iOS Mobile app number

    I have problems of sharing or downloading of the images from the camera roll in iOS LR Mobile app.

    Regularly, the image produced is just black. This happens, when the auto tone is set. Once, the exported image is ok. I'm not aware if there is something new or simply since 2.3/LR 6.5.

    I just send you a private message. -Guido

  • What is the best way to share images via a gallery?

    Hello.

    I would like to know the best way to create a web gallery to send to people so that they can see all the photos of their children play soccer and download what they want.

    I see that there is a way to export a web gallery in LR. Is this the best way?

    I usually don't use LR, and I used pass before and would really like to know if Adobe offers something similar.

    Thank you!

    Jim

    You can share a public url to a file or a folder by using the Send link. More here Creative Cloud help | Share files and folders.

    You can share a folder using workprivate. More here Creative Cloud help | Collaborate by sharing folders.

  • Photos saving disk space to share images with your iPhoto or Aperture libraries.  Should which library I use to remove old photos?  If I delete old photos in iPhotos appear in pictures and vice versa?

    Should which library I use to remove old photos?  iPhoto or Photos?

    If you migrated a library iPhoto to Photos and you want to release the storage, you should remove the pictures of these two libraries.

    Related photos storage only comes out, after that the last linked file has been deleted.  If you do not use more of the iPhoto library, move it to a backup drive. Then simply delete the photos of your new photo library.

  • Share on Istagram image

    Hello

    In my new project, I need to share images on Istagram. Pls help where to start and is possible or not bb 10?

    Looking at the development of Instagram API, I see that it uses OAuth 2.0 for authentication:

    http://Instagram.com/developer/authentication/

    We have 2 published samples which shows how to use OAuth 2.0 in a WebWorks 10 BlackBerry application:

    I recommend to use these samples as a guide.  You should be able to integrate with Instragram in this way (unless you have all the device-specific features / restrictions).

  • How to use iCloud in the image of the host for forum messages?

    I've just upgraded my Aperture library to Photos and spent three weeks to download all my photos on the cloud.  Now that they are on the rise in the cloud, I was wondering if I can use iCloud to host images for posting on internet forums and others?  Many of them will not directly let you download a picture, a link just here where she is already hosted (using the [IMG] tags).  In the past I had used SmugMug for this, but it seems silly to pay two subscriptions for the pictures of clouds (my library is big enough I'll have to pay Apple a monthly fee for additional storage space).

    I guess the way to proceed is to implement a shared Album and set it on the Public website.  It doesn't seem to be an option in the Photos app or site generated, to set the resolution of the images related to.  Any suggestions?

    Also: If you are going to edit the original photo, the shared up-to-date automatically version?  In my quick test convert the picture black white & in my pictures library does not change appearance of the image in the shared Album.  Sounds strange because it suggests Apple organize two versions of the image - one for me and one for sharing.  Surely, who double their storage needs?  If the photos are not synchronized, I might be better off just export those I want to publish on Flikr, or something similar (but free), which is correctly set up for what I'm trying to do.

    Thank you

    I guess the way to proceed is to implement a shared Album and set it on the Public website.  It doesn't seem to be an option in the Photos app or site generated, to set the resolution of the images related to.  Any suggestions?

    Yes.  It is the only way to share image files.

    The resolution is automatically set. iCloud Photo Sharing FAQ - Apple Support

    iCloud, photo sharing supports most of the formats RAW, TIFF, PNG, and JPEG photo. Once shared, pictures taken with your standard devices, reflex, or iOS devices will be up to 2048 pixels on the long edge. Panoramic photos can be up to 5400 pixels wide.

    Also: If you are going to edit the original photo, the shared up-to-date automatically version?  In my quick test convert the picture black white & in my pictures library does not change appearance of the image in the shared Album.

    No, you need to simply share the edited again version and remove the old version of the shared album.

    Sounds strange because it suggests Apple organize two versions of the image - one for me and one for sharing.  Surely, who double their storage needs?

    Shared albums use a different part of your library to iCloud iCloud. The storage of shared photos does not count against your iCloud subscription, but it is limited, see: iCloud: My Photo Stream and iCloud Photo Sharing limit

  • Invoke the hand image + text

    What you set the mimetype when you want to share an image, but also have a text to go with the image. Keeping to "image/jpeg" and just help you add on a text of the query attribute?

    query {
                mimeType: "image/jpeg"
                invokeActionId: "bb.action.SHARE"
                uri: _dirPaths.asset + "images/MissScarlett.png"
            }
    

    This has been asked several times before and it is not possible.

    Previous discussions...

    http://supportforums.BlackBerry.com/T5/native-development/how-to-share-image-and-text-to-Facebook-an...

    http://supportforums.BlackBerry.com/T5/native-development/share-text-and-photo-for-the-same-invocati...

  • How to share the text on BBM group

    Hi I want to share text on the BBM group. How to do this?

    If during polls BBM (specific contact), I use:

    InvokeActionItem {
                title: "Share Text Over BBM"
                query {
                    mimeType: "text/plain"
                    invokeTargetId: "sys.bbm.sharehandler"
                    invokeActionId: "bb.action.SHARE"
                    data: "This is some text to share."
                }
            }
    

    And it works, but how to share on BBM group?

    And is there a documentation on the complete list of possible value for:

    -InvokeTargetId

    -InvokeActionId

    -MIME type

    Thank you

    sys.bbgroups.sharehandler is the id of the target for the BBM groups.  Here are some examples on how to share text or an image with a group BBM.  The user will be asked to select the group to share with.

    InvokeActionItem {
        title: "Share Text Over BBM Group"
        query {
            mimeType: "text/plain"
            invokeTargetId: "sys.bbgroups.sharehandler"
            invokeActionId: "bb.action.SHARE"
            data: "This is some text to share in a group."
        }
    },
    InvokeActionItem {
        title: "Share Image Over BBM Group"
        query {
            invokeTargetId: "sys.bbgroups.sharehandler"
            invokeActionId: "bb.action.SHARE"
            uri: "file:///accounts/1000/shared/photos/avatar.png"
        }
    }
    
  • How to share a LR catalog between computers?

    Hello!

    I installed on an iMac and a MBP from LR.  Is it possible to download my pictures and catalog (including amendments) on a cloud to access it from two computers?

    Thank you!!

    No, this is not possible. Lightroom requires the catalog to exist on a hard drive (internal or external) that is directly connected to the computer running Lightroom. The best way to share images between computers would be to have the catalog and images on an external hard drive, they can be moved between computers.

  • image is not listen to extracts

    I have a record OEBPS containing a folder of IMAGES created when I exported a .epub file a document in InDesign CS4.  (1) added to the IMAGE file above and (2) after opening the .xhtml file in the folder of the OEBPS using Dreamweaver, I need to display the above JPEG using the IMG tag image a .jpeg (directly from Photoshop) file.  However, using Dreamweaver < insert > < share > < image > menu does not display the .jpeg file.  Indeed, by using these menus the .jpeg file does whenever I place it in my c: directory, although of course the file displays as a fingerprint digital Windows and of course the Photoshop application that it has created.  Any ideas?

    When you have set your site you must have named a folder that will house all your images, it is there?  In addition, it is not recommended to name with plugs records, it's easier to create a path problem.

    Gary

  • Library double (iPhoto + Photos)

    Hi all

    I've been struggling with little space HARD drive for a while now, so a few months ago I decided to finally begin to organize and sort my photos correctly, eliminating the double, bad pictures, etc.

    I released a certain GB (7 or 8) yesterday, so I was very shocked when I received the message "you do not have enough space" this morning. I went to check if the library had reduced in size and I noticed that I have not one, but two libraries: iPhoto Library and photo library. The former has not changed in size (always around 100 GB), but the latter has (it is now 93BG). I suspect the two libraries are the same, except that I was changing the photo library only since I installed El Capitan in March.

    Can I safely delete the iPhoto library or I'll lose the 'event' files I used from there? I can still see the pictures in a separate folder, so I'm not sure that they have been transferred to the new library correctly...

    What do you suggest me?

    Thank you

    Hey Martyroxx,

    I understand that you see two different libraries and fear that it may take more space than necessary. In fact, I came across something similar when I tried to clean my internal drive.

    An excellent article explaining how to operate the two libraries is Photos saves disk space to share images with your iPhoto or Aperture Libraries.
    He explains how the two libraries will only use no extra space.

    See you soon!

  • Photo library takes more space on an external drive on the boot disk.

    All of my library of Photos takes about 370 GB of space on the disc to start my computer, but when I moved it to an external, the entire group is about 670 GB. While not an immediate concern, I would like to know why there is that much of a size difference.

    Hard to say since you provide nothing except a problem - a wild guess is that you migrated from iPhoto and moved to the library of Photos for the EHD breaking hard links which allowed them to share the same original and previews ( Photos saves disk space to share images with your iPhoto or Aperture - Apple Support libraries ) and iPhoto - if it's that time they each need their copy doubling storage needs

    LN

  • iPhoto or Photos?

    Which one should I use? I have both on my computer. I use OS X El Capitan 10.11.3

    Some of my photos (in each program) I can't edit. I click on edit and all the editing options are grayed out.

    I have also a large NUMBER of photos that are not displayed. They are a white box with nothing in it.

    Any idea what's going on? Where are my photos and what program should I be using? Does this mean photos are doubles and too much room in iPhoto and Photos?

    A question at the same time help

    1 you use is totally personal - support iPhoto has been interrupted for more than a year and one day he will stop working - for those who have only update every five years that is not a problem - if you install each update, it is - and Photos have more features than iPhoto and a stream of completely different work - so you fist need to make this decision

    2 - once you take a decision on the software you want to use, then you will need to provide clear symptoms and doubts, including the version and exact context

    4. with regard to space - not - when you are migrating from iPhoto to Photos both libraries use hard towards the same original photos links and previews same so little extra space is used - Photos saves disk space to share images with your iPhoto or Aperture - Apple Support libraries

    5 - and you're three updates behind - your first step should be updated to OS X 10.11.6, the current version of the operating system - which might or might not help things but is a good idea

    LN

Maybe you are looking for

  • IOS restrictions 10.0.1

    I updated my iPhone 6 the last iOS 10.0.1 and now I'm locked out access to my limitations in settings > general > Restrictions. Yes, I know that my password, but when I enter my password I get the message "Failed password attempts", to try again in 1

  • Firefox is not saving the history, what to do to save the history?

    Firefox is not saving history when remember same story is selected and im not not using any cleaning tools.Only visible history is in the closed tabs recently. So what to do?

  • Allin envy one of Wick: Rove all in one

    Unfortunately, I dropped my computer and am unable to use it because of password. This is because the touch screen is flickering, and although I have connected a keyboard and a mouse it won't allow me to type or click on use the touchscreen to enter

  • Table table 2D to shaped chain

    Is this possible. I've included a bit of code I'm working with. I'm trying to save a group of data which, as the time stamp, a double and a 2d array in a csv file. I got to the point where I am to convert the timestamp and double chain but I guess I

  • Screen becomes market in unpredictable ways. Scans say everything is OK.

    The screen of my laptop started going a week ago.  If I forced a stop down and rebooted the screen would work for a while.  I had to connect the laptop to a monitor.  I tried Windows update and downloaded optional updates relating to graphics and the