Momentics and bbndk - 2.1

Is (or will be) possible to use the momentics IDE for use with the bbndk PlayBook - 2.1?

Can I configure momentics to use bbndk - 2.1 as an alternative to the bbndk_bb_10?

I don't want to use Cascades on PlayBook, but it would be nice if I could create native or applications the same source for PlayBook and OS_10 Qt by simply change the definition of the interface.

MfG

Werner

So I'm still trying to find me a solution

MfG

Werner

Tags: BlackBerry Developers

Similar Questions

  • * CRITICAL ERROR * Momentics - Editor could not be initialized

    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
        at java.lang.AbstractStringBuilder.append(Unknown Source)
        at java.lang.StringBuilder.append(Unknown Source)
        at com.rim.tad.tools.qml.parser.ast.ASTUtils.indent(ASTUtils.java:233)
        at com.rim.tad.tools.qml.parser.ast.ASTUtils.access$0(ASTUtils.java:231)
        at com.rim.tad.tools.qml.parser.ast.ASTUtils$1.visit(ASTUtils.java:134)
        at com.rim.tad.tools.qml.parser.ast.ASTVisitor$Adapter.visit(ASTVisitor.java:223)
        at com.rim.tad.tools.qml.parser.ast.ASTVisitor$Adapter.visit(ASTVisitor.java:313)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:111)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLObject.accept(ASTQMLObject.java:102)
        at com.rim.tad.tools.qml.parser.ast.ASTQMLNamedValue.accept(ASTQMLNamedValue.java:122)
        at com.rim.tad.tools.qml.parser.ast.ASTList.accept(ASTList.java:279)
    

    At startup. Originally close the editor. How to solve this problem?

    Criticism! Impossible to develop or access the qml files.

    Also, try opening a new empty workspace.  If you have disabled Momentics to invite the user to choose a workspace on startup, open the following file in a text editor:

    bbndk-2.1\configuration\.settings\org. Eclipse.UI.IDE.prefs

    And change:

    SHOW_WORKSPACE_SELECTION_DIALOG = false

    TO:

    SHOW_WORKSPACE_SELECTION_DIALOG = true

    And then try to start over Momentics and choose a new workspace.

  • Porting Qt for Qnx Momentics application

    Hey, I wanted to know if its possible to transfer my Qt to the Qnx Momentics IDE application. I search everywhere to search to find the documentation or instuctions on how but cannot find information porting of Qt Creator

    Basically, that's what I

    I carried the Qt for Qt Creator application and have successfully got running on the Alpha of Dev

    Now I want to:

    1 import / move more Qt App to the IDE from Qnx

    2. remove the Qt INTERFACE and rebuild the App for UI in the cascades while keeping the back end qt

    So can I keep the rear end of Qt and rebuild this Interface in waterfalls?

    If for anoyone can point me to the documentation on how I can move the porject in Qnx Momentics.

    NOTE: Im fully aware im not able to mix code UI/Interface Qt with waterfalls. I have to choose one or the other. in this case, I want to replace the user of Qt interface with waterfalls

    Thanks in adavnce, happy coding and porting

    Yes, QDE is QNX Momentics IDE. I think it is easier to move their inverse:

    Create a new project in Momentics, and then move the source one of the old project files in new (with the exception of the classes related to the GUI). And then recreate the GUI.

    On QT Creator / waterfalls:

    To set up QT Creator, follow the steps on the wiki:

    http://Qt-project.org/wiki/setting-up-Qt-Creator-for-BlackBerry-and-QNX

    I think you have already done this.

    Then create a Qt Quick project (wiki describes this step).

    After that remove all Qt Quick related features of the project and add libraries of stunts in the .pro file. This is how my project file looks like this:

    TEMPLATE = app
    
    # Please do not modify the following line.
    #include(qmlapplicationviewer/qmlapplicationviewer.pri)
    
    # Additional import path used to resolve QML modules in Creator's code model
    QML_IMPORT_PATH =
    
    QT += declarative script xmlpatterns xml sql network svg
    
    INCLUDEPATH += src
    
    # Workaround for autocompletion bug
    INCLUDEPATH += include include/cpp include/qt4/QtCore include/qt4/QtSql include/qt4/QtNetwork
    
    LIBS += -lbbcascades -lbbcascadesmultimedia -lbbdevice -lbbplatform -lbbpim -lbbdata -lbbcascadespickers -lbbsystem -lbbmultimedia
    
    # The .cpp file which was generated for your project. Feel free to hack it.
    SOURCES += main.cpp \
       ...other cpp files...
    
    OTHER_FILES += bar-descriptor.xml \
        qml/main.qml
    
    HEADERS += \
       ...header files...
    

    Then update file bar - descriptor.xml. You can use the Momentics generated file as a template. Here's my bar - descriptor.xml (replace application_name and paths):

    
    http://www.qnx.com/schemas/application/1.0">
        com.mydomain
        Application Name
        1.0.0
        Application Description
        
            none
            false
            true
            portrait
        
        
        
        
        run_native
        MyApplication
        qml
        assets
        
            assets/images/icons/applicationIcon114.png
        
        
           assets/images/splash/portrait768x1280.jpg
           assets/images/splash/portrait720x1280.jpg
        
    
    

    After this attempt to create and deploy a simple project of Cascades. If everything is ok, start moving your old project files (file-by-file).

    Important:

    AutoComplete does not work initially. All stunts and Qt classes will be highlighted in red.

    Wiki describes some workaround solutions. The one I use is create a symbolic link in your project file to point to the ndk includes the folder:

    lrwxr-xr-x @ staff 1 user 55 15 Dec 19:23 include->/Applications/bbndk/target_10_0_9_1673/qnx6/usr/include

    Then, add the following line to the .pro file:

    INCLUDEPATH += include include/cpp include/qt4/QtCore include/qt4/QtSql include/qt4/QtNetwork
    

    Autocompletion should work after that. I use Qt Creator on MacOS, this may not apply to the version of Windows.

  • Momentics problem: "requires" com.qnx.tools.ide.sdk.indexer [132.0.0,133.0.0) ".

    I have a recent Momentics and when I go to "Install New Software" "All available Sites" and "Index of native SDK for BlackBerry 10" it says there's an update for the BlackBerry SDK native 10.2 132.0.0 but when I try to update I get an error: "cannot complete the installation because one or more required items be found.» Software being installed: BlackBerry SDK native 10.2 132.0.0 (blackberry_native_sdk_index.10.2.0.1155.group 132.0.0) missing requirement: BlackBerry SDK native 10.2 requires 132.0.0 (blackberry_native_sdk_index.10.2.0.1155.group 132.0.0) ' com.qnx.tools.ide.sdk.indexer [132.0.0,133.0.0) "' but it is not found" I search my computer and it look as if there is a newer version of this index of the file it mentions.] Is there something I can do? Also another problem: when I go to 'Help' "Check for Updates" it says there are all sorts of resources available. I'm trying to update and it seems to do and then it asks to restart, but they are always there to be updated? What is going on?

    Can you try to install the last 10.3.1 beta SDK BlackBerry?  It can include the missing element.  I don't know what is missing from this error.  The steps to upgrade to 10.3.1 beta can be found here: https://developer.blackberry.com/native/downloads/releasenotes/

  • Compiler issues C++ Momentics.

    Hi all here!

    I started playing with the development of BlackBerry, I installed 2.1 Momentics and BB 10.3 Windows SDK 8.1, the Simulator and everything seems to work very well.

    However, I would like to ask a question about the C++ compiler that uses Monetics IDE:

    a. I see that the default build tools is a "QCC QNX. What is a custom version of GCC?

    (b) I tried to use certain features of the C ++ 11 but had compilation errors. Is there a place on the IDE where should I put the "" - Wc, - std = gnu ++ 0 x ' and I'll be OK or not? " C ++ 11 soustenans is at all?

    c. What is the difference between "QNX QCC" (which seems to be the default) and "Multi - toolchain QNX? Which should I use?

    Many thanks for any help on this.

    Welcome on the support forums.

    no idea on the two others, but c ++ 11 is not supported.

  • Split in momentics

    Hello community!

    Im am new in programming and, especially, if it comes to application development, but I have a great interest in learning.

    I recently installed momentics and now I write code for my first app but I have one met with a diffciculty.

    I have less different Pages of the same .qml file but I only see the first condition in Splitview mode. Is there a way to choose which page I want to see, or I'll have to write Pages in different .qml files?

    Thank you!

    If you don't mind, please open a new thread for each question and mark a resolved as resolved.

    If you have pages qml in subfolders, you can use the import followed the folder_name string statement, otherwise you can just use the component.

    If you want to dynamically create qml objects you can use ComponentDefinition, see https://developer.blackberry.com/cascades/reference/bb__cascades__qmlcomponentdefinition.html or see the guides on developer.blackberry.com

  • Compile and link time?

    Hello BlackBerry devs,

    We are developing a relatively large application composed of nearly 1,500 units of compilation spread over 2 static libraries and the main application. We use WNX Momentics and managed to build. Total hours of recompilation are 40 minutes with a time of 5 minutes on the final application link. Y at - it all the settings people may know who could help in this area?

    We use preincludes in all projects. It seems a PCH file would be beneficial in this case, however, it doesn't seem to be a way to allow this in managed Momentics is based.

    Also, our code base depends on the abbreviated wchar_t (- fshort - wchar). This causes the linker emits a warning (uses 2 bytes wchar_t and yet the result is to use 4 bytes wchar_t; use of wchar_t values among the objects may fail) for each linked object which, with more than 1500 linked object causes a LOT of output and probably slows down the link accumulate these messages. It doesn't seem to be a way to silence this warning because - fshort-wchar allows effectively to its default error status warning.

    Thank you very much

    Stéphane

    Hi Stephane,

    I did not explicitly build settings for the precompiled headers but confirmed that they are supported.  Since they are standard options of GCC, you can add them to the General settings QCC options page.  I'm trying to see if someone has internal settings that I can share.

    On the linker WARNING: changes the ABI - fshort-wchart and makes the code incompatible with the libraries on the system. That's why the linker warns about the incompatibility of the ABI. It isn't a caveat that must be silenced, but if you wish, you can do so using the - Wl,--no-warn-incompatibility.

  • SDK installation

    Hi, I'm revisiting development of BB and try to install the SDK.

    I installed Momentics from here: https://developer.blackberry.com/native/download/

    I get this error during initialization:

    Changes in the installed SDK require workspace and/or project configuration changes.

    Reason: The global default value SDK "Blackberry 10 SDK native 10.3.1 is not found.

    So, I'm trying to add to the following Environment Variables:

    ;C:\bbndk\host_10_1_0_132\win32\x86\usr\bin\
    

    But, when I look in the folder newly created bbndk - there is no host_10_1_0_132 or something similar to that.

    Instructions for those who were here:

    https://Cordova.Apache.org/docs/en/latest/Guide/platforms/blackberry10/index.html

    I was hoping that things worked at BB. Not off to a good start here.

    Any help?

    Installing BlackBerry Momentics is the first step.  Once installed, within Momentics you will need to install a native SDK for BlackBerry.  To do that click on the menu helps Momentics and choose "Update API levels..." ».  You will be presented with the available SDK, you can install.  I recommend that you install the SDK 10.3.1 except if you need to support versions of BlackBerry 10 before 10.3.1.

    Once installed Momentics will restart and what error you reported on a missing SDK should disappear.

  • New native developer - Can t START IDE!

    I'm pretty frustrated right now. Downloaded Momentics and emulator (two stable versions). Java installed, got the emulator running (with controller), Z30 connected directly to computer, turned on the developer mode and just Momentics does not start.  I tried to run with running link (or not), developer mode on (and off), storage USB mass (or turn off) mode and the 'thing' is still the same:

    The main screen comes up, it displays a dialog box selector (I choose is to connect to the device or the emulator), but it will automatically try to connect to the device and then crashes.

    I looked in the newspaper of the IDE and found this:

    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc = 0x000000001005cf14, pid = 6236, tid = 188 (Java runtime)

    This is the latest version of 32-bit Java for Windows 8.  (Running the latest Windows 8.1 Pro).  Also, I tried with the emulator HyperV off so I can run the emulator of BB, but I think I tried out of the IDE to run with him on, so I don't think that's it.

    I would like to develop native applications of BB 10, but it's not exactly a promising start. Any help would be appreciated.

    Thank you

    Bob

    Well, after a long period away from this mess, I gave her another go yesterday. Found the solution:

    (1) add - Dorg.eclipse.swt.browser.DefaultType is mozilla at QDE. INI (in the folder bbndk)

    (2) add org.eclipse.swt.browser.DefaultType = mozilla to the CONFIG. INI (in the folder Configuration/bbndk)

    After that I did (almost) just started working. Could build/run, link to device, link to the emulator, etc.. Cannot download 10.3.1 symbols (not available?), but I was able to download the 10.3 symbols.

    I am completely new to Java & Eclipse, but I have a history of 20 years with Delphi and C build programs of database client/server Windows, utility back-end server, etc, so I'm not a complete beginner. The fix above doesn't seem to be documented (had to get it from someone of another sort of related post). I lost time days trying to find this solution. Ridiculous!

  • Setting up on Ubuntu

    Hello

    I just put the BBNDK on Ubuntu. I downloaded the corressponding momentics and it has the extension .run

    So far so good. But the downloaded ide icon appears as a text file. I checked the properties and it shows a kind of shell script.

    I made a few changes in the behavior of Nautilus file manager and asked to open or run these types of files. But when I run it, nothing happens. When running through the Terminal, just open the text files that just talking about the T & C.

    Any idea on how to make it work?

    PS: I checked the permission "Allow executing file as program", but still the file opens as a text file.

    Once you have clicked on run on the terminal. It shows T & C text-> type 'q'-> it will ask you to type 'y' in the question. It will extract the file in the directory where your .run file is.

    All the best...

  • Signed bar rejected when downloading on the portal

    I am trying to download a signed request on the portal vendor for a new version, but everytime I download it I get the following error: was rejected. File BAR ("AppName.bar'") BAR file is not signed as required.  I recently reinstalled momentics and retrieved my keys via my BlackBerry Portal login.  Here's my current version of the application.

    Java: 1.8.0_73

    Momentics: 2.1.2

    BlackBerry API: 10.3.1

    Is there a way to verify that the package is signed correctly signed from the command line?  I am running Windows 7.

    Nevermind, I had mixed my old references with the new.

  • Certificate not found string for: RDK. RDK must refer to a valid key file...

    Hello devs

    I build a cordova app for BlackBerry 10 for a client and I wanted to sign the file bar. So in momentics I open the wizard and connected on the customers account to retrieve the bbidtoken.csk, the author.p12 and barsigner.db files. They are automatically placed in ~/Library/Research In Motion, so I guess that's right oke.

    Now when I try to compile a release it gives me the error:

    Error: Certificate chain not found for: RDK.  RDK must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
    

    The strange thing is that if I create a new empty project in momentics and I export it as a release, I have no problem with the signature of the file bar. This error only occurs when I try to sign in via the command line via "cordova build blackberry10 - version" or via the command "blackberry-signatory".

    Any ideas on this issue?

    Thanks in advance!

    Run blackberry-signatory to the command line and look for the version at the top of the output number.  To use a BlackBerry ID token to sign you need version 3.0.9 or higher.  You have an older version in your path, which is looking for the files needed for the previous signature mode (installation of files of the LSB).

  • Signature of switching keys / author...

    How to switch between the signing keys. I develop for both companies by using a computer. I have the client-Cominco and customer-rdk .csj files. Is this enough?

    How to switch between the two authors in the IDE?

    Please notify. Using Momentics and waterfalls native SDK.

    Thank you!!

    You can backup/restore different sets of keys as described here:

    Backup and restore BlackBerry Code signing keys

    I also recommend reviewing this article with your customers.

    10 BlackBerry Code signing Guide for entrepreneurs with multiple Clients

  • "Authentication failed" when you try to deploy to the device app

    Out of the blue in the middle of the day yesterady, I can't deploy all the apps on my Z30.

    The message (tried both Momentics and command line deploy blackberry) simply says "failure of the authentication of the user.

    Note that this is different from the message that you get when you specify the wrong password, which is "error: failed authentication." There was 1 of 5 attempts", so I know my password is correct.

    I am capable of correctly SSH to the machine after using the blackberry connect command, but cannot download a token to debug or deploy applications.

    Who would do it.  You must complete this before configuring the device is fully functional by the USB bus.  Manually sys.firstlaunch resets this flag.

  • BB10 cannot install the debug - result::failure 532 that all development 100 slots are already in use

    I get an error when you try to deploy a file of debug on a Z30 bar:

    result::failure 532 all development 100 slots are already in use

    I removed all applications development, renewed my debugging token, rebooted momentics and restarted the unit, but the error persists.

    I'll wipe the next device, but someone has run into this, or know a quicker fix?

    A BlackBerry signature account limit the creation of chips from debug to 100 unique BlackBerry PIN.  If you try to create others, you get the error below.

    Debug tokens expire after 30 days, once a PIN expires, you will be able to create again.

    Note that this does not affect the renewal of the chips.  If you renew a token before it expires, it always uses only 1 allocation.

