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.

Tags: BlackBerry Developers

Similar Questions

  • Share text and photo to the same call?

    Hello

    I can call him to share text or photo separately by defining the type MIME "text/plain" or "image/jpg". My data has some text and a photo and I want to share the text and photo to the same call (e.g., email, facebook, BBM...). How can I achieve this? Thanks in advance.

    This is not currently supported.

  • How to play music and narration at the same time on windows movie maker?

    I'm working on a project and successfully, I could put my videos for a song. to get all the points for the project I need to explain what is happening in videos. I have now that I need to tell and I was able to do it too. I don't know how to play the narration without stopping the music, I need narration and music at the same time. I know this is possible because I found...

    You can add music and narration Audio / Music track in Windows Movie Maker. The two can play at the same time in your published movie. You can then adjust the audio levels to determine which audio will play louder than the other in your movie.

    Please write again (:)

    I'm working on a project and successfully, I could put my videos for a song. to get all the points for the project I need to explain what is happening in videos. I have now that I need to tell and I was able to do it too. I don't know how to play the narration without stopping the music, I need narration and music at the same time. I know this is possible because I found...

    You can add music and narration Audio / Music track in Windows Movie Maker. The two can play at the same time in your published movie. You can then adjust the audio levels to determine which audio will play louder than the other in your movie.

    Please write again (:)

    =================================
    Simple solution... Publish (save) your project in the
    film format .wmv to a folder on your hard drive.

    Re-import the file .wmv (as a new project) and now
    audio / music will be clear and you can add
    the narration.

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to open two different images at the same time to work on it together please?

    Please help, I am at a loss to open the two images at the same time to work together on them. can someone help please

    I suspect that, in this point of you familiar with the functionality of Photoshop, you may prefer the following:

    Choose Preferences > Interface > and uncheck open as tabs Documents

    Then, when you open two images they both will appear on the screen.

    At a later time, you may want to work with her alternate: the tabs option.

  • How can I view 2 sites at the same time (using the ms ms ctrl button to split the screen)

    I can't open a second secession of ff if I can use the split screen feature offered by windows. I want to see 2 things at the same time I cannot compare etc.

    Try this: https://addons.mozilla.org/en-US/firefox/addon/fox-splitter/?src=ss

    Alternatively, open a second window of Firefox (Firefox button > new tab > new window or Ctrl + N), the second loading site, resize the windows side by side.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • How can I have a button that will show/hide one area of text and images on the same page?

    I have a page like below:

    4ef3986b768c1642dac40a3eb1d534dc.png

    I want to make sure these 3 buttons display text different under them when they are pressed. How can I achieve this?

    Thank you.

    Hello

    Please try to use the Widget for Composition of ToolTip to achieve this...

    You must customize the trigger as long as the button and you can use the target to insert images or the desired text area.

    You can find it in library of Widgets Panel > composition

    Please let me know in case you need further details on that.

    Concerning

    Vivek

  • Share WiFi and LAN at the same time on Windows 7

    My Windows 7 laptop uses the following adapters to connect to the network

    LAN: Realtek PCIe GBE Family Controller

    WiFi: Ralink RT3290 802.11bgn Wi - Fi adapter

    The problem that I am facing is every time if going to any site for work. The internet connection is no longer available through WiFi for the use of internet services to access email and the web.

    And then I need to connect to the network local work to access their private network for work purposes who do not have access to the internet, but only access to the private server.

    When I try to connect to two networks simultaneously connection WiFi automatically becomes the parent connection and disconnected from my local network access to servers.

    Please help me with the same read a few forums on metrology, but could not reach the concurrency.

    Afonso Hello,

    Thanks for posting your concern in the Microsoft community.

    The problem you are having is more complex than what is generally answered in the Microsoft Answers forums. I would advise you to ask your question in the Technet Forum, where we are the support technicians who are well equipped with the knowledge on these issues.

    I suggest refer you to the following link to go to them and post your query there:

    https://social.technet.Microsoft.com/forums/en-us/home?Forum=win10itprogeneral&filter=AllTypes&sort=lastpostdesc

    It will be useful.

    Thank you.

  • 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...

  • I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    slynn5236 wrote:

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    You can do in PSE.

    1. Do the math to see how much space you'll need on your canvas to the image and text.
    2. Navigate to the file queue > new.blank. Enter the width & height, background color, resolution 72 px / in. It is your canvas, and in the layers palette will be the background layer.
    3. Copy and paste the image. It turns on a separate layer
    4. Activate the tool move, position the image and resize if necessary
    5. Activate the text tool, and then type your text. It will be on a separate so layer
    6. Position the text.
    7. Flatten layers and go to file > save for web. I'm usually on the long side about 800 px. Don't forget to check "constrain proportions". Adjust the quality slider to suit. You will probably want the type of JPEG file for web work.
  • on the Iphone 7. How to listen to music, if we have a normal headset and charge at the same time?

    How to listen to music, if we have a normal headset and charge at the same time?

    < re-titled by host >

    It sopposed must be a wireless charging dock to be launched shortly if the dock does not so it is a disappointment

  • Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Non - PEAK is not a feature of iPhoto or Aperture - this is new with Photos

    LN

  • How do I get the acceleration and GPS at the same time?

    Goal: Get an acceleration and GPS at the same time

    Current situation: I can get acceleration or GPS. When I try to get the data, the code ends.

    Mini Code

    If (bps_event_get_domain (event) == sensor_get_domain()) {}
    handle_acceleration_data();
    }
    If (bps_event_get_domain (event) is {geolocation_get_domain()})

    handle_gps_data();

    }

    Question: Anyone know how to get data in an event or other methods?

    Thank you for your attention,

    Your code shows event handling, but not the request or to obtain events.  Can you show more of your code?  The following should work (note there is no error checking):

    sensor_request_events(SENSOR_TYPE_ACCELEROMETER);
    geolocation_set_period(1);
    geolocation_request_events(0);
    
    bps_event_t *event;
    while (true) {
    
        bps_get_event(&event, -1);
        if (!event) {
            continue;
        }
    
        if (bps_event_get_domain(event) == sensor_get_domain()) {
            handle_acceleration_data(event);
        } else if (bps_event_get_domain(event) == geolocation_get_domain()) {
            handle_gps_data(event);
        }
    }
    
  • How to display multiple images at the same time in CS6?

    How to display multiple images at the same time in CS6?

    Hello

    If you go to window > reorganize you can choose from several display options. Below, I have chosen two horizontal spaces since I have two images, but you can select other options if you have more than one image.

  • Satellite M30X-122: how to use the headphones and speaker at the same time?

    Hello

    y at - it a possiblity to use headphones and speaker at the same time?
    When I plug the headphones into the Jack, the speaker is created off the coast of the moment.

    Thank you
    Peter

    Hi Peter,.

    There is unfortunately no way to use both headphones and speakers at the same time. This is because tghere's a disconnection physical power for the internal speakers when you plug in the headphones. It is not by software. The only way around this would be to dismantle the headphones Jack and solder connections that are broken when you insert the headphone permanently.

    Kind regards

  • How to use headphones and speakers at the same time

    I want to use headphones at the same time that I use the speakers.

    I am hard of hearing and need the LOUD volume. When others are watching a film, projected on HDTV, they won't let me turn the volume up to where I need it, which is why, headphones and speakers at the same time.

    I use Windows 7, I want to stick with Windows 7, so I want a Windows 7 solution.

    If there is no solution for Windows 7 and there is a solution using Windows 10, then and then only, I will be upgrading to Windows 10.

    Using headphones and speakers was possible under Windows XP. I think that a kid at Microsoft, with a regular audience, thought this feature was redundant and removed. Large.

    Macs will play through the headphones and speakers, so maybe it's time to buy a Mac!

    Hi Bob,

    Thanks for posting your query on the Microsoft Community.

    With the description, I understand that you want to use headphones and speakers at the same time on your Windows 7 computer. I will certainly help you get this fixed number.

    I suggest you check the suggestions contained in below mentioned thread and check if this is useful:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/headphones-speakers-at-the-same-time/7ed31bcf-3762-430D-9c9f-e6967d670d0e

    Hope this information is useful. Please come back to write to us if you need more help, we will be happy to help you.

Maybe you are looking for