Bototm bar in qml

import bb.cascades 1.2

Page {
    Container {
        background: Color.LightGray
        Container {
            topPadding: 20
            leftPadding: 20
            ImageView {
                imageSource: "asset:///images/ic_logo_black.png"
                preferredWidth: DisplayInfo.width-50
                preferredHeight: (DisplayInfo.width-50)/3.71
            }
        }
        Container {
            verticalAlignment: VerticalAlignment.Bottom
            layout: StackLayout {
                orientation: orientation.BottomToTop
            }
            Label {

                verticalAlignment: VerticalAlignment.Bottom

                text: qsTr("Mobile Banking")
                textStyle.base: SystemDefaults.TextStyles.TitleText
                textStyle.color: Color.create("#ffff8400")
            }
        }
    }
}

I want my second container with mobile banking label to be at the bottom of page with background padding 20. How can I get my container on the bottom of the page?

I solve it this way

import bb.cascades 1.2
Page {
    Container {
        background: Color.LightGray
        Container {
            topPadding: 20
            leftPadding: 20
            ImageView {
                imageSource: "asset:///images/ic_logo_black.png"
                preferredWidth: DisplayInfo.width-50
                preferredHeight: (DisplayInfo.width-50)/3.71
            }
        }
        Container {

            preferredWidth: Infinity
            preferredHeight: (DisplayInfo.height-(((DisplayInfo.width-50)/3.71)+20))-40
            layout: StackLayout {
                orientation: LayoutOrientation.BottomToTop
            }
            Label {

                textStyle.textAlign: TextAlign.Center
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Bottom
                // Localized text with the dynamic translation and locale updates support
                text: qsTr("Copyright @2012 Al Khaliji ")
                textStyle.base: SystemDefaults.TextStyles.TitleText
                textStyle.color: Color.create("#fffffcf6")
            }
        }
    }
}

Tags: BlackBerry Developers