Maybe you are looking for

  • will not open new tabs

    When I start FF I can add new tabs and new sites, research will open in them. When I quit FF (not quit) and don't turn back on no new sites will open in a new tab of . He to open in the first tab and the new tab will be empty. If I leave FF and reboo

  • Satellite U200 - 10K will beep continuously

    Hallo, When I run the satellite U200 - 10K (Vista), from the start, it gives me continuous beep... beepppppp... I can work... I can open applications, but the beep is not going offf. What could be a reason possible to this problem, hardware / softwar

  • 2515 PXI to wired, and correct connection to GND

    Hi all I am interfacing Board (DIB) test of switching pxi-2515. The switch will connect PXI-4130 EMS & PXI - 6552 to ESA to characterize several tests. I'll use the connector VHDCI 68 pin on my Board to connect to via a NI SCH68-C68-D4 cable 2515. I

  • Time - optimization of Code for the image speed

    Hello I am longing to find the moment of inertia of a 2d array. The table is converted from an image using "IMAQ ImageToArray". The algorithm that I use is described here: Wikipedia - Image times I need to calculate this formula with different values

  • prolific usb to serial driver is not proceed to installing... error shown 10

    I have a prolific usb serial adapter and would need a driver for this must be installed for the hardware to work, the pedal in my case. The latest driver is searched for and installed but it does not, it is saying not installed driver and display the