Invocation of the map

Hello

I am trying to use a card to add a calendar event, but my code below does nothing.

    actions: [
        ActionItem {
            title: qsTr("Add To Calendar")
            imageSource: "asset:///IMG/ic_add_entry.png"
            ActionBar.placement: ActionBarPlacement.OnBar

            onTriggered: {
                invokeCalendar.trigger("bb.action.CREATE")
            }
        }
    ]
    attachedObjects: [
        Invocation {
            id: invokeCalendar
            query {
                mimeType: "text/calendar"
                invokeActionId: "bb.action.CREATE"
                invokeTargetId: "sys.pim.calendar.viewer.eventcreate"
            }
        }
    ]

If possible, I would like to prefil the subject, body and time of the event.

I looked at Brian Scheirer code: http://bbcascadescode.tumblr.com/post/39391083442/new-calendar-year but I could not make it work either in level API 10.1 or 10.2, so I'll try to simply create a map on his own in QML instead.

Any help would be great.

Thank you

Yes, I see the same thing. You may have found a bug, log on the developer Issue Tracker: SAID

For now, I would recommend that you configure invocation in C++, as the examples in repo presentation Invoker calendar

Tags: BlackBerry Developers

Similar Questions

  • Add WebWorks App to share the map

    Dear community,

    How can I add my Webworks App for the ShareCard?

    I want exaclty:
    I want to 'share' link from the browser native of my application, but I can't find a solution how to add my application to share the maps.

    Someone knows how to do this?

    I believe that this sample application shows how to do this.

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/invocation

    Above all, you will be interested the app "Remained" in this repo.

  • text using the map on the part of sharing

    Hello

    I want to share some text using the map on the part

    but I am facing a problem

    I have a list view, after loading data to the listview, I'm to that data to a property and then passing data for sharing

    but unable to see the data, but if the text of a label, I can see this text

     ListView {
    
                    id: myListView1
                    property string p_sharing : ""
                    dataModel: dataModel1
    
                    // Use a ListItemComponent to determine which property in the
                    // data model is displayed for each list item
                    listItemComponents: [
                        ListItemComponent {
                            id: listiemm
                            type: "item"
    
                            Container {
                            //    property real p_font_size: 10
                                id:mainlist
    
                                rightPadding: 20
                                leftPadding: 20
                                horizontalAlignment: HorizontalAlignment.Center
                                verticalAlignment: VerticalAlignment.Center
                                layout: StackLayout {
                                    orientation: LayoutOrientation.TopToBottom
    
                                }
    
                                 Label {
                                    id: title
                                    horizontalAlignment: HorizontalAlignment.Right
                                    verticalAlignment: VerticalAlignment.Top
                                   text: ListItemData.title
                                    multiline: true
                                    onTextChanged: {
                                        mainlist.ListItem.view.p_sharing =title.text
                                        console.log("news Title label --->"+ mainlist.ListItem.view.p_sharing)
                                    }
                                }
                                }
    

    outside the list, I have my share button and a label

      ImageButton {
    
                        id: btnshare1
                        onClicked: {
                            share1.trigger("bb.action.SHARE")
    
                        }
    
                        attachedObjects: [
                            Invocation {
                                id: share1
    
                                query {
    
                                    mimeType: "text/plain; charset=utf-8"
                                    invokeActionId: "bb.action.SHARE"
                                    data: ss1.encodeQString(myListView1.p_sharing) ;
                                 //   data:myListView1.p_sharing
                                }
    
                            }
    
                        ]
                        defaultImageSource: "asset:///images/list.png"
                        pressedImageSource: "asset:///images/list.png"
                        disabledImageSource: "asset:///images/list.png"
    
                    }
                    attachedObjects: [
    
                        WebImageView {
                            id: ss1
                        }
                    ]
    

    and here is the label

    Label {
                    id: lbl
                    text:"abc"+ myListView1.p_sharing
    
                    horizontalAlignment: HorizontalAlignment.Center
                }
    

    I can see the value of the property in the label, but you see is not the text in the map sharing

    any help?

    TheMarco has published a tutorial on how to make this a few months back

    https://forrst.com/posts/Adding_Social_Sharing_through_Invocation_to_your-FMZ

  • Invoke the map sharing in C++

    Hello developers

    I am trying to invoke the map sharing in C++, but it seems that it does not work as expected. The map tell you is this one...

    The code I have so far is the following

        InvokeRequest request;
        request.setAction("bb.action.SHARE");
        request.setMimeType("text/plain");
        request.setData("Test for sharing");
    
        InvokeManager manager;
        manager.invoke(request);
    

    When I run this code, it will invoke a card asking me to select a BBM group. It's like I have already chosen the BBM group option in the sharing card.

    Does anyone have an idea why this goes wrong?

    You request an independent appeal.  When you perform an independent application that allow you to choose the application to use the framework of the call.  To display the selector as you want, make a connected call but do not specify a target.  Here's how:

    QString path = QDir::current().absoluteFilePath("shared/photos/avatar.jpg");
    m_pInvocation = Invocation::create(
            InvokeQuery::create().parent(this).mimeType("image/png").uri(
                    QUrl::fromLocalFile(path)));
    
    QObject::connect(m_pInvocation, SIGNAL(armed()), this, SLOT(onArmed()));
    

    and then...

    void BBMInvocation::onArmed()
    {
        m_pInvocation->trigger("bb.action.SHARE");
    }
    
  • Look at the maps app will not stop

    When I look for direction in the maps on the watch application, it will not stop after that. I looked for directions to the airport, and then it does not cancel and kept taking me to the airport. I have ensured the application Maps on my phone was not working and he cancelled it but always watch will not stop.

    I tried it yesterday and now today the watch gives me directions to the airport.

    I tried to remove it from the docking, restarted my watch. Watch app from the phone Checked, but nothing works.

    Hello

    To stop your watch directions: open the Maps app on your watch > firmly press the display > press on for policy decisions.

  • I have a chase bank credit card that I have good ranking and what number do I call to talk to I tunes because he says, use a different card, it's the map I was buy everything what I tunes. Is it because I have challenged their load m

    I have a chase bank credit card that I have good ranking and what number do I call to talk to I tunes because he says, use a different card, it's the map I was buy everything what I tunes. Is it because I thought them charge me twi

    Can I have it please the number on I tunes support whether please or have them call me at * Leonardo B *.

    < personal information under the direction of the host >

  • Update the maps.

    Hey, I have an Iphone 6 s(16GB) in which the maps does not show me the nerby location; For example. (If I find CCD in my area it will show the CCD in the my location (in India) otherwise, it will show the CCD everywhere in the world) I thought it could get better in the next software update, but not had until now. Apple needs to improve maps. Otherwise, please send me the solution for the problem.

    Software I use: I am currently using IOS 9.3.4.

    Aditya.Bobde wrote:

    Hey, I have an Iphone 6 s(16GB) in which the maps does not show me the nerby location; For example. (If I find CCD in my area it will show the CCD in the my location (in India) otherwise, it will show the CCD everywhere in the world) I thought it could get better in the next software update, but not had until now. Apple needs to improve maps. Otherwise, please send me the solution for the problem.

    Software I use: I am currently using IOS 9.3.4.

    http://www.Apple.com/feedback/

  • In google maps, after seeing satellite or view, links on the map does not work, I have to charge google maps and start all over again

    When I open google maps, the links displayed on the maps can be used. However, if I change to a view street or satellite view and then return to the display of the base map, links displayed on the map is no longer working. I have to leave google maps and reload to get the links to work again.

    Hello peterronald, many site problems can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

  • My google map stopped working: I have firefox 12.0 and my google map shows just a white square instead of the map.

    My Google map does not load. It displays an empty blue square instead of the map. I disabled all extensions of pluginsand started in safe mode, cleared cache and cookies, but nothing is done. WOT to do!
    It works in Chrome, but also have the same problem with IE9. I don't know when it started, but it was working fine last month.

    Looks like a problem with the width of the containers that have the width set to 100% 0

    These style rules make the images appear for me:

    @-moz-document domain(www.ctiscarborough.org.uk){
    div.view-content > div > div > div,
    div.view-content > div > div > div > div,
    div.view-content > div > div > div > div > div {width:100%}
    }
    
  • Is it possible to change the voice in the maps app?

    The voice in the maps app is boring, that I just want to be able to change it.

    Hi joegadney,

    Thank you for using communities Support from Apple.

    The voice you hear on your navigation Maps is also the voice you have selected for Siri.  You can change it by following the directions below:

    Change the language or the voice of Siri

    To change the voice of Siri, go to settings > general > Siri > voice between the sexes. To change the language of Siri, go to settings > general > Siri > language. Then choose from the list of languages that understands and speaks of Siri.

    You can use Siri in any country, with the supported languages. Siri is designed to recognize the accents and dialects of the supported country, Siri accuracy rate will be higher for natives. Learn who has Siri is supported in what countries.

    Use Siri on your iPhone, iPad or iPod touch

    Take care.

  • My current position on the map is off by a few blocks

    I always use the Maps app on my iPhone 6 to obtain places just like a normal person. Then, I noticed that my 'current location' was not there where I am. It was almost half a mile away! Does anyone know how to fix this?

    You have turned on Wi - Fi? Location services may be affected by a number of things, including the fact that a Wi - Fi connection must be switched on. The iPhone uses GPS, cell location location and location information with band wifi. Sometimes, if changes have been made to the local Wi - Fi networks, it can lead to some issues. Have you tried standing outdoors with a good view of the sky and try to check your location? That could make things.

  • Is cell required when you use the map applications of conduct?

    Is cell required when you use the map applications of conduct?

    Yes. GPS does not work with a Wi - Fi connection.

  • favourite on the map

    Hello

    Using my card, I discovered that all my favorite places that I previously scored from everywhere in the world, have disappeared. And the function seems more available. How do I rebuild my old favorite places?

    Thank you

    Mikkel

    Hello there, mikkelwold.

    Looks like you are the favorite in the cards places have disappeared and you want to know if the service is no longer available. The following link for iPhone online User Guide shows how to locate and add a favorite in the Maps application that can help to restore your Favorites:

    Find a place - the iPhone user Guide

    Looking for a location. Press the search field. You can search for a location in different ways. For example:

    • Intersection ("8th and market")

    • Area ("Greenwich Village")

    • Cue point ("Guggenheim")

    • Zip code

    • Business ('movies', 'San Francisco CA restaurants', 'Apple Inc New York')

    Maps also can list recent locations, research or guidelines you can choose from.

    Find a favorite location. Press the search field, type Favorites, and then click Favorites.

    Find the location of a contact. Press the search field, type on Favorites, press Contacts, and then tap on a contact's name.

    Choose your point of view. Press on , then choose map, Transit or Satellite.

    If the information of public transit is not available, press on see Routing Apps to use an app to the public or to other modes of transport. (Not available on the iPhone 4S.)

    Mark a location. Tap and hold the map to what appears a PIN dropped.

    Thank you for reaching out to the communities of Apple Support.

    Kind regards.

  • I want to remove my details to come in the maps application is private and I don't want to share it. Can anyone help

    I want to remove my details to come in the maps application is private and I don't want to share it. Can anyone help

    You can contact Apple for this because there is no option to remove on your end. 1-800-MY-APPLE

  • How to stop the maps zoom before or back on the paging upwards or downwards?

    On Macbooks, the trackpad causes some windows of page zoom (slide up) or zoom out (by dragging down). Usually, this happens with windows that show cards, but other windows, too. This doesn't cause me any irritation, the end since it happens several times a day. I drag it to the bottom of a web page, completely unsuspecting and, in doing so, I slip on a window which completely zoomed out, making it impossible to see what was there. In the case of a map window, this moves the center point of the map to a preset, far from where it starts. To adjust the new focus TI where I needed.

    There is no need to have this function trackpad, since almost all the cards on the web comes with a built in zoom sufficient control. So I would like to disable this feature special trackpad. But I have not found a way to do this.

    Anyone know how? (Assuming that it is possible to turn it off.) Otherwise, I think that Apple should reprogram its trackpad. I don't want to zoom function included.)

    You should be able to disable this feature in the preferences system paved. Should be a checkbox under two fingers to zoom in the screen.

Maybe you are looking for