invoking the application/Gallery bb10 webworks app camera app

Hello

in my application that is based on its targeted and webworks for Blackberry10 OS, how to invoke enforcement camera and Gallery.

can I somehow call it using blackberry.invoke.invoke api pointing to the camera or a gallery, please let me know.

You can use the invoke of verification on the next page for more details:

-Camera: https://developer.blackberry.com/html5/documentation/camera.html

-Gallery: it's a little more complicated, but you can usually call it through the target of the application as follows:

-action: 'bb.action.OPEN', target: 'sys.pictures.app '.

If you wish, you can use the card for the camera as defined here:

- blackberry.invoke.card.invokeCamera

- https://developer.blackberry.com/html5/apis/blackberry.invoke.card.html

Tags: BlackBerry Developers

Similar Questions

  • How do I send the email from BB10 webworks app

    I want to have a module in my BB10 WebWorks app that will allow users to compose a message by entering the information in a form, which will then be sent by e-mail to an e-mail address.

    I guess this could be done by using the EmailComposerOptions API, but I don't know how to use it.

    Any help will be appreciated.

    Have you looked at the code example in the API document?

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.Invoke.card.html#.invokeEmailComposer

    < script="text/javascript">
    //simply invoke email composer, with no options and callbacks
    blackberry.invoke.card.invokeEmailComposer();
    
    //invoke email composer with subject, body, to, cc and attachment options
    blackberry.invoke.card.invokeEmailComposer({
        subject: "Email subject",
        body: "Email body",
        to: ["[email protected]", "[email protected]"],
        cc: ["[email protected], [email protected]"],
        attachment: ["/path/to/an/attachment.txt", "path/to/another/attachment.txt"]
    }, function (done) {
        console.log(done);
    }, function (cancel) {
        console.log(cancel)
    }, function (invokeError) {
        console.log(invokeError);
    });
    
    

    Once the function is called, map of composer email will slip into the view with all pre-filled fields and the user can then click on send.

  • Super App, link the calendar to my webworks app.

    Hello

    I was wondering if someone can suggest and approach to achieve the following objectives. I am writing a webworks app that will add appointments to the native blackberry calendar. In field notes would be a link that allows you to jump into the webworks app. for example

    http://MyApp.com/showclient/10

    This link should be webworks out of the background applications and bring to the foreground and then show customer number 10 details.

    I started to address this problem by using a httpfilter for the domain "myapp.com.

    HttpFilterRegistry.registerFilter ("myapp.com", "mypackage.filters", true);

    in the Protocol.java method of the file openFilter filter I can see the name of the url (for example the action and the customer number etc.), but where I'm stuck is to identify mechanisms to invoke the JavaScript on my webworks app to bring to the forefront and to charge the customer.

    My current setup is an app of webworks with a native extension that records the httpfilter. At this point, I tried store away a reference to the scripting engine, the reference to javascript to call as a parameter to the method of extension, but when the URL is intercepted and I try to read read the script engine or the javascript reference, they are zero. I suspect that the httpfilter is picked up in a space of different application or something? S

    If someone can tell me how to leave a httpfilter to call my webworks app and give him the necessary information to pass to the right pages.

    Managed to fix this using using the ApplicationManager and post a global event and have a global event listener in my webworks application manage just incase of anyone trying to do something similar

  • Invoking the application when you click on a link in the browser field

    Hi all

    Is it possible to invoke the application by clicking on a link/button to the browser field?

    The link/button would be a part of the web page displayed in a browser field. If the user clicks on it, it should be taken to the corresponding screen in the native application.

    Can someone let me know how this can be done in BlackBerry?

    Thank you much in advance.

    I could it implement successfully with the help of HTTPFilterRegistry (net.rim.device.api.io.http.HttpFilterRegistry).

    An example of the same project is available in the samples of BlackBerry in the Eclipse IDE (HttpFilterDemo).

  • Hi need help I get the error message "Download error, Undefined" in the applications tab to install Apps. Can someone help?

    Hi, I need help, I get the error message "Download error, Undefined" in the applications tab to install Apps. Can someone help?

    Follow the procedure below and check:


    End Adobe partner all tasks in the Manager of tasks like creative cloud, CoreSync, AAMUpdater... etc.

    Uninstall Adobe Creative Cloud application.

    If you face any problem try CC Uninstaller:

    Using creative cloud | Uninstall the creative cloud desktop application

    After removing Adobe Creative Cloud applications, follow these steps:

    Step 1:

    Open the c: drive and navigate to C:\Program Files (x 86)------\Adobe " common files".

    Open the Adobe folder and delete folders named Adobe Application Manager and OOBE.

    Step 2:

    Navigate to C:\Program Files (x 86) \Adobe.

    Open Adobe file and if present the file to remove Adobe Creative Cloud . [* important]

    Impossible to remove?

    Rename it as Adobe Creative Cloud-old.

    Step 3:

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    AppData

    Then go to the Local > Adobe.

    Open the Adobe folder and delete folders named AAMUpdater and OOBE.


    Step 4:

    Temporarily disable anti-virus and firewall.


    (1) open Control Panel and then click on the network and Internet"" option.

    2) click on Internet options, click on the tab "connections".

    (3) in the 'Connections' tab, select 'LAN' settings, you will be able to view the LAN settings box.

    (4) check the box-"automatically detect settings" and then "uncheck" all the other boxes as "configuration Script auto use", "Use a proxy server," proxy server ", then click on the ok button."

    5) click on the "Network settings" button once again, make sure that "Automatically detect settings" is the only option you select, the window of properties of LAN so clear.


    Step 5:

    Make sure that Adobe Creative Cloud is not listed in the control panel > programs and features. list.

    Then, download and install the Adobe Creative Cloud app and check.

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

  • BB10 Webworks app cannot call the index page

    Hi all

    I work on the BB 10 Webworks and test on the ripple is fine, but if it was launched the bb10 Simulator on VM Fusion, the application cannot display the index page.

    SDK: BlackBerry 10 WebWorks SDK 1.0.4.11

    Ripple: 0.9.14

    VM Fusion: 5.02

    Simulator: BB10_1_X-807

    can someone help me, thank you very.

    I think I have this problem.

    I try to remove the old sdk bb10 of macos and then reinstall the latest JDK and JRE & bb10 sdk once again, problem solved.

  • Invoking the application of a midlet blackberry email client.

    Hi guys, I am trying to invoke the blackberry native E-mail application, trying to do until now I'm able to view email compose screen and the data filled in, but my problem is after he gets invoked from in my application it never get all events, as I can not kick it, the BlackBerry shortcut menu does not appear the menu only one that works is the menu that appears by pressing the keys (trackball).

    All events, including the characters of that type in the body of the message i don't get it.

    Please help me.

    what I have done until now is the following:

     net.rim.device.api.system.Application.getApplication().invokeLater(new Runnable()
                {
                    public void run() {
                        MessageArguments mArgs = new MessageArguments                                          (MessageArguments.ARG_NEW,to,msubject, mbody);
                        Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, mArgs);
    
                    }
                });
    

    with the code above in invokeLater, I even tried without invokeLater but in vain.

    my scenario is a user clicks an option in the menu contextual app Feeback Email application opens and with the preset values user can edit too with his comments.

    Thank you

    JH

    Thanks guys, but now I found the solution for my problem mentioned above.

    the issue was with event management, even if my app was painted with screen e-mail editor events received to my main application screens, so I put control of all handlers on the current active form.

      public boolean checkActiveScreen()
       {
           net.rim.device.api.ui.Screen scr = net.rim.device.api.ui.UiApplication.getUiApplication().getActiveScreen();
           net.rim.device.api.ui.Field f = scr.getFieldWithFocus();
           if(null != f)
           {
               return false;
           }
             if (scr instanceof net.rim.device.api.ui.container.FullScreen)
            {
                return false;
            }
            else if(scr instanceof net.rim.device.api.ui.container.MainScreen)
            {
                return false;
            }
            else if(scr instanceof net.rim.device.api.ui.container.PopupScreen)
            {
                return false;
            }
    
           return true;
       }
    

    If the function above has solved my case.

  • BB10 webworks app broken after update OS

    My 10 Blackberry webworks app no longer works after the OS upgrade to the Version of the OS 10.1.0.4633 (4181 software version). I use BBUI. JS/CSS with my request.

    However, it still works in the Simulator with build 10.1.0.1483. At the opening of the application on the device it is just white. Nothing happens.

    Anyone, any idea what could be wrong?

    In the web Inspector, it seems that the bb.push does not work as there is no body.

    There may be some differences in timing between the two in terms of upload script.

    A recommendation is to build a debug version of the application and connect Web Inspector. Leave the application load and then in Inspector Web press CTRL + r to trigger a refresh and reload the application from the beginning. This ensures that you get the complete Console logs and it can check for errors.

    Some developers try to define document.addEventListener ('webworksready',...) before the load event triggered (i.e. just directly in a

  • Make the text selectable in WebWorks App

    I created a PlayBook application using WebWorks, HTML and CSS and the app offers a great HTML textarea. For some reason, the user cannot select text to copy or paste text in.

    Is there something special that needs to be done to enable text selection? I checked my code and see nothing that prohibits text selection.

    Thanks for any advice.

    I tracked the solution (thanks to geniuses behind the app preview PlayBook). Check it out here: http://www.willw.net/enabling-copy-and-paste-in-a-webworks-app-for-the-blackberry-playbook/

    This simple solution that I was kicking myself for not understanding earlier!

  • How to invoke the application of another background application?

    I created two applications.

    first application is listening push msgs and prompt user if no msg happens.
    If the user wants to launch second app, it should be called.

    Is it possible to invoke an application from different applications? can you please tell me how I can do this?

    Thank you

    Gunjan

    ApplicationManager launch allows you to run another application.

  • Invoke the application via a custom protocol URL browser

    With the new breed of OAuth2 API such as Pocket there is now more and more need for apps complement the OAuth2 flow in default browser OS outside the Application. It also means that once the Auth process is complete, there must be a way to invoke app or pass data to browser application via redirect URL.

    Currently it seems achievable on platforms like android by registering a custom for an application URL protocol handler. This way browser can use redirection what custom URL with a Protocol and application would be invoked via redirects and the address bar of the browser.

    I see that current invocation framework supports the URI patterns but I can't make it work, can someone point me to any example of code that allows the invocation of application via browser?

    This sample project should show you what files are used for oauth2 https://github.com/kylefowler/foursquare

  • Invoke the application using the link

    Hi all, I'm calling my application for the bb.action.VIEW and bb.action.OPEN actions using uri with custom file extension (file:// scheme) by sending the same app on another device uri, in this process after acceptance and download I am able to perform the invocation.  But I wanted to send a link in the form of uri, by clicking on it, he'll call the application, is there is no way to do this.

    If I understand your usecase, I think this will help.
    https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/invocation/active_tex...

    If not, please provide details.

  • the wrapper of the application must end with. app... folio is not valid

    Hey there, when I restart th Prep via itunes connect after only 40 seconds, I get this message below. I have updated software etc checked folio and exported and still no joy.

    Thank you, Neil.

    I have been export the application from the producer of folio and using this .zip file that has been exported from the folio Builder.

    Solution was to create the APP again, once created, then download the .zip file that has been created in the constructor of DPS APP.   Distribution app... highlighted in blue)

  • How to get the code PIN Blackberry 10 using javascript for BB10 Webworks App?

    Hi all

    I have developed web application for blackberry 10 using the emulator to ripple and Blackberry 10 Webworks SDK 1.0.4.11.Here I put the automatic connection of my web application... So I want to get the Pin 10 of Blackberry number using javascript... Please help me... Someone knows... Thank you very much...

    Kind regards

    Marimuthu_P

    Which is documented here for WebWorks 2.0: https://developer.blackberry.com/html5/apis/beta/blackberry.identity.html#jbo1385148789774

    and here for WebWorks 1.0:

    https://developer.BlackBerry.com/HTML5/APIs/gold/BlackBerry.identity.html

    You want the uuid property.

  • Invoking the Application Permissions page?

    I've got access_shared + read_device_identifying_information permissions in my application

    I do a check at startup

    if(!blackberry.system.hasPermission("access_shared")) {
      // Output a message to the user
    
      // Close app button
      }
    

    This essentially shows the user a screen explaining the permission denied the app stops and tells them how to turn it on

    At this point, the only option that has the app is closed

    It would be better that I could add another choice for the user who opens the Permission request, ideally with this MyApp, so they can allow the permission required is as they wish

    I kniow there are a LOT of undocumented invoke / map "things you can do" but cannot work on special demand for it

    As required for B4BB this is a recipe that is useful for any developer WW Cookbook

    Looks like you can not go as far as you want to, but you can get close enough:

    https://developer.BlackBerry.com/HTML5/documentation/settings.html

Maybe you are looking for