Cryptographic library for Cascades project

Hello

I have problems to bind the cryptographic library in a project of Cascades. The documentation says "you must link libhuapi.so.5 when you compile your application. But everything I've tried so far has not worked.

Could someone explain how to link this library in a casacade project?

Thank you in advance,

See the example here: https://github.com/blackberry/Cascades-Community-Samples/tree/master/PasswordSample and including the PasswordSample.pro file.

Also see the article here: http://supportforums.blackberry.com/t5/Native-Development/BlackBerry-10-Using-one-way-encryption-for...

Tags: BlackBerry Developers

Similar Questions

  • Impossible to include the static library containing the QObject class in Cascades project

    I'm working on the new platform BB10 based on Qt.

    I have a static library project that defines a QObject class (essentially the class sends signals and a few locations). The project compiles fine and gives me a file libwhathever.a nice

    When I try to include this library in my project of stunts I get these errors during construction:

    • undefined references to com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject
    • undefined reference to com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:newQRCodeDetected (QString)
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtCore\qobject.h
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h
    • no reference to vtable for com::vasco:digipass:sdk:utils:qrcodescanner:MyClass
    • no reference to vtable for com::vasco:digipass:sdk:utils:qrcodescanner:MyClass

    I think that I miss the compilation step where the Q_OBJECT macro is run. I'm on the right track? I've heard talk about moc and qmake, but I don't know how or when to use in my build process.

    In fact, I solved my problem simply by running the moc on the header file defining the Q_OBJECT. It generated the file moc, that I needed. Then my ant script does the rest of the compilation with qcc and my indefinite references have disappeared.

  • Add bb-cascades-oauth for my project

    How to add bb-cascades-oauth for my project?

    https://github.com/BlackBerry/BB-Cascades-OAuth

    (BB native SDK can not import solution repo)

    has been faster to write my own from scratch.

  • What is the ADF_Library_Dependencies.library in each project for example xModel?

    Hello
    (1) what is the ADF_Library_Dependencies.library in each project for example xModel?
    (2) the url for the namespace of the file is inaccessible, how can I get it? http://xmlns.Oracle.com/JDeveloper/110000jlibrarynode
    (3) we foud does include all the dependent libraries are there?
    (4) a few times, it causes the failure of the deployment of applications and bring it after deletling it, y?

    Thank you first of all.

    # 2 the URL to the XML namespace is not intended to be a URL to access a resource, it is just a way to make the namespace unique. Often companies will use URL as a matter of convenience, but it is not a URL that you would ever type in the browser to get a resource from.

    John

  • Create a shared library for NI Linux real-time

    I need to build a shared library for NI Linux time real (.so) which corresponds to a shared library, which I create on Windows (.dll).

    I have the C code that needs to call a function of VI. On Windows, I have a project that allows me to create and build a "Shared Library (DLL)", but I don't see the same option available in a real-time project targeting the cRIO-9068. Am I missing something, or is it not still possible?

    Hi Wayne,

    Using LabVIEW VIs in other programming only possible through dll environments. In LabVIEW there are options for creating libraries and source, but these distributions will be accessible in LabVIEW and not in other programming environments.

    Concerning

  • How to create the shared library for linux real-time target in labVIEW Windows?

    I use myRIO running linux in real time. In my project, I need to pack some C code, so I tried the node library function call.

    I know that I should use the tools compile cross - compile linux on Eclipse to compile c code in linux .so library. But the problem is that call library function node does not recognize the .so file because my labVIEW runs on a Windows PC.

    What should I do to fix and how to combine C code with labVIEW during programming for devices shipped as myRIO?

    Basically, you must also create a Windows DLL that exports the same functions. These functions can be empty stubs if you do not want to run the code correctly on Windows, otherwise you will need to consider how to implement the equivalent functionality on the Windows API.

    Then you can write in your node library call as the name of the library ". "*" and the name of the shared library Windows ".dll" while the Linux version is called "name of your library > .so". LabVIEW will replace the * after the comma in the name of library with everything that is the preferred extension shared library for the platform it is running on and therefore load the right shared library.

    Alternatively you can wrap call all the nodes of the library in a structure that contains the node library in the case of Linux RT and all what you want to run on other platforms in the case of default or a case of specific platform, call the conditional compilation.

  • OpenGl as underlay to the Cascades project

    Hey all,.

    I am trying to use the OpenGl fusion and stunts to create a underlying opengl in a cascades of the user interface. The project compiles, but it throws segfault on the launch, and I'm not quite sure what I did wrong.

    What is the app is essentially creates a foreign window control, and then a button click on starts a new thread to make an openGl application.

    The openGL code is based on the sample standard proveded my blackberry as well as a few other examples that I have seen in these forums and it works well as a stand alone project.

    I created a public github repository for the project. If someone wants to watch or contribute to the example that I would really appreciate it!

    * USE IN RESPONSE TO THE PLACE GIT REPOSITORY. Created a new one.*

    UPDATE: here's the exact error message I receive:

    "

    127029503 (ThreeDViewer) process ended the SIGSEGV = 1 fltno = 11 78ab813a = ip code (/ proc/boot/img_codec_png.so@png_validate+0x13) mapaddr = 0000113a. REF = 00000007

    "

    UPDATE 2: I think I figureed out!

    Many people, seems to have got it working!

    I don't really know what I did... but the original draft that I submitted a lot of errors related to libraries, dependencies, and I was using the pthreads incorrectly.

    I created a new project from scratch, but also a new repository. The former one was... without the possibility of repair. Start a new project and the repository was faster.

    https://github.com/joelghill/3D-view.git

    Hope this helps other people when you try something similar!

  • XMLBean facet for utility project

    Hi, I created a utility project (I only have the schematic for this project.) and Apache XMLBeans added. but I don't see Apache XMLBeans showup in Project Explorer. I don't see JRE System Library. And I received the error "org.apache cannot be resolved to a type.
    Also, there is a problem of XMLBeans Builder 'impossible to locate a tools.jar inside a facility of JDK 1.5' A 1.5 JDK must be added to the set of the JRE installed to support the XMLBeans extension interface device where the custom interface is treated as a source of Java (reboot required) file. »
    My EPCO works on JRE1.6. How to fix these? Thank you!

    Not necessary, the JDK1.6 instance should work fine.

  • ICloud using photo library for the first time

    I am considering switching to iCloud photo library for the first time - mainly so I'll be able to use the new functionality of memories in iOS 10. However, I have quite a large library of Photos on my Mac and I'm worried about the mistakes of synchronization, bugs and any damage my irreplaceable photos. I have a Time Machine backup, but each backup on which generally only lasts a week or so, and with a large library of errors can take some time to appear. Should I be worried? Are there precautions I need to take?

    In view of all the people who use it, there are very few messages on issues. Since you have a backup, you can still recover. You can consider to get a 2nd external and make a copy of your photo library in order to have 2 backups. Depending on the size of your library, you may need to purchase additional iCloud storage as free storage space is 5 GB. With a large number of photos, it will take much time to complete the synchronization. Some people have posted their s took 2 to 4 weeks. Our respective synchronization went well and we had no problem.

    Downgrades and upgrades of storage

  • I can share my library for the money

    I was wondering if I can share my library for pennies? songs that I bought and my own collection as well

    N ° is a violation of the license of the music you have purchased, regardless of whether you are buying format. You don't have the copyright on the music.

  • Transfer Mac Air Aperture library for iMac.

    Transfer Mac Air Aperture library for iMac. I placed the library is on an external HD; connected to the iMac; switched to the libraries on the ext HD; go to file > import > library-however the dialog box has the desired gray library. It shows another Aperture library (the iMac original Aperture library that I've got on the same post HD for the trip).

    Any thoughts?

    Could solve the problem now?  Usually only the library that is currently open in Aperture will be grayed out. your screenshot looks you had currently open "Library Aperture 2" opening and could open "Aperture library.

    Try again to move to the correct library that you want to import.

  • NOR-IMAQ library for the 64 bit version does exist?

    I use PCIe-1429 and NOR-IMAQ 4.1 and programming on VS2005.

    NOR-IMAQ library for the 64 bit version does exist?

    Wooddoll,

    In general, 64-bit import libraries are installed in C:\Program Files (x 86) \National Instruments\Shared\ExternalCompilerSupport\C\Lib64\MSVC\imaq.lib for 64-bit variants.

    The 64 bits real DLL is usually installed in C:\windows\system32\imaq.dll.

    Eric

  • Modbus Library FOR LabVIEW (not available for download)

    Dear user of LabVIEW,

    I am train to download OR library for Modbus LabVIEW, but unfortunately without success.

    When you go to this website http://sine.ni.com/nips/cds/view/p/lang/pt/nid/201711, there is a link to the right to download version 1.2.1, but it does not work.

    Is it possible for someone to post a new link to this library?

    Best regards

    I just put "ftp.ni.com/pub/devzone/epd/nimodbus121.zip" in the address of my browser and downloaded correctly.

  • publish the new class for other projects in a workspace

    HI, I have a workspace, which contains 4 different projects.

    I package all the project under the same path as the package com.xxx.app.version1;

    I made a new class, say DataStruct, it will be used in several projects.

    If I only set the DataStruct in a project, how the other projects can reference this class?

    I do not put the same class file in each project, because it causes problems of consistency.

    Thank you

    Jerry

    solved.

    My own solution:

    Add a new project name xxlib in this workspace.

    Add all the classes newly defined in this project. Pack them as com.xxx.lib;

    first build the jar of this xxxlib. then add this jar file into other projects that are in need of new classes.

    (for each project, the properties-> build-> add jar)

    in the project files that are in need of the new class, add "import com.xxx.lib;"

  • can I use Visual studio express for commercial projects?

    can I use Visual studio express for commercial projects?

    No, this version of visual studio is for purposes of learning and not commercial, if you want to make commercial project, you should get the right edition.

Maybe you are looking for

  • can not access AppStore after iOs 9.3.1 installed

    After update my iPad iOS 9.3.1 I am now unable to access the App Store. Can you help me?

  • C70-B-11 satellite - re - INSTALL Win7 OS (no product key/CD provided)

    Hello I recently bought a Toshiba C70-B-111 that came with the system of Windows 7 Pro 64-bit pre-installed. For some reason (for example, there is that one big C: drive, the demo software I have really not the type to use etc.) I want to reinstall t

  • Help for personal key on SM30-801

    I've updated my laptop under Windows Server 2003 for the work. But, the personal touch on the right do not work. Where to install the driver on CD during the reboot, an error has occurred, the FN key don't work and the video output for tv do not work

  • Problem of office 2002

    Hi allI have Dell D 620.I installed windows vista ultimate in my laptopI installed office 2002 for my office workBut the problem is that whenever I try to open MS WORD or MS EXCELIt begins once again install and install.On my second desktop pcFor onc

  • F 340 HP Office print documents blury

    My printer is blurry printing documents, almost like a light shade on each letter.  I don't find a way to "clean up" the ink cartridge heads. Troubleshooting found nothing worng. What can I do?