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

Tags: BlackBerry Developers

Similar Questions

  • The pdf I want to change has all embedded fonts.  When I try to insert a comma, I get the message, "all or part of the selection has no available system fonts.» Cannot add or remove text using the selected font. "Will I still have this problem

    The pdf I want to change has all embedded fonts.  When I try to insert a comma, I get the message, "all or part of the selection has no available system fonts.» Cannot add or remove text using the selected font. "Will I still have this problem if I'm updating from Acrobat X?

    You have the fonts installed in the system. This has not changed. (Having the police is not always enough, but it is certainly necessary).

  • I need to register cs2 once again, I need to use the part of the program bridge

    I need to register cs2 once again, I need to use the part of the program bridge

    There is nothing you can do to save your version/copy of CS2.  There is a special version for those who own CS2 and need to reinstall.  Infos and downloads are available through the following:

    CS2: Error: unavailable activation server | CS2, Acrobat 7, hearing 3 -.

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm

    https://helpx.Adobe.com/Creative-Suite/KB/CS2-product-downloads.html

  • Creating a configuration supported MSCS by using the node and sharing of majority files in VCD?

    Would like to know if 1.5 VCD with Vcentre 5.0 & ESXi 5.0 can support SQL2012 of installation of the cluster using the majority file sharing and node running on Windows 2008R2

    not that I can find.  Maybe you can be a first and blog the heck out of him.

  • The screen goes black when I click and drag text, use the version on my 18.0.2. Thank you

    I'm entering text in the space of your question and click on a Word to drag it to another location, or if I am writing something in an email on gmail and click on a part of the text to drag it to another part of the text, the screen goes black as soon as I start to drag the text

    -Installing and re - install, it's what makes work - although I've still "hardware... use" unchecked.

  • How doi send texts using the speech function without hitting the Send button?

    using the speech function in texting, how to send the text without actually pushing the Send button? When I say 'send' or 'send message' he just keeps typing

    "Hey, Siri, send a message to Bob. Siri will then ask you what you want text Bob. Once you stop dictating, Siri will ask then if you're ready to send the message. Say, "Yes." It's really very nice.

    If you are already in the message app and using speech-to-text, you must press the Send button.

  • 32BV500B - blurry text using the HDMI and PC connection

    Hello

    I currently use the 32BV500B as HDMI PC monitor.
    I would rename the entry 'PC' to allow the TV HDMI mode "pc" to correct a blurred text.
    I don't see any option to do this, use the menu system.

    Otherwise, how can I turn on the TV in the mode "PC"?

    I can confirm that I tried different HDMI cables and the blurry text only occurs via HDMI on 2 different computers.

    Thank you.

    Hello

    It seems that the HDMI connection can be switched in PC mode.
    PC mode is available only for the VGA input.

    Please take a look at page 28
    http://www.Toshiba-OM.NET/LCD/PDF/English/Country_Specific/BV500-32-English-specific.PDF

    For switching source PC, press the "SOURCE" on your remote and select the PC input. You can also use the Source menu to switch to PC mode.
    Note that PC mode menu settings are only available when the TV is in the source PC.

    But if you have connected the PC to the HDMI port and the image is not clear enough, I recommend you to change the level of sharpness in the image menu.

  • Project seems OK to iMove, using the part of the video is damaged.

    I created a project in iMovie. 10.1.1. everything looks and plays OK.

    It contains only clips and transitions, video camcorder and original sounds.

    It plays OK in iMovie.

    Using the shared file... translates into a corrupted mp4 file.

    I tried various resolutions, always the same result.

    Here is a screenshot of part of the video, which does not play, some static, some jerky movements.

    Thank you.

    Hello Tokyo,

    Thanks for the screen shot showing the corruption of the shared iMovie project. It is encouraging that the project plays well in iMovie, but we need to isolate what can happen here.

    Before you begin, it is always good to have up-to-date backups.

    OS X El Capitan: of alternatives for the backup of your Mac

    You have tested with different resolutions.  It also happens with different Compression and quality settings?

    If it works, it can get you an export but we should always isolate why these exports did not work.

    This happens with other projects?  If this isn't the case, then there is a problem with this project specifically.

    If you do not currently have another project to test with you can create a new little project for the test.

    iMovie (2013): create a new movie

    You can use the construction in camera to create new content, fees for the test.

    If the problem is with just the initial project, you can duplicate to troubleshoot a copy.  Duplicate project by clicking on it in the Finder and choose duplicate.

    That your project contains only clips and transitions, first to see if it is a question of transition by removing the (or half of them) and to share to see if it works now.  If it works, one of the deleted transitions is the question and you can begin to add to that their return to isolate.

    If it is not yet implemented with no transition, then it can be a problem of clip. As with transitions, take half and test.

    iMovie (2013): organize your events and projects

    Continue to isolate to refine the offending clip.  Then re - import fresh clip and test.

    Note to check 'the other half' if necessary, it may be easier to delete this test project and to reproduce the original again to continue his tests.

    If the problem occurs with all projects and then see if there is a problem with your user account settings by testing with another user account.

    How to test a question in another account on your Mac - Apple Support

    Test with a new project and see if it works with this new account.  If so, then there is a problem with your user account, and we need to clean up.

    1 open the ~/Library folder in your user account

    2. move anything in the files Caches and preferences that starts with com.apple.imovie on the desktop

    including the iMovie user specific files:

    iMove 2013:

    ~/Library/containers/com. Apple.iMovie.app

    ~/Library/caches/iMovie/

    3. search for and move plugins QuickTime of third party on the desktop:

    / Library/QuickTime /.

    Here's the Apple Codecs that do not need to be removed:

    /Library/QuickTime/AppleIntermediateCodec.component

    /Library/QuickTime/AppleMPEG2Codec.component

    4 restart the computer and test. If it works, you can remove the files from.  If no change, you can put the removed preferences by replacing the newly created files.

    If the problem occurs with the new user iMovie itself may need to be reinstalled.

    OS X Yosemite: install, update and uninstall applications

    This may seem long, but the goal is to isolate which raises the question so we can fix it.

    Please let us know how it goes.

  • Can I use the part of a file name in a watermark?

    Hello

    I have a lot of files to .tif I need to convert to PDF and then affix a unique watermark.

    This watermark will be based on the file name, but only a part of it. For example a document with file bmw06125_x_1.pdf name should be stamped with a watermark indicating something like "see mw06125".

    So basically, what I need is the mw06125 of the file name part to be part of the watermark is it possible with my copy of Acrobat Pro.

    I am very new to this software and I still have to use it effectively, but I don't know that it will allow me to automate a large number of stamping and conversion. I was also wondering if it was possible to use Excel spreadsheets as part of automation, because I am able to write a formula that will allow to create the name.

    Any help would be appreciated.

    -Alistair

    You can use the wizard from the Action with JavaScript for this.

  • Beyond a simple text on the Clipboard in the text using the key field

    Dears

    You would tell me is it possible of past a simple text on the Clipboard into a field of text using button with javascript or something else?

    What is my problem?

    I have prepared a simple form using adobe acrobat dc. This form will be used in the local network. so, we can open the form of google chrome. There is a large text field in this form and we have passed the text to the Clipboard in there.

    normal, when we are using adobe acrobat to open the form, it is easy to right click and select "PASTE". but we need open the form using google chrome. in this case, no item to paste from the Clipboard.

    Please help me.

    Concerning

    In General, no, it's not possible.

    However, if you apply a certain change in the registry then work could . I told you how do it here: paste it from the Clipboard text box in form

  • I can animate individual characters in a block of text using the Wiggle Expression?

    I'm new to after Express and just diving in expressions. I was trying to understand if there was a simple way to use the wiggle expression so that he would wiggle of the individual characters in a text block independently of each other.

    Certainly appreciate any help.

    Have you tried the earthquake selector? Alternatively, you could add a selector expressions and add and raise the expression as follows:

    seedRandom (textIndex, true);

    Wiggle (1,100)

    Dan

  • seems to pale, as dark instead of the dark gray text using the text tool

    Why the text entered using the text tool seems pale? The color is not a clear black, as in Microsoft Word or any other processor.

    Amir Lev wrote:

    I played with the options that people have suggested and finally managed them to draw text in 'black' and 'recording' and see the difference when "Proof colors" is selected. It seems that it is simply the way that InDesign draw text on screen, which is certainly less sharp than Microsoft Word (if I'm wrong, I'll be happy to know).

    Thank you all for helping me. This forum is great.

    You should NEVER use the 'Registration' color for what what is content in InDesign. No text, no box. Black Black Dungeon. If you create print then work in CMYK and use the [Black] in square brackets because it will be default overprint.

    That InDesign is less strong, I never have heart or seen, but how to crisp your policy comes, depends on your settings personal screen in Acrobat. Most never will send you an INDD open to your client or printer, but always a PDF exported, how it looks in InDesign to format PDF is not important. And you should avoid the use of transparency above the text, because this could rasterize text (and also of the vectors) which will not look so crisp as if the text (and vectors) may be vectors for the output.

  • Change size of font or text using the method app.alert?

    Hello

    Is it possible to change font or text size using the method app.alert?  Here is the JavaScript code that I use.  I would like to change the size of the text (and I hope that the police) of GMMC.  I also prefer to change the size of the alert box, but it is not critical.

    var loan = app.alert({)

    CMSG: "press Ok to select the half section.  Press Cancel to exit. «,

    CTitre: "select a Half."

    nIcon: 3,.

    nType: 1

    });

    Thank you!

    No, you can't.

  • How can I create a series of blocks of text using the Excel list values?

    It is first of all, the first script I am trying to write from scratch. I'm completely green at the script and I picked up a few bits of ID Adobe scripting guide, but nothing has really stuck still relating to this particular goal.

    My supervisor maintains a master list of advertising space, with the name of the account, is the width of the space, and how space is the height, in an Excel sheet. These spaces can number in the hundreds, and I'm stuck manually drawing a rectangle for each space, which takes a lot of time.

    I would like to create / helped to create a script that will take these values and "magically" to draw these spaces in the form of blocks of text, with the width (in columns) and the height (in inches) defined by the values in the main list, as well as the name of each account in the subsequent text frames.

    The script didn't necessarily need to be able to pull the values directly from the Excel sheet; Can I transfer a file text if necessary, or directly in the script, values he change because I need it. A great thing (if she is not able to pull directly from an Excel sheet) which is the number of spaces a week changes, and so do the accounts and the width and height. Accordingly, it would be ideal that values of the sheet could be modified easily, in order to create a new set of spaces as necessary.

    Positioning for each space is not crucial, only the height and width. If they were all on top of each other on the same page, it is a result for me. The main idea is to not have to draw them all manually, one by one.

    For me, this looks like a command, but I hope that some experienced there Scripting Guys can help me, because I want to become experienced as well.

    Thus, the TL; DR version:

    -Script to draw a series of text blocks.

    -Size of the text boxes should be defined by the values width and height of spreadsheet Excel.

    -Text blocks must have the account name as content (from account in the Excel worksheet names).

    -Accounts, width and height changes every week in the Excel sheet, so must be relatively easy to exchange all values.

    -Width values on the Excel worksheet columns. It would be ideal that the script could turn those numbers into multiples of columns as necessary.

    -Script (optionally) can take values directly from Excel sheet.

    -Script (option) can set the fill color for the gray text frame. (If it works as I think, I could just select all the resulting images of the text myself and put them all to grey at the same time... I'm not lazy as )

    Thanks in advance to anyone who can help in any way possible, even if it's just a little push in the right direction. This script will save 1 to 2 hours of boredom every week.

    Look like the perfect thing for the InDesign scripting.

    I copy content from Excel to a text file, for a format easily read in InDesign, and there will automatically be a TAB for each 'cell', just using copy and paste.

    Here is a piece of code, perhaps you could go on with (the addition of variable to change pages and the location on the page and other things).

    The readFileLineByLine function, can be easily reused with any function using "recall". You simply tell the function what you want to be executed for each line of text that reads:

    const COLUMN_WIDTH = 2; // Define the column width in inch
    
    var pageIndex;
    var textFramesExported; // not implemented.
    
    // Add a new dokument. Set myDoc to app.activeDocument to use
    // the current document instead of creating a new one.
    var myDoc = app.documents.add();
    
    // The doSomethingWithTextRow function is called upon for every line of text read.
    readFileLineByLine('c:\\test.txt', doSomethingWithTextRow);
    
    function doSomethingWithTextRow(row){
        // We expect the text line to be TAB separated (\t = TAB). We get that from just copying the contents of an
        // excel file into a text document.
        var cells = row.split('\t');
        var companyName = cells[0]; // The Company name in the first slot of the array
        var width = COLUMN_WIDTH * cells[1];
        var height = cells[2];
    
        // Create a new text frame for every row handled
        if (pageIndex==undefined) pageIndex = 0; // Count up when you have exported a number of texts, I leave this for you to do.
        var newTextFrame = myDoc.pages[pageIndex].textFrames.add();
        newTextFrame.contents = companyName;
    
        // The text frame is created in the top left corner.
        newTextFrame.geometricBounds = [0, 0, height + ' in', width + ' in']; // Top, Left, Bottom, Right 
    
        // You might want to move the textframes to other positions, keeping track of how many you put out per page.
        newTextFrame.move( [10, 10] );
    }
    
    function readFileLineByLine(path, callbackFn){
        var myFileIn = new File(path);
        if (File.fs == 'Windows'){
            // This was probably added to recognize UTF-8 (even without its start marker?)
            myFileIn.encoding = 'UTF-8';
        }
        myFileIn.open('r');
        var myEncoding = myFileIn.encoding;
        try{
            if (!myFileIn.exists){
                throw('Missing file: ' + myFileIn.fsName)
            }
            var ln = '';
            while(!myFileIn.eof){
                // Read the lines from the file, until an empty line is found [now as a remark].
                ln = myFileIn.readln()
                // if(ln !='' && ln!='\n'){
                   // Call the function supplied as argument
                   callbackFn(ln);
                // }
            }
        }catch(e){
            alert(e);
            gCancel = true;
        }
        finally{
            myFileIn.close();
        }
    }
    

    The file in C:\ in my example was recorded in UTF-8 format and looks like this (showing hidden characters):

    Post edited by: Andreas Jansson

  • Text field that supports rich text using the script edition

    I have a text field with rich text format format. I need to add a new line character, if the length of a sentence longer than 65 characters. When I change the text using javascript formatting breaks and the signature event will fail eventually. Is it possible to change the body of the value of the text field? I realized that the value store in text/html.

    Examples:

    Before change:

    "< txtOtherDocuments > < body xmlns ="http://www.w3.org/1999/xhtml"xfa:APIVersion ="Acroform:2.7.0.0"xfa:spec ="2.1">"

    < style p = "margin-top: 0pt;" margin-bottom: 0pt; do-family: Arial; font-size: 8 pt. "text-decoration: no" > Test data < /p > < / body >

    Field.rawValue using = «...» "fails. Y at - it a different set of commands?

    Help, please.

    Thank you

    If you want to access the data and style in a field richtext, you must use the command Fieldname.value.exData.saveXML ("pretty"). This will give you the xHTML data format. Then you can manipulate the data in the way that you want, and to get it back in the field, use the Fieldname.value.exData.loadXML ("xml to load", parm1, parm2). The parms are Boolean values that control whether to replace or add the XML to the existing xml. See the reference for script/help for a more detailed description.

    Note that it won't be easy if there is a lot of rich text in your field that the text will be spread between tags. You may need to use the rawValue (no formatting to find out where to put the CR then find in the HTML code and it add.)

    Make sense?

    Paul

Maybe you are looking for

  • My status bar is weird.

    http://I39.Tinypic.com/2i8k7kl.jpg See the status bar? It is larger. I can't narrow down to where he was. Any advice on how to fix this? Thanks in advance.

  • How delete/remove a toolbar

    I signed up with InboxDollars, which I quickly abandoned. When I run Firefox 4.0.1 I have the following story: Name Location Marquee of the CotterWeb toolbar http://www.InboxDollars.com/toolbar/?r=marquee & username = 4612401d73e39a1014771fb0de3210ab

  • There the SPDIF on Satellite M100?

    There the SPDIF on M100? If Yes, then how do I turn it on?

  • Microsoft Mr. fix

    does it cost to go to microsoft Mr repair or again click on is - it as a free sample

  • Fortunately the cRIO merger two time real screws: analog and digital output

    Howdy, I need help with a cRIO code.  The purpose of the code is to acquire an analog input from the NI 9234 c series module and be able to send a "signal of pulse" digital camera (first low for some time, t1, then high for some time, t2) from a NI94