Share the Image using the Native part.

Hello guys,.

I use this method to share a text using (email, text Mesasge, BBM, etc.)

But how can I use it to share pictures as well.

actions: [
        InvokeActionItem {
            ActionBar.placement: ActionBarPlacement.OnBar
            query {
                mimeType: "text/plain"
                invokeActionId: "bb.action.SHARE"
            }
            onTriggered: {
              data = myClass.encodeQString("Shared Text")
            }
        }
]

Thank you.

Is your question more info on mimetype or ask if you can send text and a picture at the same time?

It is not possible currently.

Tags: BlackBerry Developers

Similar Questions

  • Debugging of the native part of an extension of Webworks

    Dear all,

    is it possible to debug webworks extensions in order to discover the errors?

    We often (and randomically) get the common load error 'cannot find error need. "

    / usr/lib/etc. Library not found", but we can't manage how to discover more information about this...

    Other than the error itself, I unfortunately discovered that debbuging is really a pain in this scenario...

    Any help or advice of BB guys is really appreciated!

    Thank you very much

    -marco

    Hi Marco, native debugging Extensions is currently very difficult, due to their hybrid nature.

    I usually create a native C++ application first, work and then make a native extension. Have you tried?

    See you soon,.

    A

  • How to make a zoom in on part of the image using editing?

    Recently returned to the opening.  Do not remember how to enlarge the part of the image using editing.  If the answer is Loupe tool, please remind me how it works.

    What version of Aperture do you use?

    To zoom the viewer enter the combination of keys command - + (⌘ +) or press the zoom-viewer:

    If you prefer the magnifying glass, launching it from the view menu with "view Magnifier, where also find magnifying glass options to switch to a centered Loupe or show the grid under the microscope.

  • using the native image viewer

    IST is possible to invoke the native image viewer of my application to display pictures?

    When I send a jpg file on my device by email, I can see it. Then I have different options on the menu as zoom, fit to the screen, etc...

    I would use this native Viewer on my application.

    Thanks for help.

    Anil

    The following code calls the native image viewer

    BrowserSession b = Browser.getDefaultSession();b.displayPage(path+imageName);
    

    Thank you!

  • Remove the dark part of the Image

    Hello

    I just started to work with NI VISION. I have attached an image with this post.

    Can someone tell me how I can remove the dark part in the picture? I read on the histogram, which gives a total number of pixels at each level of gray.

    But I don't know how I can use this information to improve the quality of the image, or in my case how can I use it to balance the values of pixels surrounded with the rest of the image.

    I hope I explained my problem properly.

    I found the solution to the problem. I used "Manipulation of pixels.

    If anyone has any better ideas then please share.

  • I want to compare the 'brightness' of two images using a template image and an image acquired

    For the most part looking for suggestions on the best way to go about it. Im trying to run a test that will allow me to compare the brightness of an LCD screen using a webcam. Essentially, I let power on the screen, and from time to time, the screen will be incredibly dim. IM thinking I should be able to use the functionality of the subtraction with both images and if I have a normal screen it should produce a closure to 0 results, while the dark screen should give a non zero value (pixel wise) but have so far not been successful.

    http://zone.NI.com/reference/en-XX/help/370281AA-01/imaqvision/imaq_light_meter__point/  I used the rectangle version but this block instead of going with a subtraction! Being new on and auto teaching labview I often oversteps these easy solutions

  • Calculation of frame rates of acquisition image using the 7 Format

    So I finally got my Basler firewire (IEE1394b) camera to capture images at his rate max (120 fps).

    But to do this, I need to use the '7' Format.... which is a bit confusing to me.  When I use the '7' Format, I can't specify the frame (frames per second) rate.  Apparently, you only specify the parameters (length, width, color / mono) of the image and the size of the packets and a few other things.

    So, how can I calculate speed?  I need to know exactly how much time elapses between each image.  And it must be constant.  I can't have a different frame rate.

    NEITHER told I can calculate the frame rate using this equation:

    That comes from this article.

    But I am skeptical because the article also says:

    Please note that the time to transfer an image is slightly faster than the time it takes to acquire an image.

    People out there can clarify this for me?  Is the frame rate constant?  And then I actually calculate when using size 7?

    The rate will be constant.  It won't change from image to image.  The difficult part is to find what it is.

    Basler camera manual will tell you how to calculate the frame rate.  There are three different calculations, and gives you the slower pace is one you use.  These calculations are accurate enough, I think.

    Another possibility is to measure the frame rate, but that requires several seconds (or minutes) for a measurement precise.  The simplest method is to start a life-long and save a frame in time at the beginning, wait several seconds (or minutes) and save the time of another framework.  Subtract the chassis numbers, subtract the time and divide to get the frame rate.  With a wait of several minutes, it's extremely accurate.  To get the acquisition time, read an image whose value "Next Image", then save the chassis number and read the msec timer immediately after reading.  Using a flat sequence structure is probably the best to ensure that everything happens in the desired order.  If you loop playback, you will see real cadence cadence converge slowly.  Stop it when it is pretty accurate.

    In a program I wrote, I controlled the pace by setting the shutter exposure time.  I used the derived formula of the Basler manual for cadence and reversed to calculate the shutter speed.  This only works if you have another way to adjust the brightness levels (opening, lighting, etc.).

    Bruce

  • HP ENVY 4500: Scanned image appears in several parts of the whole.

    Hi people, for convenience, I'm going to number paragraphs describing my problem.

    1. any new product, which was to install a couple of days.

    2. the product prints and copy great and no problems. However, although yesterday I scanned a picture OK, now not so much.

    3. I hate to admit it, but I am 81 and my memory is not so great. Perhaps, I do not use the Protocol? Here are the details of the problem:

    4. when I scan using the screen of the printer the printer allows to scan that a good connection to my computer and an appropriate message is displayed on the monitor screen "Scanning". When parsing the result image is sent to the 'Documents '. So far, good.

    5. what analyzes all the I go to Documents and find the split image in ten 10 or more separate items and it would be a major task using PES or similar to the room together. In any case, would not be a solution, the photo scanning in a room, that's what I'm aiming for.

    6 but it is not the end of the problem. When I scan using the computer all scans correctly and is displayed in the preview window, which appeared on my screen. But the 'same' problem persists as above and the scanned image in appear in 10 or more parts at all.

    7. I don't think that there is nothing wrong with the product, rather I strongly suspect that I'm doing something wrong or maybe I misconfigured Setup.

    How can I fix this problem? What should I do to scan photos and documents as an image or a document and not 10?

    I'll be very grateful to help on this problem. Thank you very much. If you need more information, please just ask.

    Stehkoyeh.

    What follows is HPENVY4500 all_in_one printer, scanner, copier and fax. Professor, thank you very much for your help. However, I managed to fix my situation with the changes as follows:

    1. in the hp/scan utility on the computer. I clicked on the Scan of the computer and then the change analysis tasks...

    2. This was brought up in a popup window. I then put 'photo jpeg' highlight and click on modify.

    3. This brought another window. This is the important part. I've changed the menu presets "Photos, graphics, etc." and then that immediately under this Type 'exit' I've changed to read JPEG.

    4. everything that sounds very complex and I know I got lucky to fall on this procedure, because I'm good technically not for sure!

    However, the procedure above fixed my problem and my scans to and from the computer using Direct and wireless network were quite normal and very good. The scans are clear and bright and crisp colors. I am now very happy.

    As for the solution "self-cultivation", I'll certainly store that is far away and use it if you need. Although it was not necessary for my problem now, it's a very important protocol worth remembering.

  • How can I share 'My images' with the other user accounts on my computer?

    How can I share 'My images' with the other user accounts on my computer?

    where are the 'experts' on these forums adverstised?  I can't get an answer to a simple question.  Does anyone know how to do this?

    Here we are, ok, I'm not an expert, but try this:

    Right click on 'My images' > share > specific people... > select that you want to share this folder with.

    ...

    After that, try to connect by using a different account. If you will not be able to open C:\Users\"FirstUser"\Pictures, you try to extend the network in the left pane of Windows Explorer > expand ComputerName > expand users > expand "FirstUser" > photos

  • Uploading images using the REST API from PHP

    Does anyone at - he had success with the download of the images through the Eloqua Rest API using PHP?

    I have the final point, but I can't understand what kind of information needs to go the variable $data.

    That's what I currently have:

    <? PHP

    ini_set ("display_errors", 1);

    include("..) /.. ("/ eloquaRequest.php");

    $eloquaRequest = new EloquaRequest ('Instancename', 'username', 'password', 'https://secure.eloqua.com/API/REST/1.0');

    $data = new stdClass();

    $data-> image = file_get_contents("./easy.jpg");

    $data-> name = 'this is a file name ";

    $data-> filename = "luke.jpg";

    $data-> contentType = "image/jpeg";

    $response = $eloquaRequest-> message (' assets/image/content', $data);

    var_dump ($Response);

    The error I get is the following, but I think that it is a standard response, if your image does not go through correctly:

    Array (1) {[0] = > object (stdClass) #3 (2) {["type"] = > string(9) "FileError" ["requirement"] = > object (stdClass) #4 (3) {["type"] = > string (15) "SizeRequirement" ["maxSize"] = > int (52428800) ["minSize'] = > int (1)}}}

    Thank you

    Hi Phil,

    I had to find that it all the time, it took me several hours. I hope that it allows you to save a headache.

    Eloqua is very strict in dealing with the content-type header; See the comment here for a little explanation; REST API - download Images

    So what you need to do in PHP, is to build the query string for the image of yourself. You can do as follows (to adapt to your needs, not yet tested);

    <>

    [...]

    $img_path = '. / easy.jpg';

    $img_info = getimagesize ($img_path);

    $img_real = realpath ($img_path);

    $data = "-ELOQUA_BOUNDARY\r\n".

    ' Content-Disposition: form-data; name =-"Filedata\"; filename =------"".baseName ($img_real). » \"\r\n ».

    "Content-Type: '. '" $img_info ['mime']. "" \r\n ".

    "\r\n".

    file_get_contents() ($img_real). "" \r\n ".

    ' - ELOQUA_BOUNDARY - ';

    $headers = array ("Content-Length:".strlen ($data),"Content-Type: multipart/form-data;") Boundary = ELOQUA_BOUNDARY");

    $response = $eloquaRequest-> post (' assets/image/content', $data, $headers);

    ?>

    I have also adapted/reconstructed library Eloqua PHP in order to support the "BOLD" part. You must change the executeRequest function and add something like this to support change the request headers;

    curl_setopt ($this-> ch, CURLOPT_HTTPHEADER, $headers);

  • First - parameters used incorrectly for a sequence - changed, but the photo/viedeo has not CHANGED! The worst part is smaller and if I scale the quality GET... Help, please!

    I used the wrong settings for a sequence. Then I changed it but the size of the image/viedeo has not CHANGED! The worst part is smaller and if I scale the quality GET... Please help!

    If only the balance changed in the clips, you can use copy and paste attributes.

    If other settings have changed, you cannot use Paste attributes like these settings will also change

  • Upload images using the file API

    I am trying to download pictures using the SDK file, but my images are corrupted during the download. Anyone know the correct way to do this? Here are some of my code:

    var imgVars = getUrlVars(itemDetails['Picture']);
    
      //use image id from query string to build new filename
      var localImgFilename = '/images/equipment/used/' + imgVars['id'] + '.jpg';
      var imgProxy = 'https://[domainwithheld].com/jpg_proxy.php';
    
      //download equipment image from proxy server
      $.ajax(imgProxy, {
      'type': 'GET',
      'data': { fetch: itemDetails['Picture'] }
      }).done(function(result) {
    
    
      if(result) {
      //upload the image to BC filesystem
      var f = BCAPI.Models.FileSystem.Root.file(localImgFilename);
      var imgData = result;
    
      f.upload(imgData).done(function () {
    
      console.log("Image upload complete.");
    
      }).fail(function (jqXHR) {
      console.log("Upload failed.");
      });
      }
    
      }).fail(function() {
      console.log("Download from proxy failed.");
      });
    
    
    
    

    You were right! I finally realized that by using the method of jQuery $.ajax to retrieve the image was my problem: it doesn't have the capacity for a binary response. I got it working by simply using a native XMLHttpRequest object with the value 'blob' responseType property for the image and then passing the answer directly in the SDK download method.

    Here is an excerpt now simplified my code:

    var xhr = new XMLHttpRequest();
    xhr.onreadystatechange = function() {
    
        if ( this.readyState === 4 && this.status === 200 ) {
              var localImgFilename = '/images/equipment/used/' + imgURL.split('/').pop();
              var f = BCAPI.Models.FileSystem.Root.file(localImgFilename);
    
              f.upload(this.response).done(function () {
                   //image uploaded
              }
        }
    }
    xhr.open('GET', imgProxy + '?fetch=' + encodeURIComponent(imgURL));
    xhr.responseType = 'blob';
    xhr.send();
    
  • "Draw the fate-in" function fills the erroneous part of the text with the image.  How to reverse?

    Hi there and thanks for the help in advance!

    I used a font called "postcard from holidays NF.  (Police of holiday card mailing NF by Nick Fonts - FontSpace)

    I'm trying to put an image in the white part of the police, but when I use the function "match zero" and place the image, it fills in the black part of the police instead, that I would stay black.

    How to choose the other portion of the police (white part) to be filled with the image?

    Here is an example of what happens.  Thanks again!

    Untitled-2.gif

    For a policy like that, you will need to separate forms of letter (white) from their shadows. It will, therefore, describe the type and transparent records release.

    A new compound of all the white letters and use it as a clipping mask.

  • Hi, me - Joshua, using Mozilla Version 38.0.1, please share the information of the creation of tab double... Thank you.

    Hi, me - Joshua, using Mozilla Version 38.0.1, please share the information of the creation of tab double... Thank you.

    Hello!

    https://support.Mozilla.org/en-us/questions/762043

    This solution should help you

    "

       Ctrl-click or middle-click the Reload button to open the current page in a new tab.
       Ctrl-click or middle-click items in the history of the Back and Forward buttons to open a page from that list in a new tab.
       Duplicate a tab with its history by pressing CTRL and dragging the tab to a new position on the tab bar.
       Dragging a tab in the browser window will detach the tab and move it to a new window, this is called tab tearing.
       Drag a tab back to the tab bar in the original or anther window to undo a detach or move a tab to a specific window. If a window gets empty (you tear off the last tab) then that window will be closed automatically. "
    
  • Why can't I click on some parts of my screen only if you are using firefox. I can not use the upper part of my scroll bar, but can use the background. I cannot click on the top of all sites, but he can click on any part of the site.

    If you use firefox, I can't use my up arrow of the page or click on the upper part of the scroll bar to make it move. Can I use the middle and the bottom of the bar. Also, I can't click on some items that are on a certain part of a web page (upper part). When I use firefox to open my email the same thing. I can't click on the upper part of the page e-mail delete tab, check e-mail tab, etc. However, I can click on it when I use internet explore so I don't know if it of a firefox issue or not. Thank you

    Recently, the extension of the Yahoo! toolbar and the extension of Babylon have been reported to cause a problem like that. Disable or uninstall the modules.

       * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    

Maybe you are looking for

  • m8034n realtek ethernet driver

    Looking for the Ethernet driver for this computer that is compatible with the x 86 version of Windows Home Server.  The computer had Vista Home, but the drivers do not work or I can't find exactly the one needed.  Realtek is the network adapter that

  • For laptop HP 630 HP wireless Assistant

    I use a laptop from HP 630. Windows 7 Home premium 64-bit operating system. I am facing problem with HP Wireless Assistant. It does not work. even I have not found this software for my hp laptop. Please help

  • Hotfix free extract password is incorrect: 2483232

    The KB Article number: 2483232 Language: All (Global) Platform: i386 Password: #JtGJx Password on: 10/03/2011 Password: t7 %T #* X8vU These passwords are not valid for this self-extracting package, could you help me with this problem?

  • Boot/bcd error and no vista startup disk.

    I have vista 64. An automatic update downloaded sp2 and since then I get errror Boot/bcd. I have no bootable cd. Failed to get the manufacturer as computer is 3 years old and was a customized version of a society. I tried to use my laptop dvd backup

  • HorizontalFieldManager skins ObjectChoiceField

    Hello I use a standard HorizontalFieldManager and ObjectChoiceField in my application. I add a TextField to the HorizontalFieldManager and then the ObjectChoiceField, I do this rather than using the label of ObjectChoiceField I can 'space' label of c