CAP of the command line and the 8800

I have a terrible time this morning trying to release some software for the Blackberry 8800. In our generation, we have been calling the compiler of Cap 4.3.0 of the command line (which I always have loads of doubts) generating a cod file and unzip for OTA deployment. It worked ok for 8830 phones so far. Once we started to try to do the same thing for 8800 phones we hit a major roadblock. We started to experience random errors when loading our application on the device. (The problem is also reproduced in the AT & T 4.2.1 emulator.) Sometimes the application will work but only on a particular plu model Cingular blackberry where as our QA guy has a bit newer model phone. The application will also work if it is compiled using slightly different source code. The source code that causes a failure will run when compiled and loaded on the same device a build running with the other working source code. After attending the recent virtual conference, I learned that the compiler is not backward compatible. In other words, the CAP generated 4.3.0 cod files will not work on devices with an OS older than 4.3.0. My immediate reaction was to return to the version of the CAP to 4.2.0 and try again. I hit another block when I started having:

WARNING! : no entry point found
com.mypkg.MyMidlet: WARNING! : no definition not found [INFO] com.rim.resources.MyProjectRIMResources: error! : class: com.mypkg.MyMidlet has no members:

So, I upped the version 4.2.1 retries and still got the error. Compiler error goes away with the 4.3.0 CAP but I'm not confident to go into production by using this compiler and targeting the older operating system. I use the same exact command line parameters in both cases. (I pass the flag - midelt and MyMidlet has a public ctor). Can someone tell me what has changed between 4.2.0 and 4.3.0. Y at - it another option or another flag that I have to give. Research on the error, suggests that the old compiler assumes a CLDC application instead of a Midlet. Could someone also explain if there is a problem to start the 4.3.0 SignatureTool.jar against the binaries generated by older Cap (if ever make us it work), targeting older OS 4.2.1? I am desperately looking for answers... Thanks in advance!

This highlights a problem with Java environment.  Please see the link below for more information.

Support - i/o Error: CreateProcess
Article number: DB-00081

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/support...

Tags: BlackBerry Developers

