Starts the webworks development

Hello

I developed blackberry applications with the blackberry java sdk. I was informed that the use of webworks is much better to display graphics in a blackberry app. Can I integrate java code within webworks or vice versa? I would like to use webworks to simply manage the graphics and use the java SDK for everything else. Is this possible? Webworks applications work in the browser, or as a stand-alone application?

Any help much appreciated.

Thank you

That's the key. Keep in mind there are already APIs and community of extensions that can do what you're looking for. A lot of people don't need to write an extension custome at all.

adrianeireyahoo wrote:

To convert a native java application webworks should I create a new project of webworks, write the html/css/js code for my GUI and then write a series of extensions to call a java specific functionality.

Tags: BlackBerry Developers

Similar Questions

  • Good book for the WebWorks development?

    I'm having a time difficult WebWorks learning development in a way that is unstructured (through all documents on this site). Can anyone recommend a book that passes by the WebWorks development? I'm bad! Thank you!

    Mike

    WebWorks = HTML5 apps. Nothing special about this chapter in addition to the use of the SDK which would take place a max if there is such a book.

    Note: This is a good thing! Completely conforms to Web standards. Thus, the applications developed under WebWorks will be super easy port almost any platform. I already did with my apps.

  • WebWorks development on Linux

    Hello world!

    I starts up with the WebWorks development, but for me it was very painful start doing in Windows. The just command line match the UNIX.

    Are there any developers working in Linux? Is it possible to make the whole Linux development cycle? Testing, packaging, signature?

    Thank you for the advice

    Thank you!

    Unfortunately, the SDK comes with a lot of Windows executables (lots of AIR), so it would not run natively, but I have not tried to use wine.

  • How to make a request on a URL using webworks development environment?

    Hey geeks,


    How to make a request on a URL using webworks development environment?


    Thanks in advance...!

    "A request for a url" you try to perform an ajax call and it does not work? Any field/origin you're wanting access must be white listed in a element in the config.xml file. Details of this are in the WebWorks development guide

  • WebWorks development through the deployment of visual studio plugin problem

    I developed an application WebWorks using the Visual Studio plugin, now after compiling the application, I have a series of .cod files, not. bar.  Documentation indicates that the blackberry - deploy command wants a .bar file to deploy the application on the Simulator.  I tried to just take all my program assets (images, js, css, htm files, etc.), the zip and compile them using the command line tool (bbwp), but I get a series of errors of syntax and then a final error (an exception through the JRE) indicating that it could not find the file necessary to complete the compilation bar.  Maybe I forgot something?  Any help would be greatly appreciated since I can't test this application, unless I can actually deploy in the Simulator.   The .cod file deploy the application I get an error indicating that there is no such thing as a specific file in archive (although I've specified a .cod file).  For some reason any I can't get this thing to deploy on the current device.  PLEASE PLEASE HELP ME! This part of the project is so frustrating at the moment, been working on the deployment of the hours now.

    I think it's because the config.xml file that was generated by visual studio for BB device and not the playbook.  You will need to create a file config.xml for the app playbook.  The simplest way is to each one of the webworks tutorials copy or there is an example in the 'Blackberry Webworks SDK - Table OS Development Guide'.  Here is the link http://docs.blackberry.com/en/developers/deliverables/24043/BlackBerry_WebWorks_SDK-Development_Guid...

  • How to get the functionality of the Plugin BB10 webworks development using phonegap.

    Hi all

    How to get the functionality of the Plugin BB10 webworks development using phonegap.

    Thank you all

    Here is a link to the documentation specifically: http://docs.phonegap.com/en/2.6.0/guide_plugin-development_index.md.html

    We will update the things little when we adopt a more close relationship with Cordova.

  • How to start the APEX in Oracle developer pre-built VM

    Hello community,

    I have download the DB VM developer

    Developer Day - database application development practice

    I start the virtual machine, but do not know how I can start the listener of the apex and ADR?

    I assume that the virtual machine is ready for anything and play without the developer dealing with service installation and configuration?

    I watch the lsnrctl status:

    [oracle@localhost ~] $ lsnrctl status

    LSNRCTL for Linux: Version 12.1.0.2.0 - Production on April 9, 2015 11:50:27

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=0.0.0.0) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production

    Start date April 9, 2015 11:04:17

    Uptime 0 days 0 h 46 min 9 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /home/oracle/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora file

    The listener log file /home/Oracle/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=0.0.0.0) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 2121))(HOST=localhost)) (Presentation = FTP)(Session=RAW))

    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=localhost)(PORT=5500))(Security=(my_wallet_directory=/home/oracle/app/oracle/product/12.1.0/dbhome_1/admin/cdb1/xdb_wallet))(Presentation=HTTP)(Session=RAW))

    Summary of services...

    Service 'cdb1' has 1 instance (s).

    'Cdb1' instance, State LOAN, has 1 operation for this service...

    Service 'cdb1XDB' has 1 instance (s).

    'Cdb1' instance, State LOAN, has 1 operation for this service...

    Service "orcl" has 1 instance (s).

    'Cdb1' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    It seems that there is no listener for APEX or ADR

    How can I get that will easily?

    I just downloaded the latest ADR. Unzip it and do

    java-jar

    ords.jar

    and follow the prompt and it works

    two things I noticed.

    1. Make sure that apex_public_user is good to go
    2. make sure to put the correct directory for static
    3. Choose a port that is not used

    the configuration is in properties files and need to be changed...

    I wonder why this virtual machine does not right out of the box and looks like it sets up to 8080

    but it does not work when I do one

    localhost: 8080 / apex

    I guess that everything should work right out of the virtual machine and config...

  • Errors when you try to start the listener HTTP (Oracle Developer Suite 10 g)

    Good day everyone,

    I'm doing some development on certain forms in Oracle Forms Developer 10 g and I have problems creating a local development environment. When I try to run a form in Oracle Forms Developer 10g, I get an error message telling me that my HTTP listener cannot be found. When I try to run my HTTP listener, I get two error messages:

    The server initialization error: error reading system i/o
    Fatal error: outgoing server

    Could someone help me with the configuration of my local development environment? I need the environment so I can use debugging tools in Oracle Forms Developer 10 g (currently I deploy the form in the development environment and trouble shooting problems I have).

    Take a look at forms: how to configure Forms Builder to run forms locally. After you set up your system, then you will need start the OC4J instance before you can run your form.

    Craig...

    Published by: Silvere on April 17, 2012 12:16

  • Cannot start the emulator Ripple

    My computer is Windows 7 (64-bit). I tried to use the Ripple development smartphone emulator.

    I installed the emulator of ripple on C:\Program Research In Motion\Ripple 0.9.0.16

    and BlackBerry WebWorks SDK in C:\Program Files (x 86) \Research in Motion\BlackBerry WebWorks SDK 2.3.1.5

    These are the locations by default, the installation program provided.

    When I double click on the folder icon in the start menu, the program does not even appear, waving the emulator does not start. I even restarted my computer but nothing is running.

    Not sure if it's the same problem, but removing the c:\users\\appdata\roaming\Research In Motion\ Directory After uninstallation of ripple, then reinstall fixed any issues with waving to me. I hope this helps.

  • I can't open the web development tools

    I can't open the web developer tools tab in the firefox menu and the text is bold

    This happens with all the tools in this menu?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode safe or make changes.
  • How to start the Library/bookmarks only window?

    Older versions of FF had a command line option in the style of a 'b' after another character. In this case, I could edit and export bookmarks without having to start the main program with all its plug-ins.

    You can use the switch to command line of chrome to open these special windows as the Manager of bookmarks (library) via the command line.

    • chrome://browser/content/places/places. XUL
    • chrome://browser/content/bookmarks/bookmarksPanel.XUL
    • "C:\Program Files\Mozilla Firefox\firefox.exe"-chrome chrome://browser/content/places/places.xul
  • I received a msg on MacBookPro: Virus found - press OK to start the repair.

    I received a message on my MacBookPro: 'the last visited Web site infected your Mac with a virus.  Press OK to start the repair process. »

    Repair URL is "http://apple.com-officialmessage.com".

    What is a valid URL for repair of viruses?  Or is it a scam any?

    Thanks for all tips.

    It's a scam.

    Force Quit (command-option-ESC keys) browser. Then, restart Safari by holding down the SHIFT key. Then, turn off the extensions Safari (Safari menu > Preferences > Extensions)

    Then download and runMalwareBytes. Malwarebytes was developed by one of our colleagues here to ASC. He received rave reviews and is on the more proven anti-malware for Mac software.

  • Start the host program automatically starts the RT program

    Hey guys,.

    I'm in a test phase and wanted to ask if it is possible to start the RTW program automatically, when I start my host VI. I don't have any executable for the moment because I am in the test phase, but I only want to support on "the button execute on the host VI and start (RT and HOST) screws.

    Is that possible or do I have to press two buttons to run?

    Kind regards

    Slev1n

    As Crossrulz notes, LabVIEW RT is essentially to another computer, does not Windows but rather running a real-time operating system (if on PharLap an Intel processor, often a version of Linux on FPGA hardware, I think).  It has always been necessary for these targets of RT to be 'on' and 'something', of course.  In the early days of LabVIEW Real-time, they sat often slowed down and you would use VI server to download and launch your RT code on them.  With the advent of the LabVIEW project (much) better to manage the objectives of the RT as, OR goes to a slightly different model where, as Crossrulz points out, the RT Code is supposed to be downloaded to the target and configured to start automatically running when the target is powered.

    In development Mode, there are provisions to download ("Deploy") and start the target RT and (theoretically), it should be possible to do it programmatically.  I tried to do this, but it was noticeably awkward that I have "gave in" and (except when in development Mode) practical to develop recommended follow-up of OR deploy and defined as starting on the target of RT.

    The idea, of course, is that if you know that the target RT is running when you start the host, the target should wait for the host to send a signal saying ' Hi, Target, are you ready to start working with me? (the target, of course, answered "Sure, let's get started...") »).  How to set up the first handshakes, it is up to you.

    Note that this model assumes / requires that until the host stops, it informs the RT target that she came out, allowing target RT back to its State "in expectation of the host."  A really simple way to do this, of course, is for the host to tell the target to reboot, which in fact boost its Startup Code (which is the target RT program).

    Bob Schor

  • Start the asynchronous call brutal Typedef Bug

    There is a nasty bug which I think is the cause of many anomalies weird I see with the events of the user, like where some get fired and if I probe the refnum of the event on a VI that was launched using the asynchronous call node start I get some weird value for reference as 8450 or 5500 instead of some great typical integer. It is not also match the value that I get when I initialize the reference. This happens only intermittently, but I can reproduce the bug that I see on a smaller scale to a certain extent. This is not exactly the same as what I see in my current project, but I guarantee you both are related. Also, I'm pretty confident that this has to do with the help of LVlibs as well.

    So... to reproduce some questions:

    Unzip the attached code and open the project

    Open Main.vi. It is hard to see because it's pink, but notice the point of constraint on the node to call asynchronous start. This is provided at this point because I have a cluster of non-typedef in the connector pane, but a TD cluster plugged into it.

    Now open AsyncCall.vi

    Drag the eventcluster.ctl of the project on the façade of the asynccall.vi

    CTRL + x on the typedef cluster that has placed you on the front panel

    Select the non-typedef cluster by clicking it

    CTRL + v to replace the TD not cluster with the cluster of TD and save

    Return to main.vi, you will notice that the point of constraint does not go far.

    Open context-sensitive help and notice that the ctrl types match, but it's as if LV does not recognize it on the beginning of the node of the asynchronous call.

    Remove the node from asynchronous start call, then replace it. The cluster to the top wire. Voila, no point of constraint.

    Second question - same result but different method to get there.

    Now that you have components of connector typedef stress points and no more because you've taken the first steps of this 'exercise', remove the EventCluster.ctl from the library and record.

    WOAH, look the points of back strain, because node call asynchronous start still referencing the typedef cluster that he thinks that should be in the library. This can be seen by removing the cluster on main.vi and then right-click on the node to call asynchronous start on the side of the connector and creating a new constant of cluster

    It is creates a greyed out of control! Why? Well, we will reopen the context-sensitive help. Whadda you know, it's always looking for the control in Bug.lvlib that no longer exists.

    Now, the question that I'll have in my complete project that I can't post and can not reproduce on a smaller scale updates the typedef causes the dot of coercion. Otherwise I can't update my typedef cluster that contains all my events without going and replacing EVERY SINGLE launch async call node EVERY time I have add a new event.

    Major problem.

    Please let me know if these steps to reproduce were not clear or you have difficulties to reproduce the problem. I use LV2013 SP1. I opened the project in 2014 to see if it has been fixed in a later version, but I saw the same thing.

    I can repro with measurements of @GregFreeman and also confirm that I saw this same issue at least since the LV2012, but they have not reported it having not been able to provide a minimum test (thanks, @GregFreeman!) scenario

    For the record, it seems that the bug here, it is the spread of type sometimes makes an incorrect assumption / optimization as to if the conpane of the start the asynchronous call node must be updated when the source changes.

    A more obvious change - say, add/remove an entry, reverse order, or change data types altogether - always seems to spread properly.

    Incorrect optimization seems to be a terminal retains the same type of database, but transforms the type definitions - or, if the type definition is re-related or related outside a library owner.

    @GregFreeman watch the bug goes from non-typedef typedef, but it's actually worse in the other direction - when a link to a missing file is maintained.

    Call the asynchronous starting node seems to maintain a list of links that is distinct from that of the VI, and this list of links separated, this is what seems to not be properly invalidated. For example, in the screenshot, I illustrated example of Greg that the node generates no error in the compiler even after parenthood and rename the Typedef...

    ... even when we "Create Constant" on this terminal incriminated with list obsolete links, we get a compilation error. Since then, the grayed out type highlighted in the contextual help cannot be found, because 'Bug.lvlib:EventCluster.ctl' no longer exists, but the list of links separated from this node was not notified:

    It is worth noting that "Bug.lvlib:EventCluster.ctl" does not appear in the list of links of the VI at this stage.

    Often, no compiler error is generated after this failure occurs and as Greg reports, you could end up with undefined behavior (e.g. suspicious Refnums and events that seem to not fire not) (and I'll add it to this list a hearty portion of DAborts with diversion total number of messages).

    In addition, you * could * receive errors of cryptic linker for generations, but maybe not (the above screenshot, you'll notice I added two builds, neither of which seems to have a problem of building). (It seems that the broken link is travel with the distribution of the source, even if 'Disconnect the definitions of Type' is selected during the build process. That is why I believe anecdotally that node maintains a list of link separately the list of VI, and it's maybe part of the problem).

    It is noted that during this refactor (de-parent and rename) all screws and control remained open and in memory and all files have been saved. No funny business where LabVIEW would be unable to update links in a file that was not in memory.

    Another note - in the original example, all source files have been unifiles, and I can add anecdotal report this bug is much more insidious when separate compiled Code is active on the source files. In this case, the source may appear to be perfect - no point of constraint, no link expired - but the code that is currently running can be broken. In other words, what you see is not what you get, which makes debugging impossible. (This bug in particular is one of the few who makes "Cache of compiled clear objects" become a normal procedure controlled throughout the application development)

    Anyway, I wanted to draw attention to this issue, given that this thread is not yet associated with a CAR and it's a serious bug that generates a behavior undefined performance caused by a fairly normal refactor now has a well-characterized small repro case.

  • start the Web server in different folders

    I developed a compiled VI (Smarts - Net .exe) that has been designed to operate in a specific folder (\Smarts-Net) and activated the Server Web page of Smarts - Net .html in the same folder.  So far so good.

    The application receives data in real time produced another of our programs and generates graphs to show "what happens".

    My clients would like run multiple instances of my program for their customers, but want to isolate their customer 'A' customer 'B' so that they cannot display the data on the other.  I can start my application using different IP ports so that I can have multiple views, but I want to further isolate the data of the customer in different folders.

    I did a 'manager' program that will create a subfolder of the folder in my main application (\Smarts-Net) so that it would appear as "\Smarts-Net\JobA" and copy all the files in the main folder in the new subfolder.  I then change the of Smarts - Net .ini file with the new pathname of the file and the new port like this number:

    [Smarts-Net]
    server.app.propertiesEnabled = True
    Server.OLE.Enabled = True
    Server.TCP.servic = "My Server computer/VI"
    server.vi.propertiesEnabled = True
    WebServer.DirectoryIndex = "index.htm"
    WebServer.LogEnabled = True
    WebServer.LogPath=C:\Smarts-Net\Logs\Smarts-Net.log
    WebServer.MimeTypes = (a LOT of Mime types in here... I left aside for this post)
    WebServer.Port = 9501
    WebServer.Enabled = True
    WebServer.RootPath=C:\Smarts-Net\JobA
    WebServer.TcpAccess = "" + c * ' "
    WebServer.ViAccess = "' + * '"
    DebugServerEnabled = False
    DebugServerWaitOnLaunch = False

    After you change the .ini file, I start the application (Smarts - Net .exe) to the new folder.

    This is where I need help.  If I try to display the VI from another computer using an address like http://snape:9600/JobA/Smarts-Net.html, I get an "HTTP 404 - File not found" error.  But, if I try to http://snape:9600 / Smarts - Net .html, I get the VI Panel!

    Thus, it seems that I can change the Port in the .ini file, but not the RootPath.  Does anyone know how to get the html to load from a different folder from the one specified when I created the application code?

    Hello Steve,.

    From your description it looks that the web server is already doing what you say you need for.

    There is a difference between the URL path, the path that is entered in the browser and the path of file system, the location of the file on the disk.

    The WebServer.RootPath token specifies the directory of the file system that corresponds to the root directory, "/", in the URL. You have specified C:\Smarts-Net\JobA as root your path so all files in this directory will be the URL of the http://mycomputer:myport / myFile. If you want the URL of http://mycomputer:myport/Logan/myFile then you need to have your root C:\Smarts-Net\ directory.

    Does make sense?

    Nathan

Maybe you are looking for