Y at - it a library for mdns Hello connectivity?

Hello

For one of my projects, I need to have connectivity on UDP Hello, I already managed to set up a connection socket UDP between the PlayBook and my computer, but I don't know how to do with Hello.

Been to a library already available for the PlayBook or QNX?

Thank you!

LOL, okay, well I'll then return PySide. : PEI

But I took a quick glance for you and started to do some work.

http://opensource.Apple.com/tarballs/mDNSResponder/mDNSResponder-333.10.tar.gz

Take this archive and extract it. If you look in the folder that extracted, you will see a mDNSPosix folder. If you look inside, you will see a Makefile. Adding these lines will help you get started:

Lines 102-110

ifeq ($(os),qnx)
CC = ntoarmv7-gcc
CFLAGS_OS = -I/opt/bbndk-2.0.0/target/qnx6/usr/include
LD = ntoarmv7-gcc -shared
LINKOPTS = -lsocket -lnsl -lresolv
ifneq ($(DEBUG),1)
STRIP = ntoarmv7-strip
endif
else

and add the following code at line 172

endif

You will need to set up a build environment on Linux/Ubuntu, most likely. If you install the build-essentials and bison of apt - get, which should you get what you need to start building. I was in the middle to find the compiler options to have find the headers when I stopped to write this post.

EDIT: this looked a little bit more, your next obstacle is the lack of syslog.h. It is not bundled with the NDK. For after this post:

http://supportforums.BlackBerry.com/T5/native-development/syslog/TD-p/1424045

you need to implement your own, or remove files somehow. To be honest, I don't think it would be difficult to implement yourself, but just to go there for the moment, I would remove it and all the functions that reference, for now.

Give me a like. ;-)

Tags: BlackBerry Developers

