WeBWorK API operation.

Filming services works not in webworks, anyone know if it's on the roadmap, to make it compatible?

http://developer.BlackBerry.com/HTML5/downloads/roadmap/

Apparently not

Tags: BlackBerry Developers

Similar Questions

  • Problems when creating extension using pim contact webworks API

    Hello

    I need to create an extension that use webworks APIs to get all contact data as well as launch the contact selector and must obtain the name of the contact, numbers and Base 64 of contact image chain.

    Now, I have a few quesries below:

    1. I tried to reach my api requirement with webworks. For this, I did changes in the config.xml file.



    <>ermissions >
    <>Ermit > access_pimdomain_contactsermit >
    ermissions >

    and able to access the API of pim.contact placed here: C:\Program Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\Framework\ext\pim.contacts

    But when I tried to get all contacts by using the getContactAccounts() method, it gives me two accounts simcontacts and LocalContacts and their identity papers are respectively 2 and 19.

    I found that I can get the list of contacts using the example of the contacts. but this is to limit the length to 20.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/need-help-with-BB10-WebWorks-con...

    2.i have not found any documentaion appropriate for the fields of my contact: name, numbers and Base 64 of contact image chain like the way they gave in the native SDK documentation.

    Please share any code example that is in all fields of contact data of Singla retrieving.

    3. I need to share my contact plugin and need to expose certain methods of my plugin webworks.

    How can I reach it?

    Is it possible to get the code side native for pim.contact plugin, so that I can add methods more in it and can expose these methods more Web app works by making the required in index.js and client.js chnages.

    Help, please.

    I checked and there seems to be a problem with the API that has been fixed for version Gold SDK. Here you can find a similar position:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/need-help-with-BB10-WebWorks-con...

    And more information on the real fix here:
    https://github.com/BlackBerry/Cordova-BlackBerry-plugins/pull/80

    It seems that it was default 0, which gave 20 results, as opposed to-1, the expected default value.

    For now, if you simply pass a high value for limit, which should get the contacts (i.e. 1000). I know that's not ideal, but a workaround for now.

    For plugins, the best starting point would be the following.

    WebWorks SDK 1.0:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/template

    WebWorks SDK 2.0:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/template

  • Magnetometer WebWorks API?

    Where can I find the magnetometer Playbook WebWorks API? Thank you.

    Unfortunately, there is not yet.

  • Record 2 channels audio WebWorks API?

    Reference on the WebWorks API indicates that the recording from microphones is possible on a single channel. However, the application of voice Notes record clearly on two channels, as can be easily shown by moving the Playbook from left to right while he was recording his own voice. Where can I find the API WebWorks for 2-channel audio, record from the MICS Playbook? Thank you.

    It is currently not possible.  I have added your request to github issues as an improvement to the feature list:

    https://github.com/BlackBerry/WebWorks-TabletOS/issues/54

  • OIM 11 g java.lang.ClassNotFoundException: Thor.API.Operations.tcRequestOper

    Hi all

    I have updated IOM 9.1 to IOM 11.1.1.5, how ever while doing tests of existing features, I get the following error and corresponding email is also not generated.

    NOTIFYADMINUPONHOMEDIRFAILURE running
    Target class = com.oim.ing.ad.development.EmailNotifications
    < Sep 12, 2011 12:48:41 CEST > < error > < XELLERATE. ACCOUNTMANAGEMENT > < BEA-000000 > < class/method: tcUtilityFactory/getLocalUtility some problems: Th
    or. API. Operations.tcRequestOperationsIntf
    java.lang.ClassNotFoundException: Thor.API.Operations.tcRequestOperationsIntf
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at Thor.API.tcUtilityFactory.getLocalUtility (tcUtilityFactory.java:395)
    at Thor.API.tcUtilityFactory.getUtility (tcUtilityFactory.java:374)
    at com.oim.ing.ad.development.EmailNotifications.notifyAdminforHomeDirectoryFailure(EmailNotifications.java:105)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpINGADNOTIFYADMINPOSTHOMEDIRCREATIONFAILURE.NOTIFYADMINUPONHOMEDIRFAILURE (adpINGADNOTIFYADMINPOST
    HOMEDIRCREATIONFAILURE.java:110)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpINGADNOTIFYADMINPOSTHOMEDIRCREATIONFAILURE.implementation (adpINGADNOTIFYADMINPOSTHOMEDIRCREATION
    FAILURE.java:58)
    =====================

    We used the following object to send emails in our java code

    sendMail tcEmailNotificationUtil = new tcEmailNotificationUtil (ioDatabase);

    Please suggest me. Thank you.

    Thor.API.Operations.tcRequestOper do not work in the OIM 11g.

    You will have to use the new API to request

  • Configuration PlayBook WebWorks API extension support

    Hello

    I would like to know if there is a way to package an extension API with an application. The default extensions are located in the bbwp/ext folder. I have a custom extension that I include in my application. I was able to compile the application with my custom extension copied to this location mentioned. My question is should I add the extension custom in my application package? If so how that happen. All to follow folder structure? Please help me.

    Thank you

    Praveen

    Well it would not be considered "tampering" with the SDK package

    It is in fact our approach for each of these directories with... There is no way to incorporate your extension as a resource in your file to archive WebWorks.

  • Rotation / orientation/tilt of the PlayBook WebWorks API?

    Where can I find the API WebWorks for rotation / orientation/tilt? In other words, how can I detect programmatically the rotation of my Playbook on the three axes? Applications such as "What's up?" clearly use such an API. Thank you.

    So you're looking for the DeviceMotion API for motion capture (x, y, z).

    Here's a demo:

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/browser/motion.html

    Otherwise, if you are looking for portrait/landscape orientation, you can use the window.onorientationchange event:

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/browser/orientation.html

  • WebWorks API payment issue; persistence/identification of the purchase.

    I have a question for anyone who is familiar with the payment API WebWorks.

    In an application, I did pretty well, I intend to have a content purchasable electrode.

    I put everything in place so that if make you a purchase, a value of localStorage is created. The function to launch the content purchased checks if the value of localStorage exists, and if it isn't the user is directed to the premium 'content' section. If it helps, here's the code:

      function getPremium() {
        try{
          blackberry.payment.purchase({
          "digitalGoodID":"myGoodID",
          "digitalGoodSKU":"myGoodSKU",
          "digitalGoodName":"Digital Good",
          "metaData":"metadata",
          "purchaseAppName":"App Name",
          "purchaseAppIcon":null},
          success,failure);
       }catch (e){
         alert ("Error" + e);
       }
     }
    
     function success(purchase) {
       localStorage.setItem('premiumpurchased','yes');
     }
    
     function failure(errorText, errorId) {
       alert("Error occured: " + errorText + ", " + errorId);
     }
    
    //Function called to check if premium content was purchased
     function checkPremium() {
    if (localStorage.getItem('premiumpurchased') == 'yes') {
    bb.pushScreen('premium/index.html','premium');}
    else {getPremium();}
    }
    

    Now, if the user of the application content purchases and then deletes the app, the localStorage is removed.

    If they attempt to make a purchase once again, I think I know that they will have (because it is the electrode), which is what I want to do (in other words, I don't want people to be charged twice).

    But in this case, how the app would re-create the localStorage value so that premium content are accessible? Or y at - it one another, better way other than creating a value of localStorage for this?

    I read http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Sample-App-BlackBerry-WebWorks-P... and https://developer.blackberry.com/html5/apis/blackberry.payment.html and couldn't find an answer on the part of the people.

    Thanks in advance to anyone who can help you.

    Little late, but I can confirm that the above code works.

  • How do we get the device phone number using webworks api 2.0

    I could see an example of code to get the phone number of javascript which is not supported for BB10.  The code below does not work for BB10? If so, what is one alternative to the native extension.

    
    

    Hi beats,

    It is currently not possible. The only way you could get the phone number in this moment is to create a native extension that accesses the 'phone' / 'Line' API here http://developer.blackberry.com/native/reference/cascades/bb__system__phone__line.html?f=line#functi...

  • Thor.API.Operations: tcUserOperationsIntf

    Hello

    findAllUsers (phAttributeList, java.util.Map)

    phAttributeList-
    The value of the card can contain a string representing the criteria to find the desired queries. Notice that the values of the card can include cards (%) wild.

    What kind of generic perfect it provides:

    For example:
    (1) can I search for a user Id with a substring 'abc', similar to the keyword SQL LIKE '%abc% '.

    (2) the list of users whose end Date is less than the current date

    Thank you very much.

    Try this

    userMap.put ("Users.User ID", "A *");
    tcResultSet userSet = userOperationsIntf.findAllUsers (userMap);
    System.out.println ("ROWS" + userSet.getRowCount ());
    for (int i = 0; i)< userset.getrowcount();="">
    userSet.goToRow (i);
    Take long = userSet.getLongValue ("Users.Key");
    System.out.println ("take::" + take);

    }

    Works well :-)

  • V2.1.0 WebWorks SDK and API file

    Hello

    First of all thanks for the update with the new APIs. I need a clarification on the queue API. The link to the API file for playbook below shows some examples. http://www.BlackBerry.com/developers/docs/WebWorks/API/BlackBerry.IO.file.html

    It is an example used in the same page to write to an xml file.

    var blob_data = blackberry.utils.documentToBlob(doc);
    

    But I could not find this support for extension under utils to http://www.blackberry.com/developers/docs/webworks/api/blackberry.utils.html. I guess that is not enabled for Playbook at the moment. So, how to create a file using the API leader Playbook.

    Yes, the implementation of the saveFile() and readFile() are there under the covers.  The problem is that all you can do is read a file, and then réécrirait.  Essentially a copy().

    One main engines around reading/recording functions are to read and manipulate the data to read by being able to do the blobToString() which is not yet supported on PlayBook and save via stringToBlob() which also is not yet supported.

    Since these are the main use of the scenarios to save/read, this is the reasoning why we approach these methods as not supported on the PlayBook.

  • Is there an API for developing WebWorks Playbook file picker?

    I'm looking for a way to ask the user to navigate to a file and then access the file in javascript. I found there is something for BlackBerry smartphone, https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/FilePicker. For the same reasons, I can not use the input type HTML field 'file '.

    Is there an equivalent for Playbook?

    Hi asiayeah,.

    Unfortunately it doesn't seem to be something similar to this extension in space Tablet currently. Seems that you need your own custom control (WebWorks APIs leverage) or extension (to dig down in the AIR or AIR > native) for this right now.

    Erik Oros

    BlackBerry Development Advisor

  • WebWorks for Playbook and using photo APIs

    Hello

    The API documentation, I found that the camera what API can be used to call the camera from an application. Thus, it can be used to capture an image that will then save the image in a folder of the playbook? If Yes, how can I know the name of the file that is the last one added to the camera file in the shared location? Please help me with this.

    Thanking you in advance,

    Praveen

    garciaf wrote:

    Is there a way to get the photo you take with the camera.

    You must use the Phonegap Framework http://www.phonegap.com/

    They provide a specific function that represent you to get the URI of the file or data directly.

    (But if you get the data directly there is a problem of memory)

    Another way is to encode your own API in Java and add in the web works. (If you choose this solution and the success you, I would be very interested in the result)

    Concerning

    Hi garciaf,

    You are right that PhoneGap has this API for smartphones, but they have not yet supported for Tablet OS.  And on Tablet OS, you can't create an extension using Java, because it is not a Java virtual machine.  You must create an extension with ActionScript

    The takePicture() API becomes even closer now to PlayBook and smartphone.  You can see what the API signature will look like in the jsdocs found here:

    https://github.com/BlackBerry/WebWorks-API-docs/BLOB/Delta/API/blackberry_media_camera.js

    It will be the signature of the API used for both BONES of tablet in the 'Delta' version and the Smartphone 'Epsilon' version:

    https://github.com/BlackBerry/WebWorks/Wiki/Roadmap

  • Can we synchronize permission selected with the settings of operating system Notifications BB10 for our Application.

    Steps to follow:
    BB10 device--> settings--> Notifications--> Applications--> [name of your application]--> all alerts [Toggle button]

    I have an obligation to check whether or not 'All alerts' is allowed through settings when the application is running. To check if we can synchronize permission selected with the settings of operating system Notifications BB10 for my application. How to get javascript code if alerts permission is on / off, while the application is running.

    I tried adding the blackberry.system function and tried to hasPermission (blackberry.push) also, I can't determine if permission is allow / prohibit... Please suggest how to get that.

    I don't see a WebWorks API for this. If I expected to be anywhere, it's here:
    https://developer.BlackBerry.com/HTML5/APIs/beta/BlackBerry.notification.html#jbo1385148829097

    But it seems that this API has not been fully implemented; It may be useful to connect a developer Issue Tracker JIRA to get this feature added.

    At the same time, there is this API of Cascades that looks like what you're looking for:
    https://developer.BlackBerry.com/native/reference/Cascades/bb__platform__notificationapplicationsett...

    Write an extension for this feature should allow you to access this feature:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/template

    At the same time, a colleague is currently working on an extension that should open many features of Qt, and I think that the API above should be accessible through this extension. He must be released over the next week or two, so you can wait for that as well.

    EDIT: On this last point, see this extension which provides a mechanism for attaching in the majority of the Qt APIs.

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/QtBridge

  • WebWorks

    WebWorks can work with Mozilla FIrefox? If not why?

    Asmooh is correct, the WebWorks APIs are Javascript APIs that tie down in the native BlackBerry 10 operating system layer. These API works fully on our operating system like PC (for example Firefox) and other mobile devices do not have the same architecture.

    For Google Chrome, we have published the emulator of ripple that behaves (for most WebWorks APIs) as if they were actually called. But when I call him blackberry.invoke, for example it is not actually executing native code in the waving, it is simply supported and pretend not a, then by providing comments in the browser so that the user knows it worked (or didn't) as expected.

    Firefox has no such emulator; the underlying engine is more different (so that Chrome has a similar Webkit engine). So in Firefox you cannot imitate (due to differences in web engine) nor (because of differences in OS architecture) WebWorks APIs.

    Let us know if you have any questions on this subject.

Maybe you are looking for