(bb10) Invocation framework

Hi guys!

It's going to be any kind of invocation for Android Runtime Framework?

I mean, I wish that my application to register as a default application for a file extension and I want the user to have the choice to open this type of file with my application.

This is for the natives and executives of air but what happens with an Android?

This is currently not supported, but is something we are considering for future releases.

Thanks for the comments!

Tags: BlackBerry Developers

Similar Questions

  • How to share text and image at the same time using Blackberry invocation framework

    Hello

    I need to share the text and its corresponding picture to FB, Twitter and BBM using the framework of invocation of blackberry. No invocation framework support for images and text sharing simultaneously.

    When I use the mime type as text/plain, the url of the image and the text is shared and when it is image/jpeg is used only the image is shared and not the text. Here is the snippet of code used.

    ShareDataTo=function shareTo(key) {
    //shareImage();
    var text ="";
    
    text = itemObject.myName +"\n My Age : Rs."+itemObject.myAge+"\n Address "+itemObject.address+"\n"
    try
    {
    blackberry.invoke.invoke({
    target: key,
    action: "bb.action.SHARE",
    type: "text/plain",
    data:text
    });
    }
    catch(Error)
    {
    //alert('in ShareDataTo error '+ Error);
    }
    }
    

    Help, please

    Kind regards

    Annuk

    This is not currently supported.  Now, you can make a text or an image, but not both.

  • Attach the file to your e-mail via mailto + invocation framework

    I am tryng to attach a file to an e-mail message using the mailto syntax.

    The email app is opened by the framework of the call

    MailSubject = "Test"
    MailBody = "Hello!";
    
    // create handler invocation
    navigator_invoke_invocation_t *invoke = NULL;
    navigator_invoke_invocation_create(&invoke);
    
    // setting the browser as target
    navigator_invoke_invocation_set_target(invoke, "sys.pim.uib.email.hybridcomposer");
    
    // set invocation action
    navigator_invoke_invocation_set_action(invoke , "bb.action.OPEN, bb.action.SENDEMAIL");
    
    // Setting URI
    navigator_invoke_invocation_set_uri(invoke , ("mailto:[email protected][email protected]&subject=" + MailSubject + "&body=" + MailBody + "&attachment=" + "file:///accounts/1000/shared/print/file").toAscii().data() );
    
    // invoke the target
    navigator_invoke_invocation_send(invoke);
    
    // clean up resources
    navigator_invoke_invocation_destroy(invoke);
    

    I tried to delete file:/// and put / alone but doesn't either.
    The file is located in the shared folder and I know is the only way to attach a file to an email.

    https://developer.BlackBerry.com/native/documentation/core/email.html

    There are a few examples, but none of them have pre-compiled field such cc + object + body + attachments together.

    Can someone help me?

    Thank you

    I went from Json to QVariantMap and no, it works without problem. Here is the code:

        bb::system::InvokeManager InvokeManager;
        bb::system::InvokeRequest InvokeRequest;
    
        QVariantMap EmailData;
        QVariantMap EmailDataWrapper;
    
        EmailData["to"] = "[email protected]";
        EmailData["cc"] = "[email protected]";
        EmailData["subject"] = "MailSubject";
        EmailData["body"] = "MailBody";
        EmailData["attachment"] =  "/accounts/1000/shared/print/file";
    
        EmailDataWrapper["data"] = EmailData;
    
        InvokeRequest.setTarget("sys.pim.uib.email.hybridcomposer");
        InvokeRequest.setAction("bb.action.COMPOSE");
        InvokeRequest.setMimeType("message/rfc822");
        InvokeRequest.setData(bb::PpsObject::encode(EmailDataWrapper , &bool_result) );
    
        InvokeManager.invoke(InvokeRequest);
    
  • Share an image for Facebook or BBM using Invocation Framework?

    Hi, is it possible to do?

    I finished an Image editing application and would like the user to be able to hit the 'SHARE' button and they would be taken as an option to the place where you can share (BBM, FB, TWITTER).

    How do we proceed? Thankssssss

    It is possible.

    You must use the framework of the invocation, to be precise 'Citing of basic Applications.

  • Facebook sharing using invocation framework

    I want to share a url in facebook. I used the code below

    BlackBerry.Invoke.Invoke ({}
    target: "Facebook."
    Action: "bb.action.SHARE."
    URI: ""http://goodliving.gulfnews.com/bid_travel#.UoRZpPnI2So ", "
    (}, onSuccess, onError);

    It displays the url and preview in the facebook page.

    But I need to get an overview only.

    Please help me to do this. Thanks in advance.

    All available for Facebook invocations are listed here:

    http://developer.BlackBerry.com/HTML5/documentation/Facebook.html

    There is only a single call to URL and it seems that it is the default behavior with no way to remove the URL from the content of the action. It comes from depends on implementation of the Facebook sharing itself.

  • Invocation framework icon problem

    Hello

    I have this problem, I created a group data model to store the possible news of the APP to invoke to share an image.

    I fill out the model of data without problem, include the .label, .name and the icon of each target.

    But when I try to use the icon with the url provided by the application target and my app then says it cannot be found.

    IM receiving this url for foursquare

    "/ apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png".

    This is the error log:

    Aug 09 00:17:16.274 com.example.Camculator.testDev__Camculatorfdc2d092.9199832 default 9000 WARNING Image not found: "/ apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png".

    And it's happening with all the other objectives inoked, bbm, whatsapp etc.

    What could be the problem?

    Thank you

    OK I found it

    I tried with my Z10 and the icon were broadcast, but in the dev is not alpha!

    So I checked the dev alpha os version is 10.1.0.1483 and the z10 is 10.0.10.690

    The previous version of the os when you try to find a file outside of your app directories you must add "file://" to get there. I knew that, but he never saw the double colon I was trying by "file://", my bad

    If the code would be like this

    QString direc = "file://"+target.icon().toString(); Add the file://

    Entry QVariantMap;
    entry ['imageSource'] = Director; Insert int the entry for the groupdatamodel information

    m_model-> insert (input); Insert the entry int the datamodel

    Director will take this Valley foursquare

    'file:///apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png '.

    then read it in my list in qml item

    {To ListView
    ID: model
    dataModel: model

    listItemComponents:]
    {ListItemComponent}
    {StandardListItem}
    Title: ListItemData.label
    imageSource: ListItemData.imageSource
    }}]} ...

    attachedObjects:]

    {GroupDataModel}
    ID: model
    objectName: "modelo".
    }

    'file:///apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png '.

    This work!

    Thank you

  • Q10 Invocation Framework: citing Email

    I used code below for app Z10 snippets to invoke the email app, but unfortunately they do not work for Q10.

    Any idea?

    blackberry.invoke.card.invokeEmailComposer({)
    Subject: «»,
    body:
    à : « »
    }, function() {}
    BlackBerry.UI.Toast.Show ('Success');
    }, function() {}
    BlackBerry.UI.Toast.Show ('Error');
    });

    BlackBerry.Invoke.Invoke ({}
    target: "sys.pim.uib.email.hybridcomposer."
    Action: "bb.action.SHARE."
    type: "text/plain",
    "" data : "
    }, function() {}
    BlackBerry.UI.Toast.Show ('Success');
    }, function() {}
    BlackBerry.UI.Toast.Show ('Error');
    });

    The reason was that the apps required target had not been included. I've updated to the latest version of the os and it works!

    Updated link: http://developer.blackberry.com/blackberry10devalpha/devalpha_update.html

  • Use the invocation Framework to emulate background processing

    Hello

    Is it possible for a target Service to continually call himself? (http://developer.blackberry.com/native/beta/documentation/app_integration.html)

    If the application that called the target service is completed, is destroyed service are, it continues to run?

    Thank you.

    What is the Service target summon you?

    The only authorized background services are those provided by the system, create your own service is not supported at this time.

    I recommend that you look at using push if you want to avoid running in the background.

  • BB 10 Service integration, sample invocation

    I created somes apps and games for BB10 using AIR and want to have qualified for B4B apps.

    The most important requirement for B4B "BlackBerry 10 Service intégration", has everyone, example code for the integration of BB10 services?

    I guess that same invocation Framework is also valid. All source code would be appritiated.

    http://supportforums.BlackBerry.com/T5/Adobe-AIR-development/BB10-invocation-tutorial/TD-p/2028793/p...

  • Video clips on BB10 using WebWorks

    Hello everyone, I have a question for Webworks for bb10 before that, I create an application for the live broadcast for playbook. and it works. When I try to package in the bb10 webworks. It seems can not do any streaming. and the player does not appear. is the webworks playbook not even bb10 webworks? If not even. can anyone help me to a good reference? TIA

    Hello

    There are a few differences between the implementation of the WebKit PlayBook and BlackBerry 10 WebKit application, but to base 10 BlackBerry should have a majority of the same support available. Can you please confirm that you test on 10.0.9.388 for BlackBerry 10?

    In addition, you are able to create a basic example of JSFiddle and JSBin that you can share in your answer? This will allow us to analyze the sample and display/change source while studying.

    If it ends up being feature that should be supported, but is broken, then a bug at the FOLLOWING report might be the best way:

    https://github.com/BlackBerry/BB10-WebWorks-framework/issues?State=open

  • Sharing framework

    Hello

    In reading the slides of bb10 jam, I noticed several references to the BB10 sharing framework. It is supposed to be an essential feature of the operating system. What it means? And why we will in our applications?

    Is something like the menu send api we have in java api 7, I mean something that takes an argument, and the user can send to twitter, facebook, bbm,...?

    Thanks for your help,

    Laurent

    You don't mention the slides, I have to guess what they were talking about was part of the appeal.

    It is not released yet, so we don't have access to it even in the beta version of Cascades NDK.

    If that is what you are talking about, your description of what is her covering some aspects of it. It is a superset of those...

  • Sharing of framework in the Beta3

    Hi guys,.

    could someone already find documentation on the sharing framework, which should be available in beta 3? So far I found only things related to share via NFC but not to share via email, twitter, bluetooth, etc...

    Thank you

    Conny

    I think that the framework 'sharing' you mention is just another case to use the framework of the call, with a few predefined actions (maybe bb.action.SHARE?) and other parameters. If Yes, they are actively working on the finishing document all of these Invocation Framework uses and will be posted the docs for him shortly (I think in a week or two at the most, based on what I heard yesterday).

  • Invoke the framework to share via NFC

    I have an application that processes webworks nfc read via the api called successfully, but need to write a text simply return to the tags. I see that support nfc does not come any time soon

    https://github.com/BlackBerry/BB10-WebWorks-framework/issues/568

    So my question for the use of the invoke framework to write the tag. I tested the waterfalls sample applications (NFCTool and NFCToolLite) that do exactly what I need. NFCToolLite uses the framework to invoke to share text with a tag.

    I tried many combinations of target, action and type based around

    Target: 'sys. NFCViewer,"action:" bb.action.SHARE", type and uri:"application/vnd.rim.nfc.ndef"and"ndef://2/text/""

    With no luck. Is their anything I can do to share short trying to write my own native extension text within webworks nfc tags?

    see the code sample I wrote here; https://github.com/BlackBerry/BB10-Webworks-Community-Samples/BLOB/Master/NFC/ndefTagReading code is there to analyze and build tags NDEF, easy access to the content of the tags well known Custom byte level access... (and writing via invoke)

  • Error in the file Picker BB10

    When I try to choose a file to my device A DevAlpha containing an apostrophe in the file name, for example: "Gettin ' on you (Featuring Fergie & LMFAO) .mp3" file selector return syntax error: at least one digit must occur after a comma.

    I would like to ask - is it possible to fix this error?

    Thanks in advance.

    Nice work, you have found an error in our implementation of the file picker. I have confirmed that this is a problem with what we do. Apparently our encoder does not properly handle single quotes. I will file an issue on our end and let you know how it goes.

    You can follow here: https://github.com/blackberry/BB10-WebWorks-Framework/issues/385

    Thanks a lot for us to know. You can follow the progress through that issue.

  • BlackBerry App that enables other applications on the device according to the events of time and/or location

    To create an ABC App that performs the following operations - are the points below as possible for the Blackberry OS 6 and 7?  Yes/No :-) - and whether links to the code samples.

    (0) is still active (though in the background, possible?), while in the background, it will be as described in (2), (3), (4) and (5) below.

    (1) see the other apps on the phone (what kind of applications are possible?)?   The following points (2) and (3) are mainly possible if (1) is possible.

    (2) can activate the apps and activities seen in (1)? (depending on the configuration of the user in ABC app)

    The applications can be started with the entry of parameter?

    (3) sends messages for background apps on the phone (from ABC app, depending on the configuration of the user in ABC app), who are running in the background.  (3A) is the model of Blackberry Sandbox allow applications to share data (files)?

    (4) you can make (2) and (3) above according to tell of a weather event

    (5) following the location of users (if the user allows) and designated operational entities (2) and (3) if the user reaches or crosses a specific location.

    Thank you

    Paul

    You can run (yet) background apps, although there was much demand for such a feature and most valid use cases provided. I can't imagine that this is not in the pipeline.

    You can not (yet) start other applications or communicate with them, but who was announced for BB10 and is called "invocation framework". At best, the details are still sketchy.

Maybe you are looking for