Similar Questions

  • JQuery library for JavaFX?

    Someone is aware of a JQuery library for querying/editing nodes in a JavaFX scene graph?
    If no library like that exist currently, anyone know if it is expected to provide something like this in the future?
    A declarative query and modify the nodes in the scene graph seems a very interesting library for me, and it shouldn't be that difficult to implement in practice, where it does not already exist.

    Kind regards

    Sergio

    to * wrote:
    Hello, Yes, I was looking for something like Node.lookupAll. Although the API that I had in mind was a little higher level, in JQuery, you can select a group of nodes and send them a message in a single step, something like:

    $('selector').do_something (...)

    I would have to explicitly iterate on the answer returned by lookupAll, but that's almost what I need.

    With the new features of Java 8 (java.util.Stream.forEach (...), for example) this becomes much easier too...

    root.lookupAll(".my-class")
       .stream()
       .forEach(node -> node.setVisible(false));
    

    Edited by: James_D April 3, 2013 15:08

  • With the help of a file to archive AIX as a library for an outpatient procedure.

    I can't use a file to archive, created with the ar command, that contains a shared object that was created with the xlc and orders ld as a library for external procedures. I can use the file to shared object created with the command ld as a library for an outpatient procedure. Why would encounter an invalid number of magic, and what is the resolution?

    Example:

    Oracle:@husk21:/Home/Oracle > ksh - x./Oracle_demo.ksh
    + rm shell.o shell.so shell.so.exp shell.so.imp
    + do f /u01/oracle/product/11.1.0.7/db/rdbms/demo/demo_rdbms32.mk extproc_no_context SHARED_LIBNAME = OBJS = shell.o shell.so
    /U01/Oracle/product/11.1.0.7/dB/bin/oraxlc-q32 - c-I/u01/oracle/product/11.1.0.7/db/rdbms/demo-I/u01/oracle/product/11.1.0.7/db/rdbms/public-I/u01/oracle/product/11.1.0.7/db/plsql/public-I/u01/oracle/product/11.1.0.7/db/network/public-I/u01/oracle/product/11.1.0.7/db/precomp/public shell.c
    generate_export_list() {/ bin/nm-X32_64 b h g "$1" | grep - v 'U' | awk '{print $3}' | egrep - v ' ^------. | ^ TABLE OF CONTENTS ' | sort | uniq;}; generate_import_list() {LIB_NAME = $1; IMP_FILE = $2; Cat /u01/oracle/product/11.1.0.7/db/rdbms/lib/xa.imp | head - 1 | "awk ' {print $0,". "}" > ${IMP_FILE}; / bin/nm-X32_64 - C b g h ${LIB_NAME} | grep 'U ' | grep - v ': ' | grep - v "(" |) " grep - v '\.cc ' | AWK '{print $3} ' | SED-e "s /------." / / g » | v grep ' ^ _ ' > > ${IMP_FILE}; }; generate_import_list shell.o shell.so.imp; generate_export_list shell.o > shell.so.exp; script-b32 - bnoentry - bM: SRE - bE:shell.so.exp - bI:shell.so.imp o shell.so shell.o-L/u01/oracle/product/11.1.0.7/db/lib-lc_r - lm
    LD: 0711-224 WARNING: duplicate symbol: are
    LD: 0711-224 WARNING: duplicate symbol: System
    LD: 0711-345 use - bloadmap or - bnoquiet for more information.

    Oracle:@husk21:/Home/Oracle > ar rv libshell.a shell.so
    AR: creating a libshell.a file to archive.
    a shell.so

    Oracle:@husk21:/Home/Oracle > ar tv libshell.a
    rwxr-xr-x 1263 3514/3516 Sep 08 10:00 2009 shell.so

    Oracle:@husk21:/Home/Oracle > shell.so of the file
    Shell.so: executable (RISC System/6000) or module object not stripped

    Oracle:@husk21:/Home/Oracle > libshell.a of the file
    libshell.a: archive (large format)

    SQL > CREATE or REPLACE a LIBRARY shell_lib is ' / home/oracle/libshell.a';
    / 2

    The library is created.

    SQL > shell CREATE OR REPLACE PROCEDURE (char IN command)
    AS EXTERNAL
    NAME 'shell '.
    LIBRARY shell_lib
    C LANGUAGE
    PARAMETERS (string command);
    / 2 3 4 5 6 7

    Created procedure.

    SQL > exec shell ('ls');
    BEGIN shell ('ls'); END;

    *
    ERROR on line 1:
    ORA-06520: PL/SQL: error loading of external library
    ORA-06522: 0509 - 022 cannot load module home/oracle/libshell.a.
    0509-103 module has an invalid magic number.
    ORA-06512: at the 'V500 '. SHELL', line 1
    ORA-06512: at line 1


    SQL > CREATE or REPLACE a LIBRARY shell_lib is ' / home/oracle/shell.so';
    2.

    The library is created.

    SQL > exec shell ('ls');

    PL/SQL procedure successfully completed

    Hello

    This syntax is used by the routine of dlopen in AIX, so you only saw the Oracle documentation. See here for more details:

    http://publib.Boulder.IBM.com/InfoCenter/systems/index.jsp?topic=/com.IBM.AIX.basetechref/doc/basetrf1/dlopen.htm

    See "ModuleName" under settings:

    The ModuleName parameter can explicitly name a member of archive. The syntax is pathname (member)...

    In this case, it was "libshell.a (shell.so).

    So that my statement "how you would specify than you wanted...". "in regards to the members archive has addressed earlier.

    I hope that the test will go well.

    Thank you

    Mark

  • document library for 9.3.1

    Hello

    Can someone give me the link to the document library for the hyperion 9.3.1 products.

    I can find for ver 11 http://download.oracle.com/docs/cd/E12825_01/nav/portal_1.htm

    Thank you!

    Hello

    Root for the documentation of the software is:-http://www.oracle.com/technology/documentation/epm.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • 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.

  • 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

  • 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

  • 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.

  • 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.

  • I have a Leica LR but my creative cloud annual subscription has expired, my Lightroom my LR library for 2015 and beyond now has a question mark and I can't open pictures

    I have a subscription valid and active Leica camera.

    How can I get Adobe to recognize? My creative cloud has expired. I'm frozen out of my photo library

    Using the redemption code Leica I downloaded successfully updated day to day LR 6 but my LR library for 2015 and beyond now has a question mark, and I can't open the images.

    Any suggestions?

    Is this something that Adobe has to rectify?

    Thank you

    John

    The question mark has nothing to do with your subscription at the end. The question mark on your records indicates that Lightroom cannot find the photos, because they have been moved or renamed, or delete outside of Lightroom. The instructions to fix it are: Adobe Lightroom - find folders and files moved or missing

  • Failed to initialize the library for the assembling and disassembling workstation virtual disks 9

    I am using VMware Workstation 9.0.4 build-1945795 and have a problem with "map of the virtual disks. I tried map a virtual drive on windows server 2008 r2, windows server 2008, windows 7, windows xp, windows 2000, windows 98, and BACK 6.22. I have went to the file - card virtual disks and get 'Could not initialize the library for the Assembly and disassembly of the virtual disks', every time I have try to map any operating system for the virtual machine. Some have snapshot while others do not is a mixture of 64-bit and 32-bit virtual machines. My system is Windows 7 Enterprise 64-bit. What I'm missing here because if a feature is available in the menu you seem to expect it to work actually on something.

    OK the fix for me was that I had to uninstall VMware workstation and now it seems to work very well on all the OS preceding reinstall it.

  • PS Library for Java?

    Adobe has a postscript printing library for Java?

    I called Support Adobe - and got the typical India (no help of course) call centre. I hope that Adobe has smart people somewhere in the company... just don't know where.

    We have a desktop client for Java Web Start for geospatial work we need to add support for postscript for printing (for example drawings of size E) large format. The goal is to reduce the impression on the method "render a bitmap on the client - and then send it to the printer and print server -" Java2D/normal Windows by creating a small postscript file to send to the printer - which can then create the big picture to print to the device.

    From what I can tell Adobe has no such library - is this true?

    If so - someone recommendations on a library of good solid commercial or open source?

    Google seaches came up with only a couple (for example RiePS), of which none seem very sturdy. Nobody does develep requests for PostScript output more?

    Thanks in advance...

    Assuming that you're not lookng for a library for the creation of PostScript, Adobe offers no library for creating PostScript in Java or other.

    Most of the applications in current operating systems environments (Windows, MacOS, etc.) rely on the operating system's internal graph model and provided PostScript driver to generate PostScript for each device and even deliver per channel of communication of the device (Ethernet, USB, etc.).

    -Dov

  • Synchronization of large library two MacBooks not connected

    Hello

    I have two Macbook Pro which are in two different places.  I have a large Aperture library which I have been synchronized with Chronosync. This option requires that I keep the RAW files in the Aperture library for images of work currently, at least.

    If I'm going to LR, CC, I realized there are only 2 GB of cloud storage. Also, I realize I can synchronize with mobile applications, which did not help me.

    Can I run an external from a hard drive LR CC library and it basket just with me?  Alternatively, can I synchronize with Chronosync and take with me?

    With the disappearance of the opening (someday), I feel the need to start learning something else.

    Can I run an external from a hard drive LR CC library and it basket just with me?

    Yes, it's the best opton!

Maybe you are looking for