Hook request to 'share' the text feature?

Hello

I wonder how to add the application to the feature "sharing of text?

For example: in the browser, select text and click on the 'share' button, the system will open a list of applications available to select for sharing.

Which API is available for my application to do?

Thank you!

Just use the framework of the call.

https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/invocation/receiving _...

You wish to subscribe to the action of bb.action.SHARE, handling with mime type text/plain.

BBM, Twitter and Facebook are examples of how to structure your target:

https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/invocation/BBM.html

Basically just have the same target of call for sharing text like BBM, but with your own ID of target.

Tags: BlackBerry Developers

Similar Questions

  • I have the text feature blocked on my phone. as a result, I am unable to draft.exe firefox. What should I do?

    I have the text feature blocked on my phone. as a result, I am unable to get the text # to download firefox. I don't want to remove the block on my phone. What should I do?

    OK, it seems that you tried to download on an illegitimate website. Thanks for that link, it will help you a LOT.

    If you want to get Firefox on your computer, simply go to www.getfirefox.com. There is no sign up or anything, just select your language and download and install Firefox!

  • 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"
        }
    }
    
  • Use does not recognize the text feature

    This is probably the answer somewhere else, but I couldn't find the answer in the help files or I found instructional videos.

    Are drivers scanner to use the OCR text recognition features in Adobe Acrobat X? I have a local installation that is able to use this featuer and a Citrix installation that is not able to do. The only significant difference between the two is that there is no scanner driver to the Citrix environment.

    You can change the installation of Acrobat to add remove programs.

    1. in Control Panel, go to add remove programs

    2. Select Acrobat and click 'change '.

    3. click on 'Next' and then on 'change '.

    4. in the custom Setup dialog box, expand the 'Adobe PDF' view and click on "Capture of paper".

    5. Select the option "this feature and all the features of void, will be installed on local hard drive" as shown in the screenshot below

    6. click on 'Next' and then click on "Update".

    This will install plugin Paper Capture which is necessary for the performance of OCR.

    Thank you

    Bad Boy

  • Twitter share only the text

    Hi all

    This code that I use for the tweet on twitter below...

    _socialInvocation.Invoke ("Twitter", "bb.action.VIEW", "text/plain", "a: / /");

    When I use this... a: text / / is also visible in the text box and also it is shared in twitter...

    I need to share only part of text with the name of @twitterservice

    How it... any help will be really greateful...

    as

    _socialInvocation.Invoke ("Twitter", "bb.action.VIEW", "text/plain", "@twiiterservcei" + usertext.text);

    Thanks in advance...

    Idk if that helps, but for something using QML tweet I use this code

    Update query:

    invoketwitter. Query.Data = "@yourtwittername" + tweetBody.text
    invoketwitter.query.updateQuery ();

    To send the tweet

    invoketwitter. Trigger (invoketwitter. Query.invokeActionId);

    attachedObjects:]
    {Of invocation
    ID: invoketwitter

    query.mimeType: "text/plain".
    query.invokeTargetId: "Twitter".
    query.invokeActionId: "bb.action.SHARE".

    }
    ]

    I also have something in c ++ to display a twitter profile

    should not be difficult to change

    Sub App::invokeTwitter()
    {
    BB::System:InvokeManager * m_invokeManager;
    m_invokeManager = new InvokeManager (this);
    Application of InvokeRequest;
    request.setTarget ("com.twitter.urihandler");
    request.setAction ("bb.action.VIEW");
    request.setUri("twitter:connect:yourtwittername");
    m_invokeManager-> invoke (request);
    }

  • How can we change the text and fonts when you use the feature "painting".

    I use the "feature of the paint to the text of the announcement for the pictures, but I can't understand how to change the size of the text or characters.» The 'help' in the painting says that you can do both, but they don't say HOW! Help?

    Hi PTWG,.

    If your using Vista or XP while in the painting after that you drag the text window will come the possibility to change the font and size. If you do not see this option click on view and be sure there is a check box in the text toolbar.

    Does this solve your problem?

  • How to share the Image and the text on Facebook and Twitter at the same time?

    Hi, I made a text box enter the text and also produce the selector to choose the image.

    So I text and the imagePath.

    How to share this text and image for facebook and twitter at the same time?

    (the example is like checkin on Foursquare app for BB10)

    [* If you use the invocation sharing, I can't pick one, ex: come share on facebook]

    Thank you

    It is not currently supported.

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

  • When I use the text tool, or you're trying to save in I get a message "could not complete your request because of a program error." How to fix?

    I have reset all tools and preferences and restarted, nothing does get rid of the error message. I use Photoshop CC 2015 on an iMac, System.* 10.11.3.

    Here's the PSErrorLog.txt:

    2016:01:28 09:18:22: caterpillars type 0000000000000330 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000328 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000320 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000090 P5_ARef key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000028 P5_ALst key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000318 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000088 P5_ARef key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000230 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000228 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000220 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000080 P5_ARef key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000020 P5_ALst key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000218 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000078 P5_ARef key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000148 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000140 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000138 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000068 P5_ARef key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000018 P5_ALst key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000130 P5_ADsc key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    2016:01:28 09:18:22: caterpillars type 0000000000000060 P5_ARef key not found: 1: REQUEST failed

    2016:01:28 09:18:22: Volumes/workarea/PS_16_Mac_Daily_Retail/20160113.r.355/photoshop/main/photoshop/xcode/... /interfaces/UTrackResourceImp.h: 137: REQUEST failed

    This seems odd.

    Go to the Photoshop preferences > Type > select Middle Eastern and South Asian as the text engine Options > PS to restart and then, check

  • Anyone wishing to share SQL that will pull the text of the business unit that is attached to a language specification?

    Anyone wishing to share SQL that will pull the text of the business unit that is attached to a language specification?

    Select s.SpecNum, s.IssueNum, SpecSummary n.name s

    inner join gsmApprovedUsage on s.SpecID = au.fkSpecID and au.fkSpecID as 5816% AU '

    gsmApprovedUsageBUJoin j j.fkApprovedUsage = au.pkid inner join

    inner join commonBusinessUnitName on n.fkSpecBusinessUnit = j.fkBusinessUnit and n.langID = 0 n;

  • Hello, I use photoshop cc 2015 for PC. Well my PhotoShop when I try to start texxto tool says the following error message: could not complete your request because something prevented the text engine has been started.

    Hello, I use photoshop cc 2015 for PC. Well my PhotoShop when I try to start the text tool says the following error: could not complete your request because something prevented the text engine has been started.

    Go through the Troubleshooting Guide to solve this problem

    Troubleshoot fonts | Photoshop CS6 2014 CC, CC, CS5

    Error text engine using the type tool in Photoshop CC | Windows 8

  • I can't get a list of bullited when you use the synchronized text feature.

    I can't get a list of bullited when you use the synchronized text feature. The option is grayed out and no assets. Any tips? I'm doing something wrong?

    It is by default, the synchronized text does not change any style and other visual attributes associated with the instance.

    Thank you

    Sanjit

  • Could not complete your request because the program error when trying to set the text on a path

    I'm putting the text on a curve and when I click with the text tool on the way I get this error message "can not complete you request because of a program error."  Photoshop CC 2014 on Win 7 with 32 GB RAM machine.  Never had this problem before!

    Hi njquinn,

    'Could not initialize Photoshop because of a program error' is a generic error and means something unexpected.

    See the PSErrorLog.txt file in your folder of Photoshop CS5 preferences (C:\Users\> \AppData\Roaming\Adobe\Adobe Photoshop 2014\Adobe Photoshop CC 2014 Settings CC). Which could give us an idea what goes wrong. In case you are not able to understand it, please copy and paste here.

    Also, allows to optimize PS for optimal performance and then check out. http://helpx.adobe.com/photoshop/kb/optimize-performance-photoshop-cs4-cs5.html#main_Set_P erformance_preferences ; Photoshop CC and CC 2014 GPU FAQ

    See you soon!

    ~ David

  • When you use the "Fill & sign PDF" feature, is there a way to stretch to resize the text box, to an area of the page... rather than through a long straight line...?

    When you use the "Fill & sign PDF" feature, is there a way to stretch to resize the text box on a specific area of the page... instead of the text box is in a long straight line...? I do not see there is an option or the ability to do so, just want to confirm.

    Improving the management of multiple line text fields is in our plans, but for now, you need to add manual carriage return (Enter).

    Thank you

    Josh

  • How to fix the text search feature to help?

    Hello

    I face problems in seeking a text

    (1) when I seek convert .it 'N' all the small "n" in the capital "N".

    (2) If add a special character in the text field it add text... example '&'.it append with & amp...

    http://jsfiddle.NET/ravi1989/wjLmx/24/

    function searchAndHighlight(searchTerm, selector) {
        if (searchTerm) {
            //var wholeWordOnly = new RegExp("\\g"+searchTerm+"\\g","ig"); //matches whole word only
            //var anyCharacter = new RegExp("\\g["+searchTerm+"]\\g","ig"); //matches any word with any of search chars characters
            var selector = selector || "#realTimeContents"; //use body as selector if none provided
            var searchTermRegEx = new RegExp(searchTerm, "ig");
            var matches = $(selector).text().match(searchTermRegEx);
            if (matches != null && matches.length > 0) {
                $('.highlighted').removeClass('highlighted'); //Remove old search highlights  
    
                //Remove the previous matches
                $span = $('#realTimeContents span');
                $span.replaceWith($span.html());
    
                $(selector).html($(selector).html().replace(searchTermRegEx, "" + searchTerm + ""));
                $('.match:first').addClass('highlighted');
    
                var i = 0;
    
                $('.next_h').off('click').on('click', function () {
                    i++;
    
                    if (i >= $('.match').length) i = 0;
    
                    $('.match').removeClass('highlighted');
                    $('.match').eq(i).addClass('highlighted');
                    $('.ui-mobile-viewport').animate({
                        scrollTop: $('.match').eq(i).offset().top
                    }, 300);
                });
                $('.previous_h').off('click').on('click', function () {
    
                    i--;
    
                    if (i < 0) i = $('.match').length - 1;
    
                    $('.match').removeClass('highlighted');
                    $('.match').eq(i).addClass('highlighted');
                    $('.ui-mobile-viewport').animate({
                        scrollTop: $('.match').eq(i).offset().top
                    }, 300);
                });
    
                if ($('.highlighted:first').length) { //if match found, scroll to where the first one appears
                    $(window).scrollTop($('.highlighted:first').position().top);
                }
                return true;
            }
        }
        return false;
    }
    
    $(document).on('click', '.searchButtonClickText_h', function (event) {
    
        $(".highlighted").removeClass("highlighted").removeClass("match");
        if (!searchAndHighlight($('.textSearchvalue_h').val())) {
            alert("No results found");
        }
    
    });
    

    I did this my own problem...

  • Behaviors can be used on the margins of the text?

    Motion 5 5.2.3

    Final Cut Pro X (10.2.3)

    OS X (10.11.6)

    I have the text on which I want to use the behavior of the 'Link' parameter on the page layout > margins > left margin. Margins does not however seem to create keyframe or behaviors. Is there a way to link the left margin with a source parameter?

    Some parameters are not able to bind.  Margins, width, height, etc.  Put in a feature request.

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

Maybe you are looking for

  • Satellite A100-163 low wireless signal

    I just bought a Satellite A100-163, and while wireless, it works to the full 54 members of Parliament he said that the signal is very weak. My old 2430 402, who is sitting beside her said the signal is very strong and I have recently set up a satelli

  • Upgrade to modem cable with router?

    I plan to upgrade my modem cable to take advantage of the increased speed that Comcast now offers in our region. I think my Airport Extreme of 2007 could be a brake on the increase in the speed of a new modem. I would like to know if it is better to

  • HP Pavilion Notebook 15-P144NE: battery and not charging

    Hello I bought a laptop from Doha yesterday and now I am in India. I used the computer laptop 2nd time, 1st time, I loaded the laptop and used but yesterday I do not charge the battery and used with Player in the charger. After a few hours battery dr

  • Iconia one 7 geschenk bekommen

    Hallo kann mir helfen, ein Iconia one 7 gechenkt bekommen habe someone vieleicht. beim q asked er mich nur nach 2 Fremdsprachen Englisch oder Spanish. Aber ich möchte Deutsch, mach ich das um wie're zu change? I think auch nicht das're gibt nur 2 lan

  • print white opptions

    When you try to print a text from wordpad, it do not give me any opptions impression. They're there but empty and the top bar comes up with symbles like u ^ D Tried to uninstall and reinstall unplugged and reset the computer and the printer. Also use