Similar Questions

  • I need an analogue of the mklink to windows xp command line and maybe windows 2000 too

    I need a command line tool, which can create in the NTFS file system:
    (1) symbolic links
    (2) links
    (3) the junction points

    Ok. something is here: http://schinagl.priv.at/nt/ln/ln.html
    GUI version is here: http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html

  • Command line and Resource Manager

    When you use the command line to compile a Robohelp project, is it possible to update the resources shared within the project before generation?

    For example, you have Project1 and uses snippet1 in this project. However, snippet1 has been changed in the Resource Manager (just say, for the sake of argument, that snippet1 is also used in Project2, and you changed the extract it and it synchronized to the Resource Manager). When you do a regular command line compilation, the extract is not updated.

    Is it possible to synchronize the excerpts and images from the resource manager in the project before proceeding with compiling from command line (other than opening the project and sync manually)? After all, if I have to open the project, there is no reason for the compilation command line since I was already there and can just compile the project.

    Thank you!

    I found a way around this!

    RoboHelp does not care if the files are updated through the application or through Windows Explorer (such as copying the latest file in the project folder).

    I created a simple batch file copies and replace any file that is older than the file that is located in the resource manager. This allows RoboHelp pull into the updated files in a command-line compilation. There is always a way!

    However, I found something problematic with the command line compilation. I started a new thread to ask about it.

    http://forums.Adobe.com/thread/1011261

  • Application crashes after links compilations on the command line and running on Simulator

    Hi all

    I have a project where I need to link my static libraries built separately (but using the toolchain/compiler inside the BBNDK) for a sample application QML BB10.  I am relatively new to BB10 and its environment.

    Although the application compiles and links successfully, the performance of the application is segmenting online

    AbstractPane *root = qml->createRootObject();
    

    My other static libraries have many references to the C++ Standard Library, such as strings, streams etc. and these are inside libstdc++.a/.so. Also some references to struggling and Expat. And so I assured these library on my road to compile as follows

    qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,/opt/bbndk/target_10_0_9_386/qnx6/x86/lib -Wl,-rpath-link,/opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib -o o-g/MyApp o-g/.obj/main.o o-g/.obj/MyApp.o o-g/.obj/moc_MyApp.o    -L/opt/bbndk/target_10_0_9_386/qnx6/x86/lib -L/opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib -L/opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/qt4/lib -L/opt/bbndk/lib ./myStaticLib.a /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/gcc/4.6.3/libstdc++.a /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libexpat.so.2 /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libsocket.so -lm -lbps -lbb -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore
    

    With this application compiles / links with success but as said previously, it crashes inside createRootObject.

    If I don't specify my static library (myStaticLib.a), out of all references to myStaticLib.a in the code and remove the stdc library ++ application goes ahead and the screen correctly.

    NOTE: myStaticLib.a is not related to the QT code in any way. I call the method inside myStaticLib after that I booted properly QT and after showing the first screen in the code.

    I was able get out the base of the Simulator file and also use it with this gdb on my build machine. Here is the result of the BDG.

    root@server:/opt/bbndk#host_10_0_9_52/linux/x86/usr/bin/ntox86-gdb /home/puneet_narsapur/webrtc/ip/psl_p2pwebrtc_r2835_x86_bb10/trunk/third_party/libjingle/source/talk/examples/BBTalk/x86/o-g/PeerConnection /home/puneet_narsapur/webrtc/ip/psl_p2pwebrtc_r2835_x86_bb10/trunk/PeerConnection.core
    GNU gdb (GDB) 7.4 qnx (rev. 691)
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-linux-gnu --target=i486-pc-nto-qnx6.5.0".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /home/puneet_narsapur/webrtc/ip/psl_p2pwebrtc_r2835_x86_bb10/trunk/third_party/libjingle/source/talk/examples/BBTalk/x86/o-g/PeerConnection...done.
    [New pid 8880242 tid 1]
    [New pid 8880242 tid 2]
    [New pid 8880242 tid 3]
    [New pid 8880242 tid 4]
    [New pid 8880242 tid 5]
    [New pid 8880242 tid 6]
    [New pid 8880242 tid 7]
    [New pid 8880242 tid 8]
    [New pid 8880242 tid 9]
    [New pid 8880242 tid 10]
    [New pid 8880242 tid 11]
    [New pid 8880242 tid 12]
    [New pid 8880242 tid 13]
    
    warning: Corrupted shared library list: 0x0 != 0x86f8000
    
    warning: Could not load shared library symbols for 15 libraries, e.g. libQtDeclarative.so.4.
    Use the "info sharedlibrary" command to see the complete listing.
    Do you need "set solib-search-path" or "set sysroot"?
    Program terminated with signal 11, Segmentation fault.
    #0  0xb086709e in __free () from /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libc.so.3
    Traceback (most recent call last):
      File "/opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libstdc++.so.6.0.16-gdb.py", line 59, in 
        from libstdcxx.v6.printers import register_libstdcxx_printers
    ImportError: No module named libstdcxx.v6.printers
    (gdb) bt
    #0  0xb086709e in __free () from /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libc.so.3
    #1  0xb0866c6b in free () from /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libc.so.3
    #2  0x08325e80 in operator delete(void*) ()
    #3  0x08325ecc in operator delete[](void*) ()
    #4  0x0832a69e in std::ios_base::~ios_base() ()
    #5  0xb962fa8f in ?? () from /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbcascades.so.1
    #6  0xb963074c in ?? () from /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbcascades.so.1
    #7  0xb952d3c8 in bb::cascades::AbstractTextControl::setText(QString const&) () from /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbcascades.so.1
    #8  0xb94df30c in bb::cascades::AbstractTextControl::qt_metacall(QMetaObject::Call, int, void**) () from /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbcascades.so.1
    #9  0xb94e7762 in bb::cascades::Label::qt_metacall(QMetaObject::Call, int, void**) () from /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbcascades.so.1
    #10 0xb9e9686d in ?? ()
    #11 0x089b6598 in ?? ()
    #12 0x00000002 in ?? ()
    #13 0x0000002f in ?? ()
    #14 0x07b9a14c in ?? ()
    Cannot access memory at address 0x89e24cc
    (gdb) info sharedlibrary
    warning: Corrupted shared library list: 0x0 != 0x86f8000
    From        To          Syms Read   Shared Object Library
    0xb8638000  0xb86500ac  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libexpat.so.2
    0xb82dd000  0xb8314824  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libsocket.so.3
    0xb8203000  0xb823b8d4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libm.so.2
    0xb825f000  0xb82bf56c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbps.so.3
    0xb8450000  0xb848c780  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbb.so.1
    0xb9400000  0xb9c5a200  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbcascades.so.1
                            No          libQtDeclarative.so.4
                            No          libQtScript.so.4
                            No          libQtSvg.so.4
                            No          libQtSql.so.4
                            No          libQtXmlPatterns.so.4
                            No          libQtXml.so.4
                            No          libQtGui.so.4
                            No          libQtNetwork.so.4
                            No          libQtCore.so.4
    0xb8665000  0xb86d7a88  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libcpp.so.4
    0xb0837000  0xb08d7cc0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libc.so.3
    0xb8247000  0xb825c118  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libscreen.so.1
    0xb823c000  0xb824210c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libpps.so.1
    0xb82c9000  0xb82cd0c4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libslog2.so.1
    0xb8b44000  0xb8be11e4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbsystem.so.1
    0xb82c2000  0xb82c7160  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbbsystemlocale.so.1
    0xb82cf000  0xb82dabac  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libEGL.so.1
    0xb831d000  0xb832707c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libGLESv2.so.1
    0xb8419000  0xb8425248  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libgestures.so.1
    0xb8436000  0xb844a1a0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libimg.so.1
    0xb8aef000  0xb8b2447c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libstrpattern.so.1
    0xbacf9000  0xbae94cd0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libwebview.so.2
    0xb8427000  0xb842f48c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/liblgmon.so.1
    0xb8493000  0xb84aa124  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libz.so.2
    0xb8ab4000  0xb8adf400  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libpng14.so.0
    0xb904c000  0xb912a0c0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libiconv.so.1
    0xb8316000  0xb831b504  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libclipboard.so.1
    0xb84ab000  0xb84b2190  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libcontext.so.1
    0xb93a9000  0xb93d9774  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libnfc.so.1
    0xb8243000  0xb82460d0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libnfc_bps.so.1
    0xbab17000  0xbacdcb74  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libicui18n.so.49
    0xbb800000  0xbd5c1258  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libwebkit.so.0
    0xbb01f000  0xbb498150  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libwebkitplatform.so.0
    0xbaeb5000  0xbb015644  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libicuuc.so.49
    0xbb56f000  0xbb6e57c0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libgrskia.so.1
    0xb8629000  0xb8634280  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libimfclient.so.1
    0xb935c000  0xb939c26c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libgoogleurl.so.0
    0xb8657000  0xb8663254  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libintl.so.1
    0xb9c6a000  0xb9cd99c8  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libcpp-ne.so.4
    0xb8430000  0xb8435128  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libcounters.so.1
    0xbe800000  0xbf952988  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libicudata.so.49
    0xbaa99000  0xbaaf5bec  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libcurl.so.2
    0xbb526000  0xbb557960  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libfontconfig.so.1
    0xbb4e6000  0xbb51c2b4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libjpeg.so.4
    0xbb6fc000  0xbb78e4fc  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libsqlite3.so.1
    0xbda11000  0xbdb342dc  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libxml2.so.1
    0xbb4a1000  0xbb4db768  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libxslt.so.2
    0xbd6ae000  0xbd7273c8  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libfreetype.so.1
    0xbb79b000  0xbb7d14f8  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libharfbuzz.so.0
    0xb8a99000  0xb8aa8168  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libskia-qnx.so.0
    0xb8aab000  0xb8ab1120  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libppscache.so.1
    0xb8ae7000  0xb8aed150  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libmmrndclient.so.1
    0xb8ae0000  0xb8ae61bc  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libmd.so.1
    0xb848d000  0xb8492120  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libaoi.so.1
    0xbb7d5000  0xbb7fb7f4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libinput_client.so.1
    0xbd628000  0xbd668138  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libhuapi.so.5
    0xb8b25000  0xb8b43838  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libcamapi.so.1
    0xbd5cf000  0xbd617450  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libiType.so.1
    0xbd8b1000  0xbd9179dc  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libWTLE.so.1
    0xbd81e000  0xbd883b50  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libinput_utilities.so.1
    0xb8be8000  0xb8bfa260  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libcares.so.1
    0xbd783000  0xbd7df6f8  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libssl.so.2
    0xbd670000  0xbd6aa5d8  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libgssapi.so.1
    0xb8328000  0xb832c084  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libstrm.so.1
    0xbd954000  0xbda060a4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libsbgse56.so.0
    0xb93de000  0xb93eb1f4  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libmmedia.so.1
    0xb93ec000  0xb93fcaec  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libmmfilter.so.1
    0xb9c5b000  0xb9c68d00  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libbz2.so.1
    0xb939e000  0xb93a626c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libhiddi.so.1
    0xbdd07000  0xbdeb7764  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libcrypto.so.2
    0xb9ce8000  0xb9cf13ec  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libnbutil.so.1
    0xbdc23000  0xbdc98498  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libkrb5.so.1
    0xb9cde000  0xb9ce6310  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libheimntlm.so.1
    0xbdb37000  0xbdbca0e8  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libasn1.so.1
    0xb8200000  0xb8202110  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libcom_err.so.1
    0xbd736000  0xbd77c91c  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libhx509.so.1
    0xbaa7f000  0xbaa8f5f0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libroken.so.1
    0xbd7ec000  0xbd8140fc  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libwind.so.1
    0xb8414000  0xb84185c0  Yes (*)     /opt/bbndk/target_10_0_9_386/qnx6/x86/usr/lib/libheimbase.so.1
                            No          libHwEGL.so
                            No          libegl_gallium.so
                            No          libHwglapi.so
                            No          libpipe_vmwgfx_drv.so
    0xbdf18000  0xbe00a9b8  Yes         /opt/bbndk/target_10_0_9_386/qnx6/x86/lib/libstdc++.so.6
                            No          libllvmpipe_drv.so
                            No          libHwGLESv2.so
    (*): Shared library is missing debugging information.
    (gdb) q
    root@server:/opt/bbndk#
    

    It seems to be crashing within libc.so while trying to release something. There is not any change in the QML code at all.

    Even if everything seems to be compilations and links correctly, I'm not able to find the reason for this accident.

    I don't change all code QML, but if I include my library and stdc ++ it crashes. If I don't get my library and stdc ++ he does not crash and all is well.

    Can someone help me please how to debug this problem? Stuck in this during more than two days

    Found the problem. For the other library that I was building with the BB10 NDK build tools, I was not using "qcc-Vgcc_ntox86-lang-c ++. I used instead of the ntox86-g ++ under the host directory. And it lacked the required compiler flags that were used internally by qcc.

    After changing the compiler, application has compiled, I did not provide libstdc ++ .a for him also, as well as the application has been properly executed well.

  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

  • How do I compile the code and generate the cod and JAD mode command line?

    I'm looking for an option to compile my application using the command line and to build the JAD files & cod.

    I developed the my application in Blackberry JDE and I need to transfer my app on my BB device without construction of JDE. It should be done using the command line only.

    Can you guide me?

    Thanks in advance,

    Bala.

    This can be done via Ant BB tools

    Check the homepage of BB Ant tools for instructions.

    If you are not familiar with Ant, see Apache Ant home page before checking the Tools Ant BB.

  • Access iCloud drive via the command line

    I wanted to write a small script to access iCloud by car via the command line, and to my surprise, this seems to be a very special place that is not displayed in /Volumes or even in my home directory is Dropbox.

    Veterinarians here know the way, if not to enlightenment, then to iCloud drive?

    Thanks in advance.

    It is actually a rather interesting problem. I did research I should have done before I came here and found that iCloud Drive is accessible here:

    ~/Library/Mobile\ Documents

    What is interesting is that the many, many interesting things found in this directory when you reveal all the files through ls - al, is that custom directories seem to appear. Even more interesting, in the Finder, select go > go to folder... and that type path and it does not recognize the path. Type ~/Library/, and then of course that's fine and see you the directory of Documents Mobile...

  • Create the command line for the Dump file without having to install additional tools

    I should automate the creation of dump files. It must to be command line and without installing tools such as ProcDumpTechNet.Microsoft.com/Sysinternals/dd996900, minidump or similar. I think that it is not a solution but if someone can help me.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • The computer starts you see all the individual command windows and they stack up and take the time to load and to hide.

    Why command windows appear indeed when the computer is started?

    Hello

    Check to see if the problem exists in Safe Mode, if the computer works as expected in mode without failure, then we can solve the problem in the clean boot state.
    a. refer to the article below for the procedure safe mode in Windows XP
    A description of the options to start in Windows XP Mode
    http://support.Microsoft.com/kb/315222

    b. it is a possibility that there is a startup program that is launched with a command line and it appears.
    You need to perform a clean boot to find the program that is causing and then disable or remove.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353/en-us
    Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • When you run Windows Explorer from a command line under Vista, control or not display the navigation pane

    I'm under Windows Explorer from a command line under Vista and 7. Under XP I could use the /n switch to control or not display the navigation pane. This doesn't seem to work on later operating systems. How is it possible?

    Hello

    How to change Windows Explorer icon to open a folder in Windows XP and Vista Diffierent - this shows the
    command line and that the switch should always work.
    http://www.watchingthenet.com/how-to-change-Windows-Explorer-icon-to-open-a-diffierent-folder-in-Windows-XP-and-Vista.html

    Command line switches to display items or folders when you open Windows Explorer
    http://www.mydigitallife.info/2009/02/07/command-line-switches-to-display-special-objects-or-folders-when-opening-Windows-Explorer/

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Is there a problem with Adobe Reader DC using the command line to open a file?

    Hello

    I am a developer and we use Adobe Reader to view our PDF help files in our application.  For years, we used WinExec() to open Adobe Reader, by specifying the file to open on the command line and it has been working perfectly.  In other words, upward until our users began to load Adobe Acrobat Reader DC.  Despite this work very well when you type a command using CMD.exe, it simply does not help WinExec() from another application programmatically.  Also, I modified the code to try using CreateProcess() or ShellExecute() and these functions do not work either.

    It may have to do with the fact that there is a switch or a parameter now within the DC, but I don't know what it is, or why it happens.  If anyone can shed some light on this it would be much appreciated because it severely hampers our latest version of the software.

    Kind regards

    Leigh.

    A common cause is not to put quotes on the command line, so instead of

    "c:\program files...\acrord32.exe" "c:\documents and settings\...my file.pdf.

    You write

    "c:\program files...\acrord32.exe" c:\documents and settings\...my file.PDF

    This has always been bad, but older versions it would accept anyway. (It was a recent change but not in DC).

    I would recommend using ShellExecute instead of the command line, however. That simulates a double-click and executes everything the user has created for PDFs (perhaps Reader, Acrobat maybe, maybe something else).

  • Triggers in the command line

    Hello

    I am new to triggers, so I don't know if I'm doing something wrong or if I'm having a 'silent' time

    With the code below, I wrote a trigger I want to apply to a table. Problem is, when I write in my command line and end the command with 'END;' and press 'enter', the grave to a new line command line and does not run my code... and I can't find a way out without closing my command prompt.

    What I am doing wrong?

    I'm using Oracle 11 g Express. Does anyone have any suggestions? Thank you!

    CREATE OR REPLACE TRIGGER EMPLOYEE_AGE_CHECK

    BEFORE INSERTING

    WE EMPLOYEE

    FOR EACH LINE

    BEGIN

    IF ADD_MONTHS(DOB,216) > trunc (sysdate)

    THEN

    RAISE_APPLICATION_ERROR (-20950, "Employee is under 18 years old!");

    END IF;

    END;

    EXAMPLE TABLE:

    CREATE TABLE EMPLOYEE

    (EmpNo NUMBER (6) PRIMARY KEY,)

    DATE OF BIRTH DATE);

    Hello

    I assume you mean SQL * PLUS, when you talk about command line?

    SQL * PLUS expected a / as run command

    See also difference between ';' and ' / ' in the SQL scripts

    Concerning

    Marcus

  • Take the input from command line

    Hello

    I have a sql file with multiple accept statements.
    I would like to run this script from the DOS command line and provide the script with values for declarations to accept it.
    How can I do this? (I don't want to change the sql for this file)

    Kind regards
    HJH

    I have a sql file with multiple accept statements.
    I would like to run this script from the DOS command line and provide the script with values for declarations to accept it.
    How can I do this? (I don't want to change the sql for this file)

    Create the text file and put a value per line in good condition. For example, you have the script following script.sql:

    accept V1 char prompt 'Enter value for V1:'
    accept V2 char prompt 'Enter value for V2:'
    
    prompt Your input : &V1 &V2
    
    exit
    

    Text file values.txt might be the following:

    ABC
    DEF
    

    Then, use the following syntax:

    sqlplus.exe /nolog @script.sql < values.txt
    
  • Deploy the model via command line

    Hi all,

    Is possible the deply a model via command line and set hostname and network?

    Thanks for your help

    PS: Do not forget a gift for the ghetto script repository

    You try to create a model of an existing VM using the CLI or the cloning of a virtual machine from a template?

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Not able to access sqlplus command-line linux for the new user added

    Hi all

    We have a strange problem with a new user of linux Redhat , trying to to connect to Oracle 10 g from the command line and would like any suggestions you have.

    -other users are able to connect via sqlplus fine to their respective Oracle accounts, both for the new user account.
    -I know the user and the password works because we can connect through Oracle SQL Developer from a terminal Windows.

    -----

    The monitoring of symptoms:

    Since terminal linux+:

    [user@server]$ sqlplus
    Error Initializing SQL 6 * more
    SP1 file < lang > .msb not found message
    SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory

    [user@server]$ echo $ORACLE_HOME
    / opt/oracle/10 g

    [user@server]$ echo $ORACLE_SID
    ~ also define as in other users without db connection problems

    [user@server]$ pico * .bash_profile]
    ~ the value as in other users without db connection problems

    [user@server]$ testconnection.pl perl

    Series of tests in connection...

    ORA_HOME: "/ opt/oracle / 10g.
    AMERICAN

    DBI connect('local.domain.name','db_username',...) failed: ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS parameters etc.) to the line /www/testconnection.pl 21
    has failed: ERROR OCIEnvNlsCreate (check the ORACLE_HOME and NLS parameters etc).


    [user@server]$ pico testconnection.pl

    ! / usr/bin/perl

    Use DBI;

    $this_var [0] = "dbi:Oracle:local.domain.name";
    $this_var [1] = 'db_username ';
    $this_var [2] = 'db_password ';

    print 'Test Run of connection...\n\n';
    print ' ORA_HOME: '$ENV {ORACLE_HOME}' \n ";
    print ' NLS_LANG: '$ENV {NLS_LANG}' \n ";
    Print "ORA_NLS: '$ENV {ORA_NLS}' \n ';"
    Print "\n\n";

    #connect DB
    $dbh = DBI-> connect ($this_var [0], $this_var [1] $this_var [2]);
    {if ($DBH)}
    Print "OK \n";
    $dbh-> disconnect;
    }
    else {}
    Print "failed: $DBI: errstr\n";
    }


    Thanks for your help!

    >
    [user@server]$ ls - lt /opt/oracle/10g/sqlplus/mesg/sp*.msb
    -rw - r - 1 oracle oinstall 31744 Sep 2005 1 /opt/oracle/10g/sqlplus/mesg/sp2us.msb
    -rw - r - 1 oracle oinstall 11776 Sep 2005 1 /opt/oracle/10g/sqlplus/mesg/sp1us.msb
    >

    It seems that if you have a permissions problem. If your username is not a member of the oinstall group, he or she has no access to the necessary sql * more files. I recommend you read MOS 420083.1 Note for a more in-depth discussion to set the file permissions on the Oracle home.

Maybe you are looking for