Widget SDK Vs WebWorks SDK

Hello

a couple of months back... in the previous year on BBerry Version 5 he spoke Widget Web development.

SDK WebWorks today is on the horizon for the tablet. I hear you can use SDK WebWorks on SmartPhones with version 6 also?

So what is the future of the development of Widget?

Also, in WebWorks they take advantage of the Adobe AIR APIs. This average WebWorks SDK Apps don't use objects Java (extensions) as Widgets? I know there is a JavaScrpt extension library... but the contributions it allows extension to custom Java objects / native also?

Am totally confused!

Please provide details

Thank you

When I mentioned that it is simply a new brand image, I was referring to the name of 'Widgets' vs 'WebWorks '... We re-branded the name of the platform because we wanted to move away from the notion of 'Widget' and give the technology its own name as a real platform option.

WebWorks Widgets and Widgets is WebWorks

We have now expanded WebWorks/Widgets for the PlayBook.  WebWorks/Widgets is an abstraction layer on top of the underlying system functionality to allow developers to create applications in the Web technologies without having to think about the underlying implementation of the platform.

On a BlackBerry smartphone, the only underlying development platform is Java.

On a BlackBerry PlayBook, the only current underlying development platform is AIR

In order to provide the WebWorks abstraction on top of these two platforms, we needed to implement the underlying plumbing to technology that is supported on the target platform.

Then of course the task to go under the sheets and extension of the framework WebWorks itself requires different technologies that can be shared due to the supported raw underlying development platform.

Maintaining two code lines separate in order to provide the same functionality is definitely not desired, but this is what is currently required to provide an abstraction layer so that web developers can pass between the Smartphone and the tablet.

As I've mentioned above, there are more options underlying platform who come for the PlayBook.  As you can imagine, our development team would like to solidify on a single code base, to proceed in the future.  How this will all play will be in time.  There are several strategic reasons, why we can't go on this right now in detail that unfortunately doesn't give you many answers.

I hope that specific things

Tags: BlackBerry Developers

