'Require the error' try to call reverse geocoding function of geo_search.h


I am trying to create an additional function in an existing extension using WebWorks 1.0.4.11.

The function is geo_search_reverse_geocode in geo_search.h

For now I'm just using the code example in the documentation on this function.

http://developer.BlackBerry.com/native/reference/core/com.QNX.doc.Geolocation.lib_ref/topic/geo_sear...

So therefore, my code looks like this.

/**
 * Test Function to performs a reverse geocode lookup.
 */
string TExtn::performReverseGeocode(const char* handle) {

    string result = "";

     geo_search_handle_t handle_t;
     geo_search_error_t error = geo_search_open( &handle_t );
     if ( error == GEO_SEARCH_OK ) {
       geo_search_reply_t reply_t;

       // for now, use the location in the example.
       double lat = 39.8017;
       double lon = -89.6436;

       error = geo_search_reverse_geocode(&handle_t,
                                          &reply_t,
                                          lat,
                                          lon,
                                          GEO_SEARCH_BOUNDARY_CITY);
       if ( error == GEO_SEARCH_OK ) {

             // do something with the results in the search reply
             result = decode_reply( &reply_t );
         geo_search_free_reply( &reply_t );

       } else {
           result = "unknown";
       }
       geo_search_close( &handle_t );
     }

     return result;
}

Before adding this feature, the extension causes no problems in my webworks app.

Now that I've added the function call, I get this message that appears when running my application webworks.

 

Need error cannot find /usr/lib/webplatforms/plugins/jnext/libTJNext.so library cannot be found

 

* edit: libTJNext.so is the name of the shared object containing my extension.

I use the same build scripts, and if I comment my changes to my hpp/CPP files, extension begins to work again (but without the support of geocoding).

I hope that the message itself is a herring-saur, as the so is included in the file of the bar (I checked), so I expect to be installed when I install the application.

What I am doing wrong?

Yes, the message is a red herring. As a general rule, if the system cannot load a .so due to a connection problem, it shows the error. Have you noticed on the documentation of the API that it uses this library: libgeo_search?

This library must be added to your project in order to to use. Without it the binding will fail and you will get this message.

The process of adding that is documented here: https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10-Cordova/Template#including-li...

This section of the manual applies to extensions times WebWorks 1.0 and 2.0 WebWorks, although a large part of the rest of this file applies only to the WebWorks 2.0.

Tags: BlackBerry Developers