Similar Questions

  • Waterfalls of error on the camera on the Blackberry emulator: starting viewfinder failed

    I try to open a Blackberry device stunts 10.2
    import bb.cascades.multimedia 1.0
    import bb.multimedia 1.0
    import bb.cascades 1.2
    import bb.system 1.2
    {Page}
    title bar: title {} bar
    Title: "QML camera Sample App.
    }
    content: camera}
    ID: qmlCameraObj
    Boolean photoBeingTaken property
    Notecard: {}
    If (photoBeingTaken == false) {}
    photoBeingTaken = true;
    qmlCameraObj.capturePhoto ();
    }
    }
    onCameraOpened: {}
    qmlCameraObj.startViewfinder ();
    }
    onCameraOpenFailed: {}
    Console.log ("camera open failed")
    }
    onViewfinderStarted: {}
    photoBeingTaken = false;
    }
    onViewfinderStartFailed: {}
    Console.log ("ErrorType" + error)
    Console.log ("viewfinder failed")
    }
    onPhotoCaptureFailed: {}
    Console.log ("picture capture failed")
    photoBeingTaken = false;
    }
    onPhotoSaveFailed: {}
    Console.log ("picture save failed")
    photoBeingTaken = false;
    }
    onPhotoSaved: {}
    photoBeingTaken = false;
    }
    onCreationCompleted: {}
    qmlCameraObj.open (CameraUnit.Front)
    }
    }
    }

    I also add appropriate in the .pro and these libraries line at my bar - descriptor.xml

    run_native
    use_camera
    access_shared

    But when I run this code on the emulator, I got in the console: ErrorType 2 viewfinder has failed. If anyone has any idea why the viewfinder does not start, it will be useful.

    You can try on 10.2.1?

    If this does not work, please connect has a bug about the developer Issue Tracker: SAID

  • Do not copy necessary library Qt/QML file .bar deployment on the Playbook

    I use Qt 4.8.3 with ndk 2.1.0 for Playbook. I follow the instruction through

    1. http://supportforums.blackberry.com/t5/Native-Development/How-to-port-your-Qt-Projects-to-Playbook/t...

    2. http://qt-project.org/wiki/Building_and_Deploying_Qt_Applications_to_the_Playbook

    But the library files are not copied to .bar file. It's my .pro file

    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 =
    
    TARGET = samegame
    
    # The .cpp file which was generated for your project. Feel free to hack it.
    SOURCES += main.cpp
    
    OTHER_FILES += \
        qml/samegame/samegame.qml \
        qml/samegame/highscores/scores.php \
        qml/samegame/highscores/score_style.xsl \
        qml/samegame/highscores/score_data.xml \
        qml/samegame/highscores/README \
        qml/samegame/SamegameCore/qmldir \
        qml/samegame/SamegameCore/samegame.js \
        qml/samegame/SamegameCore/Dialog.qml \
        qml/samegame/SamegameCore/Button.qml \
        qml/samegame/SamegameCore/BoomBlock.qml \
        qml/samegame/SamegameCore/pics/yellowStone.png \
        qml/samegame/SamegameCore/pics/star.png \
        qml/samegame/SamegameCore/pics/redStone.png \
        qml/samegame/SamegameCore/pics/redStar.png \
        qml/samegame/SamegameCore/pics/greenStone.png \
        qml/samegame/SamegameCore/pics/greenStar.png \
        qml/samegame/SamegameCore/pics/blueStone.png \
        qml/samegame/SamegameCore/pics/blueStar.png \
        qml/samegame/SamegameCore/pics/background.png \
        bar-descriptor.xml \
        qmlapplicationviewer/qmlapplicationviewer.pri
    
    QMAKE_LFLAGS += '-Wl,-rpath,\'./app/native/lib\''
    
    package.target = $${TARGET}.bar
    package.depends = $$TARGET
    package.commands = blackberry-nativepackager \
        -devMode -debugToken /Users/zhu_qichao/Desktop/Research In Motion/playbook/debugtoken1.bar \
        -package $${TARGET}.bar -arg -platform -arg blackberry \
        bar-descriptor.xml $$TARGET \
        -e $$[QT_INSTALL_LIBS]/libQtCore.so.4 lib/libQtCore.so.4 \
        -e $$[QT_INSTALL_LIBS]/libQtGui.so.4 lib/libQtGui.so.4 \
        -e $$[QT_INSTALL_LIBS]/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 \
        -e $$[QT_INSTALL_LIBS]/libQtNetwork.so.4 lib/libQtNetwork.so.4 \
        -e $$[QT_INSTALL_LIBS]/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 \
        -e $$[QT_INSTALL_PLUGINS]/platforms/libblackberry.so plugins/platforms/libblackberry.so \
        -e $$[QT_INSTALL_IMPORTS]/Qt/labs/particles/libqmlparticlesplugin.so imports/Qt/labs/particles/libqmlparticlesplugin.so
    
    QMAKE_EXTRA_TARGETS += package
    

    The compiled .bar file are less than 1 M. I have check the sandbox in playbook by QNX IDE. There is no library file. Can anyone help? Thank you.

    I finally find out the reason.

    1. DO NOT USE 'SPACE' IN YOUR FOLDER. IT MAY NOT BE RECOGNIZED CORRECTLY BY SHELL SCRIPT.

    2 disable "Create a Package" step in the project-> Run configuration.

  • Function call QML from C++ by signal... it does not work

    Hello.

    Please help me because I'm stuck the last day three...

    Well

    In main.qml

    onComplete() / / signal... .to in button click

    {

    closeProgressBar();

    }

    function closeProgressBar() / / allows to stop the progress as dwonlaoding data from the internet bar had finished.

    {

    progressIndicator.stop ();

    }

    Now in my file app.c

    Q_SIGNALS:

    Sub rollback();

    in my app.hpp

    Emit Rollback();

    but he calling is not my onComplete method...

    and I am unable to stop my progressabar

    pls help me...

    As I did today my plug-in...

    I am wating for your reply eagerly...

    the connect statement is not correct. to take
    Login.Complete.Connect (closeProgressBar)

    I suggest to connect the signal in the onCreationCompleted of the component slot so that runs only once.

    I also suggest that you use some console.log statements to see if the slot is called.

    Furthermore, you mixed hpp and c (or CPP) in your messages.

  • Remove bottom line of (customized) title bar

    I made a custom title bar, and I don't know how to remove the blue bottom line of it (see photo).

    Use it like this:

    Page {
            titleBar: MyTitleBar {
    
            }
    

    and it's like this (MyTitleBar.qml):

    TitleBar {
        kind: TitleBarKind.FreeForm
        kindProperties: FreeFormTitleBarKindProperties {
    //...
    

    You must use a different component, it is part of the title bar and cannot be deleted.

  • Beginner question - sheet opens only once when opened via the app bar

    I have a spreadsheet component very simply defined in my main.qml like that

    {Sheet
    ID: mainPageSheet
    content: Page {}
    Button {}
    text: "close map".
    onClicked: {mainPageSheet.close ()}
    }
    }
    }

    I open app bar using settingsActionItem

    Menu.Definition: MenuDefinition {}
    settingsAction: {SettingsActionItem}
    Title: qsTr ("Settings")
                 
    onTriggered: {}
    mainPageSheet.setContent (settingsSheetComp.createObject ());
    mainPageSheet.open)
    }
    }

    }

    Now my problem is that it doesn't open that only once, the next time he shows nothing and gesture swipe to lower the bar of application stops responding also. because I do not have much that I am little confused what wrong here

    I use the Simulator on SDK Gold

    The Simulator today update fixed

  • How to connect the ButtonClick events to NavigationPane.popAndDelete within QML

    Hi all

    I know to connect my click event of the button to NavigationPane.popanddelete in the native SDK,

    I want to implement this feature in QML, how to implement it.

    My struct QML is something like this:

    P

    MyHeader.QML
    
    Container{
       Button{
         objectName:"BackButton"
         onClicked:..//how to write here
       }
    }
    
    MyPage.QML
    
    Container{
       MyHeader{
       }
       Container{
       }
    }
    
    within C++
    
                QmlDocument *qml = QmlDocument::create("MyPage.qml");
                AbstractPane *mypage= qml->createRootNode();
               // Button *button = alertPage->findChild("BackButton");
                //QObject::connect(button,SIGNAL(clicked()),this,SLOT(onPreviousClick()));
               m_pagePane->push(mypage);
    

    Thanks in advance...

    Hello

    I want everything first, make sure that you know about the properties of the component in QML. If you have inserted a page in your navigation pane and want to have a back button seems natural, you can use the following code in your definition of QML Page {}:

    paneProperties: {NavigationPaneProperties}
    ButtonBack: {ActionItem}
    Title: 'Back '.
    onTriggered: {}
    _navPane.pop ();
    }
    }
    }

    This will insert a lower bar filled with a previous button following a consistent style.

    If you want to raise the pop event from the QML document via manual button (no), in the property of your onClicked button, you can simply call pop on the handle of your navigation pane.

    for example
    Button {}
    ID: buttonTest
    objectName: "buttonTest.
    text: "text".
    onClicked: {}
    _navPane.pop ();
    }

    Please note that in both cases, you have exposed the handle of "_navPane" in your C++ code with subsequent calls (assuming that m_SidePaneContentQML is the name of your page with the back button):

    m_SidePaneContentQML = QmlDocument::create().load("SidePane/SidePane.qml");
    m_SidePaneQmlContext = m_SidePaneContentQML-> documentContext();
    m_SidePaneQmlContext-> setContextProperty ("_navPane", m_Nav);

    In this case, m_Nav would be the navigation pane that you use.

    Let me know if you need more information, I'm happy to help you.

    Good luck!

    Martin

  • Signature of QML app problem

    Hello

    Hi, I'm signing my application, but the blackberry-signer-check errors in declarations.

    I have read many topics on the forum, but I have not found a solution to my problem.

    This is my files:

    BlackBerry - tablet.xml:

    
    http://www.qnx.com/schemas/application/1.0">
    com.dwart.Study-Cards
    Study-Cards
    Study-Cards
    1.0.0
    Learn language faster
    dwart
    
      none
      false
      false
      landscape
    
    dwart.com
    run_native
    
    access_shared
    
    
    
    
    
    
    
    
        -platform
        blackberry
        dwart
        gYAAgHnFdvHsS830QUqF8qLsMTE
        run_native
    
        icon.png
        splashscreen.png
    
    

    StudyCards.pro:

    TARGET = StudyCards
    # Add more folders to ship with the application, here
    folder_01.source = qml/StudyCards
    folder_01.target = qml
    DEPLOYMENTFOLDERS = folder_01
    
    QMAKE_LFLAGS += '-Wl,-rpath,\'./app/native/lib\' '
    
    package.target = $${TARGET}.bar
    package.depends = $$TARGET
    package.commands = blackberry-nativepackager \
       -package $${TARGET}.bar -arg -platform -arg blackberry \
       -debugToken ./debugToken.bar \
       -arg -platformpluginpath -arg ./app/native/lib/platforms \
       -arg -pluginpath -arg ./app/native/lib/plugins \
       blackberry-tablet.xml $$TARGET \
       -e icon.png icon.png \
       -e splashscreen.png splashscreen.png \
    -e qml qml \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtCore.so.4 lib/libQtCore.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtGui.so.4 lib/libQtGui.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtNetwork.so.4 lib/libQtNetwork.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtSql.so.4 lib/libQtSql.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtSvg.so.4 lib/libQtSvg.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtScript.so.4 lib/libQtScript.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtXmlPatterns.so.4 lib/libQtXmlPatterns.so.4 \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/plugins/sqldrivers/libqsqlite.so lib/plugins/sqldrivers/libqsqlite.so \
       -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/plugins/platforms/libblackberry.so lib/platforms/libblackberry.so
    QMAKE_EXTRA_TARGETS += package
    
    SOURCES += main.cpp
    
    # Please do not modify the following two lines. Required for deployment.
    include(qmlapplicationviewer/qmlapplicationviewer.pri)
    qtcAddDeployment()
    
    OTHER_FILES += blackberry-tablet.xml
    

    I do *.bar file:

    /home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/usr/lib/qt4/bin/qmake
    
    make
    
    make Study-Cards.bar
    

    Results:

    qcc -Vgcc_ntoarmv7le -lang-c++ -c -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarative -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -o main.o main.cpp
    qcc -Vgcc_ntoarmv7le -lang-c++ -c -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarative -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -o qmlapplicationviewer.o qmlapplicationviewer/qmlapplicationviewer.cpp
    /home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/usr/lib/qt4/bin/moc -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarative -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -D__QNXNTO__ qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp
    qcc -Vgcc_ntoarmv7le -lang-c++ -c -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarative -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -o moc_qmlapplicationviewer.o moc_qmlapplicationviewer.cpp
    qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,/opt/bbndk2/target/qnx6/armle-v7/lib -Wl,-rpath-link,/opt/bbndk2/target/qnx6/armle-v7/usr/lib -Wl,-rpath,'./app/native/lib' -Wl,-O1 -o Study-Cards main.o qmlapplicationviewer.o moc_qmlapplicationviewer.o    -L/opt/bbndk2/target/qnx6/armle-v7/lib -L/opt/bbndk2/target/qnx6/armle-v7/usr/lib -L/home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/usr/lib/qt4/lib -lQtDeclarative -L/home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/usr/lib/qt4/lib -L/opt/bbndk2/target/qnx6/armle-v7/lib -L/opt/bbndk2/target/qnx6/armle-v7/usr/lib -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtNetwork -lsocket -lQtGui -lQtCore -lm 
    
    blackberry-nativepackager -package Study-Cards.bar -arg -platform -arg blackberry -debugToken ./debugToken.bar -arg -platformpluginpath -arg ./app/native/lib/platforms -arg -pluginpath -arg ./app/native/lib/plugins blackberry-tablet.xml Study-Cards -e icon.png icon.png -e splashscreen.png splashscreen.png -e qml qml -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtCore.so.4 lib/libQtCore.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtGui.so.4 lib/libQtGui.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtNetwork.so.4 lib/libQtNetwork.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtSql.so.4 lib/libQtSql.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtSvg.so.4 lib/libQtSvg.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtScript.so.4 lib/libQtScript.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/lib/libQtXmlPatterns.so.4 lib/libQtXmlPatterns.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/plugins/sqldrivers/libqsqlite.so lib/plugins/sqldrivers/libqsqlite.so -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/lib/qt4/plugins/platforms/libblackberry.so lib/platforms/libblackberry.so
    Info: Package created: Study-Cards.bar
    

    In the bar of the file look like this:

    /META-INF
        MANIFEST.MF
    /native
        /lib
            /platforms
                libblackberry.so
            /plugins
                /sqldrivers
                    libqsqlite.so
            libQtCore.so.4
            libQtDe....
            ....
        /qml
            /StudyCards
                card.png
                lisc.png
                main.qml
            /imports
                /Qt
                    ...
                /com
                    ...
        Study-Cards
        blackberry-tablet.xml
        icon.png
        splashscreen.png
    

    I try to sing:

    /opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -keystore /home/dwart/.rim/author.p12 -storepass myPass ./Study-Cards.bar author
    

    results:

    Info: Bar signed.
    

    It's added to my file for files META_INF bar: AUTHOR. THIS and the AUTHOR. SF

    next step:

    /opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -verbose -cskpass myCSKpass -keystore /home/dwart/.rim/author.p12 -storepass myStorePass ./Study-Cards.bar RDK
    

    results:

    Developer Certificate TBS =
    30 81 b7 a0 03 02 01 02 02 04 4f 38 2f a6 30 0c
    06 08 2a 86 48 ce 3d 04 03 04 05 00 30 10 31 0e
    30 0c 06 03 55 04 03 13 05 64 77 61 72 74 30 1e
    17 0d 31 32 30 32 31 32 32 31 33 31 31 38 5a 17
    0d 33 32 30 32 30 37 32 31 33 31 31 38 5a 30 10
    31 0e 30 0c 06 03 55 04 03 13 05 64 77 61 72 74
    30 58 30 10 06 07 2a 86 48 ce 3d 02 01 06 05 2b
    81 04 00 23 03 44 00 03 00 6d 4d b3 f4 07 75 ba
    da 3d 5b b4 7c a8 4f 7d 90 01 0f 26 3d e9 e5 54
    07 40 64 b4 0b 11 70 f9 35 ca 5b 1e 9f 68 27 c9
    92 ab d3 a6 ec 4c 2e 20 40 d2 18 88 04 73 82 3d
    c4 84 b8 bb b2 66 e9 ab 37 dd
    Developer Certificate TBS Digest =
    0c 92 56 7d 1f 7d 88 a2 98 7e ea 60 01 e5 93 7d
    22 09 96 7c 68 c4 e8 be 2a d4 38 ee f2 84 06 3c
    a9 00 78 f6 63 6d b7 4c 3e 76 88 a6 ba 79 a6 12
    f0 8a fd 38 50 d9 4d b9 be 2e 6f d0 38 78 64 75
    Developer Certificate TBS Encoded Digest =
    44 4a 4a 57 66 52 39 39 69 4b 4b 59 66 75 70 67
    41 65 57 54 66 53 49 4a 6c 6e 78 6f 78 4f 69 2d
    4b 74 51 34 37 76 4b 45 42 6a 79 70 41 48 6a 32
    59 32 32 33 54 44 35 32 69 4b 61 36 65 61 59 53
    38 49 72 39 4f 46 44 5a 54 62 6d 2d 4c 6d 5f 51
    4f 48 68 6b 64 51
    Requesting signature from server...
    Reading CSK file...
    Properties of CSK file := [
    Version = 2
    Encoded Salt =
    2f 6d 35 46 4e 49 4f 58 55 53 45 3d
    Encoded and Encrypted PrivateKey =
    4f 46 53 49 5a 75 4a 51 73 70 62 6c 62 37 71 5a
    63 4b 78 37 61 48 39 5a 4e 65 45 6f 73 79 61 7a
    33 4c 63 39 4f 58 72 73 35 6b 5a 76 54 67 62 62
    59 33 4b 41 4b 48 74 36 38 73 70 38 70 2f 4d 2b
    70 45 5a 56 75 59 5a 53 6f 6a 76 42 38 49 70 59
    4e 43 6f 6a 6b 64 49 2f
    Salt =
    fe 6e 45 34 83 97 51 21
    Digest =
    3c 1e 47 62 fc ce 0b 13 35 25 70 56 ac d1 1a eb
    77 0e 9a 21 7e 8a 11 52 06 64 d2 79 da 4e 09 88
    97 96 c1 01 ec 53 f2 7a 6a 3e 75 70 6a f3 1f 51
    e2 28 1a 1a e8 c7 85 f7 d7 7a 98 05 b7 f6 bf 75
    Signature =
    30 81 88 02 42 01 06 b1 0c e3 2d fd f3 01 f7 5f
    14 a6 ef b4 4b a0 5c 2b a6 b3 ef aa 1d 25 ed 46
    62 8b 06 fe 35 eb 10 80 e8 b9 0a 8e a0 7b 6a ef
    c9 28 c9 53 85 89 66 26 1e 7f d8 67 0f ef e4 58
    86 6b ca 4e b8 57 6a 02 42 01 27 e4 29 2a 9f ee
    2b ad 59 48 77 ff 39 87 98 5a 9c ae 2d ac 72 93
    d1 33 fc 7f 4e 6a 87 ab 88 46 af 59 22 65 c6 6f
    81 f8 ef 3c da 79 c4 74 36 c1 35 c1 b0 21 d5 1d
    e3 1b 3e 72 24 47 bf c1 1a 19 fc
    Flat Signature =
    01 06 b1 0c e3 2d fd f3 01 f7 5f 14 a6 ef b4 4b
    a0 5c 2b a6 b3 ef aa 1d 25 ed 46 62 8b 06 fe 35
    eb 10 80 e8 b9 0a 8e a0 7b 6a ef c9 28 c9 53 85
    89 66 26 1e 7f d8 67 0f ef e4 58 86 6b ca 4e b8
    57 6a 01 27 e4 29 2a 9f ee 2b ad 59 48 77 ff 39
    87 98 5a 9c ae 2d ac 72 93 d1 33 fc 7f 4e 6a 87
    ab 88 46 af 59 22 65 c6 6f 81 f8 ef 3c da 79 c4
    74 36 c1 35 c1 b0 21 d5 1d e3 1b 3e 72 24 47 bf
    c1 1a 19 fc
    Properties of request := [
    Version = 1
    Command = Signature Request
    SignerID = RDK
    ClientID = 3903770746
    MF =
    51 58 4a 6a 61 47 6c 32 5a 53 31 4e 59 57 35 70
    5a 6d 56 7a 64 43 31 57 5a 58 4a 7a 61 57 39 75
    4f 69 41 78 4c 6a 45 4e 43 6b 46 79 59 32 68 70
    64 6d 55 74 51 33 4a 6c 59 58 52 6c 5a 43 31 43
    65 54 6f 67 51 6d 78 68 59 32 74 43 5a 58 4a 79
    65 53 42 55 59 57 4a 73 5a 58 51 67 54 31 4d 67
    52 57 78 6d 49 45 4a 42 55 69 42 51 59 57 4e 72
    ..........
    4f 52 66 38 75 2f 59 48 69 54 32 38 30 42 54 4d
    76 72 2b 30 50 30 70 61 56 49 54 4b 6d 6a 51 35
    49 6a 41 67 34 32 43 48 33 4d 59 56 44 73 30 7a
    4e 66 47 66 57 75 52 72 4a 70 31 6b 54 43 55 3d
    Connecting to URL http://www.rim.net/Websigner/servlet/RDK-Waterloo
    Sending properties to server...
    Properties of response := [
    Version = 1
    Response = Signature Response
    Confirm = Signing server ID RDK signed code file from client ID 3903770746.
    Error = null
    ]
    Encoded Package-Author-Id =
    67 59 41 41 67 48 6e 46 64 76 48 73 53 38 33 30
    51 55 71 46 38 71 4c 73 4d 54 45
    Encoded Package-Id =
    67 59 41 42 67 47 4a 65 7a 68 55 79 4a 6d 6a 47
    5f 37 76 57 34 48 4a 71 57 32 6b
    Encoded Package-Version-Id =
    67 59 41 43 67 46 6c 63 4b 6e 4e 64 65 46 79 4d
    6a 66 56 31 50 78 4c 32 6e 6e 73
    Encoded Application-Id =
    67 59 41 44 67 43 34 6f 48 63 59 47 78 77 32 6d
    41 50 32 68 4f 75 63 67 46 76 49
    Encoded Application-Version-Id =
    67 59 41 45 67 44 46 55 35 62 57 6a 37 71 5f 49
    67 6f 65 37 55 4e 57 41 35 51 45
    Encoded Signature =
    41 65 4a 71 6c 55 56 68 67 68 46 7a 49 34 46 51
    69 33 73 35 35 59 30 43 38 62 30 43 4e 43 31 38
    39 2f 70 69 49 41 44 34 4a 4d 6c 62 49 46 39 50
    53 4b 32 66 33 79 41 58 6c 5a 75 46 4b 79 58 42
    2f 50 72 39 6b 37 63 49 61 56 45 34 4d 69 42 52
    31 61 55 49 32 33 57 39 41 55 39 72 38 30 6f 47
    56 34 48 6b 55 61 54 76 6e 74 4a 36 67 42 31 33
    72 79 69 55 41 78 67 45 62 6e 35 62 62 71 48 4b
    74 76 34 59 64 58 6a 71 4f 78 55 5a 37 2b 43 33
    48 2b 45 4c 75 62 48 63 49 6b 2b 79 36 45 52 33
    62 69 55 37 35 54 52 68 37 47 72 62 44 6c 65 4a
    Decoded Signature =
    01 e2 6a 95 45 61 82 11 73 23 81 50 8b 7b 39 e5
    8d 02 f1 bd 02 34 2d 7c f7 fa 62 20 00 f8 24 c9
    5b 20 5f 4f 48 ad 9f df 20 17 95 9b 85 2b 25 c1
    fc fa fd 93 b7 08 69 51 38 32 20 51 d5 a5 08 db
    75 bd 01 4f 6b f3 4a 06 57 81 e4 51 a4 ef 9e d2
    7a 80 1d 77 af 28 94 03 18 04 6e 7e 5b 6e a1 ca
    b6 fe 18 75 78 ea 3b 15 19 ef e0 b7 1f e1 0b b9
    b1 dc 22 4f b2 e8 44 77 6e 25 3b e5 34 61 ec 6a
    db 0e 57 89
    ASN.1 Signature =
    30 81 88 02 42 01 e2 6a 95 45 61 82 11 73 23 81
    50 8b 7b 39 e5 8d 02 f1 bd 02 34 2d 7c f7 fa 62
    20 00 f8 24 c9 5b 20 5f 4f 48 ad 9f df 20 17 95
    9b 85 2b 25 c1 fc fa fd 93 b7 08 69 51 38 32 20
    51 d5 a5 08 db 75 bd 02 42 01 4f 6b f3 4a 06 57
    81 e4 51 a4 ef 9e d2 7a 80 1d 77 af 28 94 03 18
    04 6e 7e 5b 6e a1 ca b6 fe 18 75 78 ea 3b 15 19
    ef e0 b7 1f e1 0b b9 b1 dc 22 4f b2 e8 44 77 6e
    25 3b e5 34 61 ec 6a db 0e 57 89
     Updating: META-INF/MANIFEST.MF
       Adding: META-INF/RDK.SF
       Adding: META-INF/RDK.EC
      Signing: native/Study-Cards
      Signing: native/icon.png
      Signing: native/splashscreen.png
      Signing: native/qml/imports/Qt/labs/components.1.1/CheckableGroup.qml
      Signing: native/qml/imports/Qt/labs/components.1.1/Checkable.qml
      Signing: native/qml/imports/Qt/labs/components.1.1/CheckableGroup.js
      Signing: native/qml/imports/Qt/labs/components.1.1/qmldir
      Signing: native/qml/imports/Qt/labs/components.1.1/libqtcomponentsplugin_1_1.so
      Signing: native/qml/imports/Qt/labs/components/native/Dialog.qml
      Signing: native/qml/imports/Qt/labs/components/native/ToolButton.qml
      Signing: native/qml/imports/Qt/labs/components/native/MenuItem.qml
      Signing: native/qml/imports/Qt/labs/components/native/Label.qml
      Signing: native/qml/imports/Qt/labs/components/native/SectionScroller.qml
      Signing: native/qml/imports/Qt/labs/components/native/BusyIndicator.qml
      Signing: native/qml/imports/Qt/labs/components/native/ButtonRow.qml
      Signing: native/qml/imports/Qt/labs/components/native/TextSelectionHandle.qml
      Signing: native/qml/imports/Qt/labs/components/native/QueryDialog.qml
      Signing: native/qml/imports/Qt/labs/components/native/Page.qml
      Signing: native/qml/imports/Qt/labs/components/native/ContextMenu.qml
      Signing: native/qml/imports/Qt/labs/components/native/PageStackWindow.qml
      Signing: native/qml/imports/Qt/labs/components/native/StatusBar.qml
      Signing: native/qml/imports/Qt/labs/components/native/ListItemText.qml
      Signing: native/qml/imports/Qt/labs/components/native/TabBar.qml
      Signing: native/qml/imports/Qt/labs/components/native/RadioButton.qml
      Signing: native/qml/imports/Qt/labs/components/native/Switch.qml
      Signing: native/qml/imports/Qt/labs/components/native/ApplicationWindow.qml
      Signing: native/qml/imports/Qt/labs/components/native/RectUtils.js
      Signing: native/qml/imports/Qt/labs/components/native/ScrollBar.qml
      Signing: native/qml/imports/Qt/labs/components/native/SelectionListItem.qml
      Signing: native/qml/imports/Qt/labs/components/native/libsymbianplugin_1_1.so
      Signing: native/qml/imports/Qt/labs/components/native/PageStack.qml
      Signing: native/qml/imports/Qt/labs/components/native/MenuLayout.qml
      Signing: native/qml/imports/Qt/labs/components/native/ToolBar.qml
      Signing: native/qml/imports/Qt/labs/components/native/Popup.qml
      Signing: native/qml/imports/Qt/labs/components/native/Button.qml
      Signing: native/qml/imports/Qt/labs/components/native/TextField.qml
      Signing: native/qml/imports/Qt/labs/components/native/MenuContent.qml
      Signing: native/qml/imports/Qt/labs/components/native/TextArea.qml
      Signing: native/qml/imports/Qt/labs/components/native/TabGroup.qml
      Signing: native/qml/imports/Qt/labs/components/native/TabButton.qml
      Signing: native/qml/imports/Qt/labs/components/native/ButtonGroup.js
      Signing: native/qml/imports/Qt/labs/components/native/ProgressBar.qml
      Signing: native/qml/imports/Qt/labs/components/native/TextTouchController.qml
      Signing: native/qml/imports/Qt/labs/components/native/TextMagnifier.qml
      Signing: native/qml/imports/Qt/labs/components/native/Slider.qml
      Signing: native/qml/imports/Qt/labs/components/native/PageStack.js
      Signing: native/qml/imports/Qt/labs/components/native/Window.qml
      Signing: native/qml/imports/Qt/labs/components/native/SelectionDialog.qml
      Signing: native/qml/imports/Qt/labs/components/native/Fader.qml
      Signing: native/qml/imports/Qt/labs/components/native/ToolBarLayout.qml
      Signing: native/qml/imports/Qt/labs/components/native/AppManager.js
      Signing: native/qml/imports/Qt/labs/components/native/qmldir
      Signing: native/qml/imports/Qt/labs/components/native/ButtonColumn.qml
      Signing: native/qml/imports/Qt/labs/components/native/CommonDialog.qml
      Signing: native/qml/imports/Qt/labs/components/native/ToolTip.qml
      Signing: native/qml/imports/Qt/labs/components/native/TabBarLayout.qml
      Signing: native/qml/imports/Qt/labs/components/native/CheckBox.qml
      Signing: native/qml/imports/Qt/labs/components/native/ListItem.qml
      Signing: native/qml/imports/Qt/labs/components/native/SectionScroller.js
      Signing: native/qml/imports/Qt/labs/components/native/ScrollDecorator.qml
      Signing: native/qml/imports/Qt/labs/components/native/Menu.qml
      Signing: native/qml/imports/Qt/labs/components/native/TextContextMenu.qml
      Signing: native/qml/imports/Qt/labs/components/native/TabGroup.js
      Signing: native/qml/imports/Qt/labs/components/native/ListHeading.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/libsymbianextrasplugin_1_1.so
      Signing: native/qml/imports/com/nokia/extras.1.1/TimePickerDialog.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/TumblerDialog.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/DatePickerDialog.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/RatingIndicator.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/TumblerColumn.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/TumblerIndexHelper.js
      Signing: native/qml/imports/com/nokia/extras.1.1/qmldir
      Signing: native/qml/imports/com/nokia/extras.1.1/SearchBox.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/Constants.js
      Signing: native/qml/imports/com/nokia/extras.1.1/Tumbler.js
      Signing: native/qml/imports/com/nokia/extras.1.1/InfoBanner.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/Tumbler.qml
      Signing: native/qml/imports/com/nokia/extras.1.1/TumblerTemplate.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Dialog.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ToolButton.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/MenuItem.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Label.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/SectionScroller.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/BusyIndicator.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ButtonRow.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TextSelectionHandle.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/QueryDialog.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Page.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ContextMenu.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/PageStackWindow.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/StatusBar.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ListItemText.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TabBar.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/RadioButton.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Switch.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ApplicationWindow.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/RectUtils.js
      Signing: native/qml/imports/com/nokia/symbian.1.1/ScrollBar.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/SelectionListItem.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/libsymbianplugin_1_1.so
      Signing: native/qml/imports/com/nokia/symbian.1.1/PageStack.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/MenuLayout.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ToolBar.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Popup.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Button.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TextField.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/MenuContent.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TextArea.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TabGroup.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TabButton.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ButtonGroup.js
      Signing: native/qml/imports/com/nokia/symbian.1.1/ProgressBar.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TextTouchController.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TextMagnifier.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Slider.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/PageStack.js
      Signing: native/qml/imports/com/nokia/symbian.1.1/Window.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/SelectionDialog.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Fader.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ToolBarLayout.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/AppManager.js
      Signing: native/qml/imports/com/nokia/symbian.1.1/qmldir
      Signing: native/qml/imports/com/nokia/symbian.1.1/ButtonColumn.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/CommonDialog.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ToolTip.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TabBarLayout.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/CheckBox.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/ListItem.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/SectionScroller.js
      Signing: native/qml/imports/com/nokia/symbian.1.1/ScrollDecorator.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/Menu.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TextContextMenu.qml
      Signing: native/qml/imports/com/nokia/symbian.1.1/TabGroup.js
      Signing: native/qml/imports/com/nokia/symbian.1.1/ListHeading.qml
      Signing: native/qml/StudyCards/card.png
      Signing: native/qml/StudyCards/main.qml
      Signing: native/qml/StudyCards/lisc.png
      Signing: native/lib/libQtCore.so.4
      Signing: native/lib/libQtGui.so.4
      Signing: native/lib/libQtOpenGL.so.4
      Signing: native/lib/libQtNetwork.so.4
      Signing: native/lib/libQtDeclarative.so.4
      Signing: native/lib/libQtSql.so.4
      Signing: native/lib/libQtSvg.so.4
      Signing: native/lib/libQtScript.so.4
      Signing: native/lib/libQtXmlPatterns.so.4
      Signing: native/lib/plugins/sqldrivers/libqsqlite.so
      Signing: native/lib/platforms/libblackberry.so
      Signing: native/blackberry-tablet.xml
    Info: Bar signed.
    

    I think that everything is OK, but:

    /opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -verbose -verify Study-Cards.bar
    

    results:

    Error: Invalid signature file digest for Manifest main attributes
    

    Someone knows how to solve?

    PS Sorry for the long post and my English

    OK, I change the order of:

    /opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -verbose -cskpass myCSKpass -keystore /home/dwart/.rim/author.p12 -storepass myStorePass ./Study-Cards.bar RDK
    
    /opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -keystore /home/dwart/.rim/author.p12 -storepass myPass ./Study-Cards.bar author
    

    Now it's work

    Info: Bar verified.
    

    Thank you much for the help

  • How can I change the background color of a button in .qml

    Hello, everyone! I have a problem now.

    When I define a componnet in QML button, it has a white background color by default. While I want to change the background color, for example red.

       Container {
            layout: StackLayout {}
            background: backgroundPaint.imagePaint
            attachedObjects: [
                ImagePaintDefinition {
                    id: backgroundPaint
                    imageSource: "asset:///images/background.png"
                }
            ]
            Button{
                text: "button"
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
            }
        }
    

    I read the reference that write it a clickable button with a height fixed and the visual aspect of the button is predefined and cannot be changed and so forth... look herehttp://developer.blackberry.com/cascades/reference/bb__cascades__button.html

    I tried this way to change the theme of the application. But I failed! See more details here http://developer.blackberry.com/cascades/reference/bb__cascades__themesupport.html

    How can I achieve this? Please give me help. Thank you in advance. Please forgive my bad English

    Hello

    Button style is predefined according to me. Dark theme can be activated in the bar - descriptor.xml, but it is applied to the application on a global scale and affect all other controls as well.

    You can use a container with background image instead of a button. Example code:

    http://supportforums.BlackBerry.com/T5/Cascades-development/button-with-a-background-image/m-p/21489...

  • The QML App charts

    Hi all!!!

    I am creating a QML app to view some data (using a rest service).

    Is there any loan (C++) library or plugin for this?

    Can I use a javascript plugin in my page QML?

    No there is no integrated graphics API.

    There are some 2D graphics libraries...

    http://developer.BlackBerry.com/native/documentation/core/library_support_at_a_glance.html

    And for the simple bar charts you can use QML containers with different color background.

    Also do a search on cards will also come up with a number other suggestions in the same direction...

    http://supportforums.BlackBerry.com/T5/forums/SearchPage/tab/message?filter=labels%2Clocation&Locati...

  • One-piece QML in different pages

    Hello!

    I want to use ine piece of QML code a tabs. To be more exact, I want to have a container with app status I want to show a title bar on each page. What is the best solution?

    Thanks for your help!

    Want a custom title bar that is visible on all pages?

    Create the custom title bar (called the MyTitleBar) and place it on each page title bar: {MyTitleBar}

    Discover it by an example: http://opensourcebb.com/item/410-custom-title-bars

  • Cannot install the signed file BAR, [if the argument "blackberry - sign - sigfile ' is not GPACACF]

    Hi all

    I have following queries on the use of certificates in BAR files.  Certificates are defined by the user.  [ie. certificates created locally using this link 'http://developer.blackberry.com/native/documentation/core/com.qnx.doc.nfc/topic/manual/t_nfcdevguide...

    Queries are

    1. the '-sigfile "command argument"blackberry-signer", if I have any other purpose than"GPACACF", I get the error message following ' result::failure 880/var/tmp/cgic851170: cannot access the Member ' META-INF/FILEACF.» EC'

     

       2 can I sign several certificates [one after the other] using the command "blackberry-signatory"?

    Forward to your response

    OK, I tested the procedure in the documentation and created a file of key PKCS #12 and gave my key an aliass MYALIAS. See the details here:

    $ openssl pkcs12 -in selfsign.p12 -info
    Enter Import Password:
    MAC Iteration 2048
    MAC verified OK
    PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
    Certificate bag
    Bag Attributes
        friendlyName: MYALIAS
        localKeyID: D8 CB 15 E1 B3 30 0C 90 C0 57 EB FA A1 D4 20 BB 1C EF A7 40
    subject=/C=GB/ST=Berkshire/L=Slough/O=BlackBerry/OU=DevReel/CN=Test/[email protected]
    issuer=/C=GB/ST=Berkshire/L=Slough/O=BlackBerry/OU=DevReel/CN=Test/[email protected]
    -----BEGIN CERTIFICATE-----
    MIICgTCCAeoCCQDgvIXlO1lIYDANBgkqhkiG9w0BAQUFADCBhDELMAkGA1UEBhMC
    R0IxEjAQBgNVBAgMCUJlcmtzaGlyZTEPMA0GA1UEBwwGU2xvdWdoMRMwEQYDVQQK
    DApCbGFja0JlcnJ5MRAwDgYDVQQLDAdEZXZSZWVsMQ0wCwYDVQQDDARUZXN0MRow
    GAYJKoZIhvcNAQkBFgtmb29AYmFyLmNvbTAeFw0xMzA4MTYxMTQ0MjFaFw0xNDA4
    MTYxMTQ0MjFaMIGEMQswCQYDVQQGEwJHQjESMBAGA1UECAwJQmVya3NoaXJlMQ8w
    DQYDVQQHDAZTbG91Z2gxEzARBgNVBAoMCkJsYWNrQmVycnkxEDAOBgNVBAsMB0Rl
    dlJlZWwxDTALBgNVBAMMBFRlc3QxGjAYBgkqhkiG9w0BCQEWC2Zvb0BiYXIuY29t
    MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDskC5uCv6eGgZvrXpWJsXz11HK
    POCraWH7QfWEaa/d82SusTVVL2UEqcWhRKHGD3ogikyQ+p4MiCKViYKXG2067nfv
    C+yNUupinb7Bsx/YsUp5zv135fpMXn9rSD/P5LegQONxVqeW5ZoSc3br4JAmYoFq
    uwnNQJl+0AeD7HUjUQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAKSKibcQgvho0kPU
    E53TWjiVTOxxMzpu2F3/y1McEeOwg0bvTvfoGm3fFJnVM/B1509QgEVenSuO4Am8
    CrF9MCdRA8HJeAw2P7YHSwRgc9nn1HqkqF1McRi+DVCwIfWUFCyD9Wllb5PWPlkD
    voqNLCtuuYRyoIGq+gANBXLOlg1m
    -----END CERTIFICATE-----
    PKCS7 Data
    Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
    Bag Attributes
        friendlyName: MYALIAS
        localKeyID: D8 CB 15 E1 B3 30 0C 90 C0 57 EB FA A1 D4 20 BB 1C EF A7 40
    Key Attributes: 
    

    I then used blackberry - sign to sign a file bar:

    >> blackberry-signer -keystore selfsign.p12 -sigfile GPACACF -sigalg SHA512withRSA -storepass barfoo -verbose NfcChicken-1_0_0_20.bar MYALIAS
    SF Digest =
    4e 0e 9c 25 a5 2e 0a 1a b9 c0 d2 f8 7c 9e 05 e1
    65 39 eb 92 4e 1d db d8 9d 11 f5 8f 84 b0 92 75
    48 3e 53 40 b6 e3 b9 cc bd 6e 7e 61 95 7b ba d5
    6e b1 76 be b6 c5 d9 a7 ac f3 ad c0 1f fd e7 8a
     Updating: META-INF/MANIFEST.MF
       Adding: META-INF/GPACACF.SF
       Adding: META-INF/GPACACF.RSA
      Signing: native/bar-descriptor.xml
      Signing: native/icon.png
      Signing: native/assets/images/brown_egg.png
      Signing: native/assets/images/Thumbs.db
      Signing: native/assets/main.qml
      Signing: native/assets/sounds/chicken1.wav
      Signing: native/qm/NfcChicken.qm
      Signing: native/NfcChicken.so
      Signing: native/assets/.assets.index
    Info: Bar signed.
    

    If you look at the signed file bar, you can see the GPACACF. SF and. RSA files in the manifesto bar.

    If I use the following command

    >>blackberry-signer -keystore selfsign.p12 -sigfile XYZ -sigalg SHA512withRSA
    -storepass barfoo -verbose NfcChicken-1_0_0_20.bar MYALIAS
    SF Digest =
    4e 0e 9c 25 a5 2e 0a 1a b9 c0 d2 f8 7c 9e 05 e1
    65 39 eb 92 4e 1d db d8 9d 11 f5 8f 84 b0 92 75
    48 3e 53 40 b6 e3 b9 cc bd 6e 7e 61 95 7b ba d5
    6e b1 76 be b6 c5 d9 a7 ac f3 ad c0 1f fd e7 8a
     Updating: META-INF/MANIFEST.MF
       Adding: META-INF/XYZ.SF
       Adding: META-INF/XYZ.RSA
      Signing: native/bar-descriptor.xml
      Signing: native/icon.png
      Signing: native/assets/images/brown_egg.png
      Signing: native/assets/images/Thumbs.db
      Signing: native/assets/main.qml
      Signing: native/assets/sounds/chicken1.wav
      Signing: native/qm/NfcChicken.qm
      Signing: native/NfcChicken.so
      Signing: native/assets/.assets.index
    Info: Bar signed.
    

    using a sigfile - XYZ to sign the file bar and the bar file contains:

    showing the XYZ. SF and. RSA files added to the clear bar.

    I don't see the error that you notice.

    The documentation notes that this form of blackberry-signer syntax is available only on recent versions of th emost of this command. I ran these commands on the current beta version 10.2 public but it should work with 10.1.

    What version of the SDK yuou use?

  • Get a simple device to work in QML

    Hey, I use the QML code from the site of the developers here:

    https://developer.BlackBerry.com/native/documentation/Cascades/graphics_multimedia/camera/qml_code_s...

    But just using the QML does nothing and I get the toast in the code that says "no camera found unit.

    so I thought that I would follow the steps of developer of Blackberry here:

    http://devBlog.BlackBerry.com/2012/07/camera-API/

    It is said to add such things to the app.cpp

    #include 
    
    #include 
    
    #include 
    
    bb::cascades::multimedia::Camera::registerQmlTypes();
    

    He also says to add the registerQmlTypes right before that:

    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
        qml->setContextProperty("_app", this);
    

    Unfortunately when I do this it gives me an error:

    ../src/app.cpp:92:5: error: 'registerQmlTypes' is not a member of 'bb::cascades::multimedia::Camera'
    

    What I am doing wrong?  I can't imagine adding a feature of camera at the code that is difficult.

    NVMD, looks like the code working me was overthinking the problem.  Embarassingly I forgot to allow cameras in the handle bar

  • New screen push within TabbedPane QML

    TabbedPane {
        id: tabbedPane
        showTabsOnActionBar: true
        attachedObjects: ComponentDefinition {
            id: pageDefinition
            source: "newpage.qml"
        }
        Tab {
            title: qsTr("Tab1")
            Page {
                id: tab1
                actions: [
                    // define the actions for first tab here
                    ActionItem {
                        title: qsTr("New")
                        onTriggered: {
                            var page = pageDefinition.createObject();
                            navigationPane.push(page);
                        }
                    }
                ]
                Container {
                    // define tab content here
    
                }
            }
        }
        onCreationCompleted: {
            // this slot is called when declarative scene is created
            // write post creation initialization here
            console.log("TabbedPane - onCreationCompleted()")
    
            // enable layout to adapt to the device rotation
            // don't forget to enable screen rotation in bar-bescriptor.xml (Application->Orientation->Auto-orient)
            OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.All;
        }
    }
    

    How can I push another page QML a TabbedPane? Currently, nothing happens when I invoke the action item.

    Hello

    NavigationPane definition is missing.

    Something like this should work:

        Tab {
            title: qsTr("Tab1")
            NavigationPane {
              id: navigationPane1          onPopTransitionEnded: { page.destroy(); }
              Page {
                  id: tab1              ...
    

    ...

    var page = pageDefinition.createObject();
    navigationPane1.push(page);
    
  • QML: Change the priority of the component display (layer)

    Hello

    Is it possible to change the order of Visual display of the QML component? For example, if I added containing A, then B container, but then I want to have with an overlay of containers at some point B (assuming DispositionAbsolue)

    Thank you!

    Thank you! Who did the trick. A little late in replying, but just to close the thread with solution - I've added the following code in the parent container that contains two elements that were to be exchanged... worked like a charm:

    Container {
        onCreationCompleted: {
            swap(0,1) // makes sure the title bar is on top...
        }
    

Maybe you are looking for

  • L440 - Sata M2

    Hi guys, how are you? Do you think this SSD works in a L440 and I can use it with passage of the operating system. http://www.Amazon.com/transcend-256GB-MTS400-solid-TS256GMTS400/DP/B00KLTPUG4 Where I live I don't have much option.

  • Vista 32 Bit browsers

    I have Vista - 32 bit and make me messeages regularly now that my bowser will be soon is no longer supported. In some cases some websites say that some features may not work.  When I check the updates, I tells me I'm at day - can you advise what I ne

  • Windows Media Center has stopped working (after the great October Windows Update).

    In October, there was a Windows update that broke my Media Center (and THXaudio.exe) I was able to restore and put off the various updates until I recently needed to shut down the computer for a clean material out.  Even though I had several valid re

  • Where do you want to download Windows 7 upgrade Advisor?

    * Original title: test software compatblity WHERE to find the windows 7 upgrade advisor your computer check download software to see if it is compatible to run in windows 7 located in home page of Microsoft on Windows 7 compatibility

  • DataSerive and several networks

    By my understanding using RadioInfo.isDataServiceOperational I check check if data services are available on the current network. Is it possible to check all the available networks? Or do I have to connect to each one to check that (is that even poss