Similar Questions

  • is an HTTP Post possible using webworks/widget SDK or what I should use Java widget?

    Hi all

    I use webworks and widget SDK to make a simple application where I need to do the following

    (1) open a site called www.mytest.com

    (2) display the following parameters with the request to open the site

    Login = true

    UserID = one

    password = b

    Is this possible using BlackBerry Widget SDK? I looked at the blackberry.invoke.BrowserArguments and I do not think that it allows that.

     

    Is this a limitation to the use of webworks? If so, that is the only alternative is to develop a widget of java and use the browser2 field?

     

    Thank you

    Parag

    Yes, you can...

    When you make an Ajax request, on your call to the open() of XMLHttpRequest objects method use the following:

    XMLHTTP. Send ('post', URL, true);

    XMLHTTP. Send (post_string);

    WHERE

    'post': your request method

    URL: the url to which the http request you

    true: to make it asynchronous (Note: this is the default behavior)

    post_string: is a urlencoded string containing all your post variables and their values like this

    "xc =" + encodeURI (element.value) + '& xd =' + encodeURI (element2.value)...

    You should be fine here as long as you know how to create an XMLHttpRequest object and can use GET, this should be familiar.

  • Difference between WebWorks plugin and widget sdk?

    I used only to BlackBerry JDE and am about to move to Eclipse. I understand that I can write in HTML & JavaScript, then compile them in .cod.

    I read that I must have the WebWorks installed in the Eclipse IDE plugin (and I can install the IDE with WebWorks already included). Can someone tell me, what is the purpose of the Widget SDK? Can I plugin WebWorks BOTH the Widget SDK to compile HTML and the hardware API library sources?

    Thank you.

    roricka

    Before I update my ide, let me ask you - originally, I started with the download on

    http://us.BlackBerry.com/developers/browserdev/devtoolsdownloads.jsp

    which consisted of the the BlackBerry WebWorks v. 2.5.1 plug-in OVER Eclipse IDE.

     

    So I can assume I already have the latest and greatest (the reason I ask is that it looked like the upgrade an existing installation of Eclipse with the plugin seems much more complex than to install both together)?

    Yes, you have the latest and best.  I recommend always download and use the full installation programs and not the update site.  Update website brings all sorts of complications.  We started to remove the update site support on a full installation on our Java tools just for this reason.  It represents 90% of our assistance to the installation.  So yes, please use the complete installation programs.

    A big problem - does not install the file files .alx with BlackBerry Desktop Software. No idea why that might be. I get an entry, and it says waiting for install, but when I click on apply ends upwards with nothing in the 'Status' column and the plus sign under the Action, which does nothing. Help!

    In order to install an application on the device, it must also be signed with BlackBerry code signing keys.  Have you purchased your code signing keys and signed your application?

    In addition,-get a simulator for my Curve 8310?

    You can download simulators for all models of BlackBerry.  However, the 8310 curve does not support the OS 5.0 which is required for applications BlackBerry WebWorks.  Simulators can be downloaded here: http://us.blackberry.com/developers/resources/simulators.jsp

    And why the initial compilation step so slooowly. It takes a few minutes for this simple PIN alert program. Is this typical?

    By the initial compilation, do you mean compilation and the launch of the Simulator or actual compilation.  On most machines, I noticed the build takes about 10 to 15 seconds.

    PS. for some reason, I sometimes can't play youtube videos. (Since they work sometimes, I tell myself that I have flash 10 installed ok.) But, is there not a DOCUMENT (as opposed to a video) which gives the same instructions as the video, including the source code for this simple application lists? Seems like that would be a no-brainer and would help out a little.

    I'm not sure of a specific tutorial of the Eclipse, but we step by step tutorials included with the sample applications for various different features:

    http://supportforums.BlackBerry.com/T5/Web-development/tkb-p/browser_dev%40tkb#/?sort_by=-topicPubli...

    There are other resources for learning here as well:

    http://us.BlackBerry.com/developers/browserdev/learningresources.jsp

    There are also a bunch of specific documents WebWorks here:

    http://docs.BlackBerry.com/en/developers/subcategories/?usertype=21&category=BlackBerry+WebWorks+SDK...

    As well as Eclipse specific documentation here:

    http://docs.BlackBerry.com/en/developers/subcategories/?usertype=21&category=BlackBerry+WebWorks+PLU...

  • Need help running push Widget Widget SDK sample

    Hello

    The Widget SDK is my first foray into developing for BlackBerry.

    I downloaded the installer that bundles of the Eclipse IDE (because I had problems with the update of the eclipse) since http://na.blackberry.com/eng/developers/browserdev/eclipse.jsp Simulator that runs when I launch a widget indicates that it is the Smartphone BlackBerry 2.13.0.56 Simulator

    I tried to run the example (found on http://docs.blackberry.com/en/developers/subcategories/?userType=21&category=BlackBerry+Widgets&subC...). I have the widget running in the Simulator and the Swing app that runs server-side code works as well, but the messages do not get pushed to the device.

    Here are a few questions & information:

    1. documentation of this example seems to assume a MDS standalone and not as a plug-in - IDE he talks port 8080, but I found that my instance of MDS is tuned to 28080

    2 access localhost 28080 shows me the status of SDM which is

    Build number: 93
    Build version: 5.0.0.93
    Construction date: 2009/08/12

    3. the example instructions say:

    Open the rimpublic.property file, located in the subdirectory MDS\config of the BlackBerry Email installation directory and Services MDS simulators.   Make sure that the line 'push.application.reliable.ports = 100' is NOT commented.

    I did find this line (I found the MDS file with the file with this name under \plugins\net.rim.browser.tools.wcpc_1.0.0.200910291414-35\wcpc\mds\config) so I added it myself.

    4. I am running Win 7 Ultimate and tried this after letting a MDS access by adding an exception and more completely by disabling the firewall.

    5. for the RIM option in server code to push, I get the following exception in the console:

    Sending to http://localhost:28080/push?DESTINATION=2100000A&PORT=100&REQUESTURI=localhostjava.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:28080/push?DESTINATION=2100000A&PORT=100&REQUESTURI=localhost
    

    6. for PAP, I see:

    [B@186d4c1[B@186d4c1 sending PAP request to http://localhost:28080/pap; pushId = pushID:64424432--asdlfkjiurwghasfContent-Type: application/xml; charset=UTF-8
    
    http://www.wapforum.org/DTD/pap_2.0.dtd"   []>
    
    
    --asdlfkjiurwghasfContent-Type: text/plain pap--asdlfkjiurwghasf-- [B@f9f9d8[B@f9f9d8[B@15b7986[B@15b7986

    7. on the console for the DMS, I see:

    <2009-11-28 03:49:48.683 EST>:[115]:::
    <2009-11-28 03:49:48.694 EST>:[116]:::
    <2009-11-28 03:49:48.697 EST>:[117]:::
    <2009-11-28 03:49:48.697 EST>:[117]:::
    <2009-11-28 03:49:48.698 EST>:[118]:::
    <2009-11-28 03:49:48.702 EST>:[119]:::
    <2009-11-28 03:49:48.704 EST>:[120]:::
    <2009-11-28 03:52:49.193 EST>:[121]:::
    

    8. After awhile, when you use PAP, the Eclipse console displays "connection of Notification period. Restart of... "and this message keeps repeating.

    So, if someone could point me in the right direction to get it to work or give me an idea of what I'm doing wrong, that would be great! I really don't know too much about the development of BlackBerry or SDM or push so I do not know where to start.

    Thank you!

    Hello

    It turns out that there is a known issue in the connection services MDS where environmental push imitate them you have to take a few steps.

    Once you have the open Simulator, you must have the device Simulator to connect through the SDM a couple of times so that he knows that this is actually.

    What we have seen that the work, should open the browser and go to a link like http://www.google.com a couple of times and then try and push.

    some of our developers have seen that sometimes it can take a few tests so that the MDS detect the Simulator.  We have a bug connected with the MDS team on this topic.

    Tim

  • WebWorks and widget is the same?

    WebWorks and widget is the same?

    The BlackBerry Application Platform WebWorks is an evolution of what exists only in the development of Widget SDK.  They are not the same.

    The BlackBerry Application Platform WebWorks is just that - a platform - to create BlackBerry applications.

    More than a developer tool, it is the platform that encompasses all the development tools available, supported technologies and services that are available for developers to use to create applications fully functional BlackBerry using web technologies such as HTML, CSS and JavaScript.

    The BlackBerry Application Platform WebWorks is:

  • Deliver the SDK API width / space names with the avoid recompiling method

    Hello

    I'm having fun with the Widget SDK Beta 2 which is a great tool.

    I followed the instructions in this tutorial, in order to avoid recompiling my widget after change:

    http://NA.BlackBerry.com/eng/developers/devbetasoftware/WidgetTutorial_How-to-avoid-recompliling.PDF

    It works perfectly and it's really effective... If I stick to the native functions of JS...

    But now I have a problem when you use the RIM API and the objects in the namespace 'blackberry '.

    Namespace "blackberry" seems to exist because I can find it in an alert box.

    But when I want to access blackberry.system.model for example (as explained in the tutorial), I got an error. Well actually, I get no errors, but the code is not executed.

    Same problem with other objects in the namespace of blackberry (blackberry.pim.Address, blackberry.identity... whatever...)

    When I go back in an alert box, they are undefined.

    Code examples in the config.xml file:


      
      

    I use localhost on 8080, but it is not a problem, isn't it?

    In any case, on port 80 by default: same question

    Code examples in the file index.html:

  • Widget deployment problem

    I'm new to the blackberry widget dev process so bear with me. I have trouble getting my widget to work on the device itself. Here's what I did to get to where I am so far:

    1 developed a web application (Calculator). Coded in html, Javascript and css by hand.

    2. I made the recalcitrant xml file and images folder etc so it runs on a Blackberry device

    3. it works perfectly in the Simulator on my machine

    4. I bought, received and installed the signing keys. I think this has been done correctly because I followed the documentation and he went to the way it was supposed to, so know a reason to think that the keys are bad.

    5. update of the widget with the widget of REM conditioner.

    6 use BlackBerry desktop software to install the files on the device .alx file

    Now, I have it on the device and I always get the error "trying to access a secure api."

    What I am doing wrong? Any help would be awsome.

    D.

    When packing your widget, you must use the indicator/g so that she could sign the COD file, as part of the build process.

    You can sign your application later too.  To do this, run the SignatureTool.jar file located in the BlackBerry Widget SDK installation directory bin, select your COD file and click on the button request Signatures.

  • Get information about the camera in the calling Widget

    I use the BlackBerry Widget SDK and my app called the camera and once the user returns in the Widget, I would like to show a preview of the captured image. Right now, I'm just display the most recent file from the file system.

    It seems unlikely, but I was wondering if there is a way to identify what the user has done once the camera started? Was taken with a wink or did the user just press the back button? The best thing would probably be the path to the image that was taken, but I'll take what I can get.

    Thank you!

    Hello

    Of the functionality currently provided, you do the right thing.  We have an API "takePicture()" scheduled where it would return you the photo if the user has taken a hit.  But right now, looking for the most recent filed your current approach.

  • Widget Gears httprequest

    The new Widget SDK (Beta) supports the object httprequest API as part of its support to Gears?  I have the following code, which works very well through IE, but does not work when compiled as a Widget running on the Simulator.  It seems to be failing at request.open stage.

    TIA

    Dave

    Go online

    It looks like a question of demand original cross with the purpose of Gears in the beta version code.  The problem was reported to the development team and fixed.

    For now, you can use the regular XHR way as long as you don't need to run in a worker thread.

  • Widget - Access denied

    I have developed a widget that access the xml files located on different external sites, analyze and display the content. So, I get a few pictures. They are preloaded as part of the widget.

    I do not use any specific Blackberry API. I use Widget SDK Beta 2 and Visual Studio 2008.

    I added to the config.xml file. The widget works well on Simulator and can access files on remote servers xml.

    I signed the MyApp.cod file and then loaded into my device. At the launch of the app, I get a blank screen with the message "access denied."

    Do I have to include any feature in the config. I do not use any specific Blackberry API in my widget.

    Thank you.

    The question was the following line in the file config.xml (comment). He tried to access index.xml on host that does not exist. It is why he has worked on the Simulator, but not on the device.


     

    Thank you.

  • Problem with blackberry.io.file.saveFile: error #3006

    Hello

    I'm currently storing a lot of binary files for use offline with my client of pocket at some point that I always get this error code in blackberry.io.file.saveFile:

    Error: Error #3006
    

    I have found no solution to this problem and I don't know what the code means? I already searched this on this forum and with Google code, but not luck. Does anyone here know what that means?

    The image in this case (if this could be significant):

    http://appworld.BlackBerry.com/WebStore/servedimages/478660.PNG/?t=18

    Any help would be really appreciated!

    See you soon,.

    Sven

    What SDK WebWorks is - 10 BlackBerry or Smartphone (Java) or Tablet OS (AIR)?

    I just did a search in the source code of the Smartphone SDK and found no matches on this error code:

    C:\Program search in Motion\BlackBerry 2.3.0.9\device_templates\blackberry\web\widget SDK WebWorks

    This suggests that the error comes from the BlackBerry OS, instead of SDK WebWorks.

    Can you tell me, is there a model when you see this error?  For example, you turn on mass storage mode (locks the file system), or you change a map removable microSD?

  • Works very well in the Simulator, but when it is installed through the Desktop Manager questions

    OK so as well Hello world and production apps work correctly on the Simulator... I had some advanced api like blackberry.identity but I removed it because he yelled at me for code signing... I removed the advanced permissions but usually always open... I can see the application in the list of downloads, but clicking nothing

    I tried with the sample application engines and the same thing... click on the application icon, but nothing happens...

    Once again any word on sim and no not use any "features" except the blackberry.ui (on production app)

    blackberry 9630 tour

    Thanks for your help!

    All the BlackBerry Widgets require the signature, even if you are not using a single line of JavaScript.

    The software BlackBerry Widget SDK generates the Java code required to create the widget.  The display of web content in a Java BrowserField, which requires a signature.  Therefore, all the widgets must be signed.

    Code signing keys are usually issued within 2 days of the order, but may take up to 10 business days.

  • Simulator BB 9700 OS 5.0 error popups on load - failure of the catastrophic Assertion, an Access Violation

    I have a problem with the OS 5.0 based simulators, I get the following error popups a few seconds after the start of the Simulator. An MDS service is running. This particular Simulator is BB 9700 5.0.0.54 5, but I have essaye.400 and even 5.0.xxx BB 9000 simulators and get the same result.

    I tried running the clean.bat, but it did not help. Other simulators 4.x OS would be fine, it's just 5.0 sims who do this. I also tried to uninstall, and then reinstall 5.0.xx different simulators and it can run ok once, but after this, I get these errors again.

    I have several installed simulators as I need to develop/test on different models. Also have the Blackberry JDE 5.0, Widget SDK 1.0 (these errors until I installed these however), Java Runtime Environment SE 6 update 20, JDK 6 update 20 installed. I have the log file failure.zip, but do not have a way to download it here.

    Please if anyone can help, what should I do?

    Well, since nobody offered any assistance, I continued to figure out my own it was. I tried different versions of simulators 9700 and 9000 on computer of other colleagues, she also gave the same mistakes as the screenshot above, so I assumed that there is something interfering with the simulators on our work PCs.

    Then I tried to use a new BB 9650 Simulator w / OS 5.0.0.621, and it worked! There is something that is "fixed" in this Simulator not appearing in the 9700,9000,8900 w / OS 5.0. It is also much faster to start vs others. I hope the Blackberry administrator can speak on what is different and this clear in their other simulators OS 5.0?

    in any case, it was my work around, although that is not ideal.

  • Remove the HTTP 401 Authentication dialog box

    Hi people,

    Y at - there a way to remove the HTTP 401 Authentication dialog that appears in the web app works if the user enters wrond username or password?

    Thank you

    Chaitanya

    Hi dtater,

    You need comment a few lines in Authenticator.java. You can find this file in web works folder widget sdk. Based on authenticator.java goto invokeAuthenticationDialogAndStoreCredential and comment out the call to function invokeAndWait.

    After making this change you need to compile your application.

    Note: After changing it, all of your console application which are compiled using this sdk will have this fix.

    Thank you

    Chaitanya.

  • What are some nice apps developed with?

    Hello

    I was wondering if anyone knew what UI toolkits and libraries use some nice apps. For example:

    -Poynt

    -MapQuest 4 Mobile

    -BeWeather

    -GMail and other Google apps

    -Urbanspoon

    -Citysearch

    They use just the JAVA API native BlackBerry with heavy customization? Or are they written in the BlackBerry Widget SDK? Or they use 3rd-party libraries? Or something else?

    All of our applications is writing just using the native BlackBerry Java API - and, frankly, they do not look too nice.

    Thanks for any help.

    native API with customization heavy.

    most companies have a UI Library developed itself allows to reuse components such as fields.

Maybe you are looking for

  • Page error 0 x 00000050 while reinstalling windows XP

    I am trying to reinstall windows xp - it just so of many bugs/blue screen crashes, etc., it's time.  But when I boot from the windows xp installation cd, it starts to load windows things and then gives me this error partmgr.sys - pagefault in area no

  • Customize the options of users as part of RMC Portal

    Hello guys,. I have deployment MCU (4510) with TMSPE (1.5) / conductor (XC4.0). Users have asked on RMC portal customization. is it possible to customize option as: -Remove the numbering automatic option of CMR user portal (to avoid the miss use of t

  • Indian reps who claims to receive news some problems with my Win 7 OS

    I received a phone call with no name or telephone number of an IndianRepresentative that claims to be from Microsoft that they receive information frfrom my PC there is a problem, scam or a virus and would like to consider the issue and correct it. I

  • A security group can be used as a reviewer?

    HelloA security group can be used as a (approvingly) examiner?Thank you

  • How to get Freecell on the desktop

    You can get as part of the Collection of Solitaire of Microsoft App Freecell. But this version is worthless since it works only full screen. Here's how to get Freecell to run in a window on the desktop of Windows 8. Copy the files name freecell.exe a