Similar Questions

  • I tried to update Photoshop and get the error try update later with error U44M1P34

    I tried to install the latest update for photoshop, however when the download is complete and the installation seems to be stopped and said try again later and received the error msg tried six times U44M1P34

    Alternatively, you can try following steps once:

    Uninstall Photoshop cc again.   [I know that it's the same thing once again]

    Go to C: > Program Files (x 86) > common files > Adobe.

    Open Adobe folder and rename under mentioned folders.

    (1) adobe PCD - Adobe PCD centenarians.

    (2) hats - caps-old.

    3-backup - backup-old.

    Then reinstall Photoshop CC and check.

    If this does not work, try once hidden Admin account.

    Got similar problem solved here without doing the full manual removal of applications Adobe and its related files:

    Re: Creative cloud updates fail with u44m1p34

  • Get the error: DROPDOWN list is not a function - works in IE9

    I'm trying to remove the default selected value in a drop-down list.

    The call to the function is the following:
    OnChange = "JavaScript:Remove_Default_Value (this); »

    Here's the function:

    function Remove_Default_Value(DROPDOWN) {
     var i = DROPDOWN.options.length - 1;
     for ( i; i >= 0; i--)
     {
      DROPDOWN(i).defaultSelected = false;
     }
    } 

    The error I get is "drop-DOWN list is not a function".

    Any ideas is greatly appreciated.

    It is not a function, but a table and you also use getElementsByTagName()

    function Remove_Default_Value(DROPDOWN) {
     var i = DROPDOWN.getElementsByTagName("option").length - 1;
     for ( i; i >= 0; i-- )
     {
      DROPDOWN.getElementsByTagName("option")[i].defaultSelected = false;
     }
    } 

    A good place to ask for advice on web development is to the 'Web Standards Development/evangelism' MozillaZine forum.

    Aid to this forum are better informed on issues related to web development.

    You must register on MozillaZine forum site to post in this forum.

  • Linux has failed with the error: try to contact the assistance service has expired

    Hi all

    I would like to convert a Linux server on a VMware VM and still get the same error:

    [error 00848 ' task-12' "] Receipt of exception while trying to connect to helper in 10.158.19.22 port 443: try to contact the assistance service has expired

    I'm using Converter standalone 5.1.0.

    Support VM network is configured to obtain an IP via DHCP (it works fine as I can see DHCP lease on my DHCP server)

    But in the newspaper, I get a lot of these errors:

    from journal

    -> The remote host certificate has these problems:

    ->

    -> * Hostname does not match the name of the subject in the certificate.

    ->

    -> * certificate of self-signed certificate chain)

    2013 07-30 T 11: 35:05.411 + 02:00 [00716 error "HttpConnectionPool-000000' '] [ConnectComplete] failed to connect to < cs p:0763 c 790, TCP:10.158.19.22:443 >; CNX: (null), error: class Vmacore::Ssl:SSLVerifyException(SSL_Exception:_Verification_parameters:)

    -> PeerThumbprint: 1 d: D8:6 C: B1:61:6's: F7:D2:CC:45:A4:77:A7:61:98:14:FA: DA: 59:65

    -> ExpectedThumbprint: 51:82:8 C: B6:F7:E7:29:B5:0's: D7:B5:AB:DC:FC:B0:17:55:3F:E5:B8

    -> ExpectedPeerName: < ip_address my - >

    I have attached the complete log.

    Does anyone have an idea to help me?

    Kind regards

    Pouine

    Can you then try to install the converter in a VM in the same local network where the destination will be (i.e. where the assistance program runs)?

    As for what happens - it is really very strange. Here are the symptoms of a hacking of man-in-the-middle. It is probably not the case, but I have no idea what it could be.

    Kind regards

    Plamen

  • I have CS5 and it won't let me install the updates now. I get the error "try back later" every time. I have a Dell PC with Windows 7.

    How can I install updates from Adobe to CS5?

    Thank you

    Kim

    Sometimes the old updates of program work do better manually

    Beginning of the updates here and product selection, read to see if you need to install updates in the order of the numbers, or if updates are cumulative for the product http://www.adobe.com/downloads/updates/

  • Is the integration of the Bing maps for free reverse geocoding Service?

    Someone at - he experiences with an account with the Bing maps portal - which is recommended by Adobe - and knows, if the use is free? I want to deliver a regional content in a folio (the article) with the professional edition, based on the GPS.

    Thank you very much!

    Here's the Bing license options: http://www.microsoft.com/maps/Licensing/licensing.aspx.

    Neil

  • WebLogic Portal (10.3.0) requires the function "com.m7.nitrox (1.0.20)" (?)

    (I'm re-posting as WebLogic Portal (10.3.0) requires the function "com.m7.nitrox (1.0.20)" (?))

    Greetings. I just installed WebLogic Portal 10.3 and I am trying to install a couple of workshop/Eclipse plug-ins, but when I select any item to install I get this error:

    WebLogic Portal (10.3.0) requires the "com.m7.nitrox (1.0.20)" function, or compatible.

    Everything else seems to work very well, so I don't know why my installation gives me this problem. I did a little digging already and that you have not found what can cause this problem, and I hope that someone here may be able to point me in the right direction.

    Thank you!

    It is a known issue with WLP 10.3; He was approached for the next version of WLP. You may contact support to try to get a patch created (reference CR379999).

    I see 2 possible solutions:

    1. manually download the new plugin and either a) create an expansion slot on the filesystem of it and add that via Help | Software updates | Manage the Configuration, or b) extract to one of the folders workshop (tools/eclipse_pkgs/2.0/eclipse_3.3.2, tools/eclipse_pkgs/2.0/pkgs/eclipse, workshop_10.3/workshop4WP/eclipse, wlportal_10.3/eclipse) eclipse and restart the workshop.

    2. change wlportal_10.3/eclipse/features/com.bea.wlp_10.3.0/feature.xml, comment out the lines in the block , workshop to restart, and then try again.

    Greg

  • End of the file has detected the error for more than one column of a PDM file playback

    Hello fans of LabVIEW,.

    I write the data in several columns of a PDM file. After that, I would like to read the data in each column to treat it.

    writing data works without any problem, if I get a PDM file with say 4 columns of data. When I try to read these columns now, LabVIEW always gives me error 4 "end of file" for all but a PDM read functions. Regardless of the number of columns I've read or how big they are, its still the same. LabVIEW reads a column and gives the error for all other tdms read functions.

    Does anyone has an idea how to solve this problem?

    A picture of my VI and the error is attached.

    Pls find attached extract

  • Call a Javascript function in a Captivate 7 Web page

    Hello

    I try to call a javascript function in a web page to Captivate 7. The call is an output of blade event. When I saw the (F4) project, I have a prompt that displays a javascript function is called and told me to display in a web page. Of course, which is perfectly logical. However, when I go to the same project in the hml with the necessary Javascript function in page, I get nothing. The script is a simple that displays an alert.

    I made sure the SWF in question is defined in the global security settings. I know that the javascript function is correctly formatted.

    Can someone please give me an example of how to "execute Javascript" call of Captivate to a function residing in the html page please.

    Any help is appreciated.

    Don't just add the SWF file to the Flash security locations overall of confidence.  Add the entire folder containing all the files published, or better still, a level that contains all your published Captivate projects so that you never have to worry about Flash security issues again.

    Also, if it still does not work, I would try the same running JavaScript with a different event than the event output slide.  It can be a little bit reliable.

  • Problem when calling a return function of SQL BOOLEAN in package type

    Hi all

    I'm having a problem when you try to call a SQL function in a package with the return BOOLEAN type
    The SQL function signature is
    ####

    CREATE OR REPLACE PACKAGE RMSOWNER. ORDER_ATTRIB_SQL *.

    FUNCTION GET_PO_TYPE_DESC (O_error_message IN OUT VARCHAR2,
    I_PO_TYPE IN VARCHAR2,
    O_PO_TYPE_DESC IN OUT VARCHAR2)
    RETURN A BOOLEAN VALUE;

    ####


    Here is my java code

    ####
    + Cs3 CallableStatement = conn.prepareCall ("{?}") = call ORDER_ATTRIB_SQL. GET_PO_TYPE_DESC(?,?,?)} ");" +
    + CS3.registerOutParameter (1, java.sql.Types.BOOLEAN) +;
    + CS3.registerOutParameter (2, java.sql.Types.VARCHAR) +;
    + CS3.registerOutParameter (4, java.sql.Types.VARCHAR) +;
    + CS3. SetString (2, ""); +
    + CS3. SetString (3, "ST"); +
    + CS3. SetString (4, ""); +
    + ResultSet rs3 = cs3.executeQuery (); +
    ####

    I get the following exception, I tried to change the (registerOutParameter) boolean sql type bit, but I've always found this exception.
    But when I call all other functions with a return type other than boolean, they work perfectly well.

    Please can someone help me solve this problem, I don't know if its something to do with classes of JDBC providers?

    #####
    + java.sql.SQLException: ORA-06550: line 1, column 13: +.
    + PLS-00382: expression is of the wrong type.
    + ORA-06550: line 1, column 7: +.
    + PL/SQL: statement ignored +.

    + oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) +.
    + oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) +.
    + oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) +.
    + oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743) +.
    + oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215) +.
    + oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:954) +.
    + oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) +.
    + oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316) +.
    + oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3422) +.
    + oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4394) +.

    #####

    Looks like it's a Limitation of the jdbc drivers. Please visit the following link:
    http://www-Camden.Rutgers.edu/help/documentation/Oracle/Java.815/a64684/typesup1.htm

    Here is an excerpt from above:
    ==========================================================
    PL/SQL BOOLEAN, RECORD and the Types of TABLES of packing

    Oracle JDBC drivers support the argument of appeal or return values of PL/SQL TABLE types (now known as indexed arrays by), REGISTRATION or BOOLEAN.

    To work around the problem, you can create wrapper procedures that manage data like types supported by JDBC. For example, to wrap a stored procedure that uses PL/SQL Boolean values, you can create a stored procedure that takes a character or a number of JDBC and passes to the original procedure as BOOLEAN or, for an output parameter, accepts a BOOLEAN of the original procedure argument and pass it as a TANK or a NUMBER to JDBC. Similarly, to wrap a stored procedure that uses PL/SQL records, you can create a stored procedure that maintains a record in its individual components (such as CHAR and NUMBER). To wrap a stored procedure that uses PL/SQL tables, you can divide the data into components or perhaps use Oracle collection types.

  • running personalized script called just a function?

    Work on fixing someone else Adobe forms.  "On the validation tab, they have (run a custom script val) checked, but then it just says" YesNoV (event); "in the editor.   This call to a function from somewhere's else?  I googled adobe thought YesNoV (event) has its own library of JavaScript we can use, but can not find any library.  A fact the creator of this form do not create this form accurately?  I understand it if there were some conditional code in the editor, but don't know what the event is trying to do.  We guess just capture if the user says y or N?

    Guess I'm trying to find out what is supposed to happen if the user selects N or, if something is supposed to happen.   otherwise I can disable the validation, because it does not work properly anyway.

    I know little of JavaScript, but new for use with the Adobe forms.  (just enough to be dangerous, but not enough to accomplish whatever it is) lol.

    Thanks in advance,

    Jim

    Adobe Acrobat Pro DC, Windows.

    Is not in fact a function provided Adobe but a custom function added to the document JavaScripts section. May be easier to edit here.

    You say that you don't see any code for what he does, but you have published, in its entirety:

    function YesNoV (event) {if (event.value! = null) event.value = event.value.toUpperCase (); if (event.value! = "Y" & event.change! = "N") event.rc = false ;};}

    We will write with the best layout

    function YesNoV (event)

    {

    If (event.value! = null) event.value = event.value.toUpperCase ();

    If (event.value! = "Y" & event.change! = "N") event.rc = false;

    };

  • Error when you try to call the Javascript function in the ActiveX Web browser

    I have a requirement to call a Javascript function in a web page that is displayed in the browser's ActiveX control.  I have the control on the front panel, and I use the Navigate method to call to the top of the appropriate page.  Based on an example, I found, I'm trying to get a reference to the HTML Document so that I can then get a reference to the Fenetreparent.  There is a method of the HTML Window object called execScript who I'm calling.  See the attached image of the code (reference close calls do not appear, but when I run it, they are there).

    I can't the node property that returns the parentWindow reference.  The error I get is the following.

    Error-2147467262 LabVIEW: (Hex 0 x 80004002) No. taken such interface supported.

    Any ideas on where to go from here?

    Hello

    I have reproduced the issue and the error you are seen and tried to understand what is the solution.

    It seems that the problem is with getting the pointer to the parentWindow.  From what I read on MSDN, it's maybe a limitation in the use of an ActiveX control in LabVIEW. It seems like Internet Explorer creates the object of the window, and so opening in one ActiveX control you free access to this top-level object.

    Here could be workaround for javascript execution in your program:

    I would like to know if it works for you and if it will work in your program.

  • I play an online game called Last Chaos, and whenever I try to run the launcher I get a message on the screen that shows the error code 626. How can I fix this so I can play my game?

    I play an online game called Last Chaos, and whenever I try to run the launcher I get a message on the screen that shows the error code 626. How can I fix this so I can play my game?

    Hi Kerrkid90,

    Welcome to the Microsoft Answers Community Forum site!

    To launch the browser, I want to suggest you to log on as an administrator in 1. Download the game

    2. run the setup.exe file

    3. right-click on it and run as administrator.

    If it fails, suggest to run the Windows Installer Cleanup utility by visiting the following link:

    http://support.Microsoft.com/kb/290301

    In the case if the above methods fail, you can also contact last chaos community to help you fix this problem:

    http://forums.aeriagames.com/?f=6

    I hope this helps!

    Thank you best regards &,.

    Calogero - Microsoft technical support.
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

  • ﷯Error - error message: an element on the page "News" at location 33 642 requires the pixelation, but is too large to rasterize. Resize it smaller and try again... I can't fix this or find that the line number.  How can I find this line?

    ﷯Error - error message: an element on the page "News" at location 33 642 requires the pixelation, but is too large to rasterize. Resize it smaller and try again... I can't fix this or find that the line number.  How can I find this line?

    I don't know why it worked, but I changed the police and was able to download Web site.  Thanks for your help!

  • I have monthly CC and LR and I try to download the new LR6 on my Mac. The error I get is "you run an operating system supporting Lightroom is more." Refer to the system requirements for a full list of supported platforms

    I have monthly CC and LR and I try to download the new LR6 on my Mac. The error I get is "you run an operating system supporting Lightroom is more." See the system requirements for a complete list of the supported platforms. "I checked that my requirements and LR should be supported. Don't know what else to do I can't download.

    Hi Jenn,

    Please check the help below document for the technical specifications for the purpose of Lightroom:

    The system configuration required

    Kind regards

    Sheena

Maybe you are looking for