Cocos2dx - connection with api native (like open URL in browser)

Hello..

I have found no guidance about how to connect blackberry native API with cocos2dx just like Android with some jni...

For example, to open a link in the browser of the application cocos2dx...

A guide to this topic will be very useful

Sorry for posting to do before...

In fact lately, I realized that this cocos2dx is based directly on Blackberry native sdk... It is not necessary to have a bypass between core native API and cocos2dx...

And we can directly use native c and c ++ API...

Want to open url now using class b/s/navigator...

Tags: BlackBerry Developers

Similar Questions

  • I have an asus laptop with built-in bluetooth, but I can't perform simple tasks like connecting with another device like a helmet, for example.

    I have an asus laptop with built-in bluetooth. I hit the bluetooth button at the top near the power button, nothing happens and when I go to bluetooth menu manually, click bluetooth settings NOTHING product! All I want to do is sync my headset with my laptop! I did all the bases to find out the headphones, but my computer can't locate!

    Hello

    Hardware devices not detected or does not work - a Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    The problems with Bluetooth devices
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Bluetooth-enabled-devices

    Set up a Bluetooth compatible device
    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-a-Bluetooth-enabled-device

    The problems with Bluetooth devices
    http://207.46.197.98/Windows/en-in/help/11a74104-645D-40D4-b933-bde5d15537bb1033.mspx

    How to set up a Bluetooth connection
    http://www.vista4beginners.com/how-to-setup-a-Bluetooth-connection

    The Bluetooth item in Control Panel on a Windows Vista SP2 computer does not work as expected
    When you click the item
    http://support.Microsoft.com/kb/960531/en-us

    If you need drivers try the support site for the manufacturer of your system and/or the site of the manufacturer of the real device.

    BluetoothView is a small utility that runs in the background and monitor the activity of Bluetooth technology
    devices around you. For each detected Bluetooth device, it displays the following information:
    The device name, address Bluetooth, Major Device Type, minor device Type, first detection time,
    Last detection time and more. BluetoothView can also warn when a new Bluetooth device
    is detected, by displaying a balloon in your bar tasks or playing a little beep. -FREE http://www.nirsoft.net/utils/bluetooth_viewer.html

    BluetoothCL is a small console application that transforms all differential of bluetooth devices detected in
    the standard output. For each Bluetooth device, the following information is displayed: MAC
    Address, name, Major Device Type, minor device Type and possibly the name of the company of
    the device (if the external file of MAC addresses - oui.txt is provided) - FREE
    http://www.NirSoft.NET/utils/bluetoothcl.html

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

  • Get the prompt: what program you want to open it with? When to open the web browser

    When I try to open my browser (or any other program), he asks 'what program you want to open with' and gives me a list. What is with that? I have just got rid of "xp security 2012" if it means something... or am I...?

    Hi Leoboutilieri,

    have been closely following this:
    Otherwise, carefully follow
    Let me know if it helps
    Elvis
  • FTP connection refused with FTP client to open the port in the firewall ESX

    Hello.

    I just installed an esx 3.5 U4.    We have an FTP server where we all night to make a copy of all our VM.

    This ESX may not put the files in the FTP server... I open the FTP client port on the 'profile terms' - & gt; Firewall tab without problems and

    I can connect with the FTP server... but... I can't do a LS for example, can I change to a different folder, I try with passive mode works... but

    It does not work.

    FTP server works well because other ESX work with her, and I do my windows XP with the same user/pass login and it works...

    Any idea?

    Thank you very much

    # ftp 192.168.18.15

    Connected to 192.168.18.15 (192.168.18.15).

    Welcome to 220 xxxxxxxx

    Name (192.168.18.15:morado): vmbk

    331 please specify the password.

    Password:

    230 login successful.

    Remote system type is UNIX.

    Using the binary mode to transfer files.

    FTP & gt; Backup CD

    250 changed Directory successfully.

    FTP & gt; LS

    227 entry Passive Mode (192,168,18,15,72,91)

    FTP: connect: connection refused

    FTP & gt;

    Looks like the second TCP connection for file transfer (which is also used in the list of directories) from the client FTP on the server fell. Have you tried completely disabling the firewall with esxcfg-firewall - allowOutgoing (can try esxcfg-firewall - allowIncoming, although it should not be necessary in the passive FTP mode)? This command sets the iptables chains of ENTRY and EXIT to accept instead of the fall.

    I tried esxcfg-firewall - e ftpClient and it worked fine for me.

    You could also post your esxcfg-firewall OUTPUT string parameters - q.

  • Mac book air cannot detect my iPhone 6, after the cable on my I phone 6 to connect with my mac book air, nothing appear on the mac book. Seems like it can't detect the file i phone 6. I want to export my photos and do the upgrade version.

    Hi, after plug the cable on my phone i 6 to connect with my mac book air, nothing appear on the mac book.

    Seems like it can't detect the file i phone 6. I want to export my photos and do the upgrade version.

    Current situation is nothing exportable phone and also cannot do anything mac book because they cannot detect each other. Please advise, thank you.

    You can try to move to a different USB port. And if your just trying to swap photos try Airdrop. Also try to go here If iTunes does not your iPad, iPhone or iPod - Apple SupportHope this help, good luck to you.

  • Open the console on a virtual machine is already connected with customer Horizon

    Good afternoon

    Is there a way to see the screen (with console open on vsphere) of a virtual machine when someone is connected with the customer on the Horizon?

    Because, if I try to open a console, I am connected to the virtual machine, but I see a black screen, the video seems to be taken by a customer of the horizon.

    Best regards

    How to hide a Horizon VMware view desktop - Mike Tabor

    Thanks mittim12, it brings me to this Web site and the Group Policy object model works very well

  • Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside

    Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside the Jquery page. In the future I would also be able to add, to remove the DB records. Any help, tutorial... Thanks TG

    I would like to connect with the database instead of "writing" all the tables in the bearings inside the Jquery page

    This is usually done with a CMS (content management system). There are commercial products CMS like WordPress, Joomla and perch. You create one or several layouts and then create pages of these page layouts using the CMS. In this way, it is possible to have hundreds of pages, each with unique content, but a page layout that can be managed in a place of sharing.

    CMSs on shelf don't require programming skills. Otherwise, some of us write our own CMS with custom functions, but this requires back-end, as with PHP programming.

  • Internet connection with Windows XP, SP3 and Airport Extreme - the status is always "absorbing network address.

    My Airport Extreme connected my IMac immediately, but I am not able to connect on the side PC. Airport utility does not 'no matter what Airport wireless devices". When you check the status of the internet connection with PC tools, the correct network is indicated and shows an excellent signal strength. The status is: "absorbing the network address. However, nothing happens.

    Under 'Repair the wireless network connection', it shows, "Windows is taking the following steps: your IP address renewal" even once, nothing happens.

    Under hardware I show Atheros Wireless Network Adapter and the mention: "this device works correctly.

    Yet, no network connection. Any help will be greatly appreciated.

    Hello

    Keep the changes and open the wireless. For example, to disable security in the router (turn on when to managed to connect).

    You can also try the wireless in a friends house, or an Internet café to get a frame of reference for this behavior elsewhere.

    -------------------

    Wi - Fi in general.

    These steps and tell us where is the breaking point.

    Check the Device Manager for the wireless card valid entry.

    http://www.ezlan.NET/Win7/net_dm.jpg

    If there is no valid entry, remove any entry from fake and re - install the drivers for the wireless card.

    Check network connections to make sure that you have a network icon/entry wireless connection, and that the properties of the icon (right-click on the icon) are correctly configured with the TCP/IPv4 protocol in the properties of network connections.

    http://www.ezlan.NET/Win7/net_connection_tcp.jpg

    ------------------

    The wireless card drivers much also install utility wireless of the seller.

    Make sure that if there are teas from Wireless Utility of seller does not work with the native Windows wireless utility (Service WLAN).

    ----------------

    Make sure you firewall No. preventing / blocks wireless components to join the network.

    Some 3rd party software firewall continue to block the same aspects it traffic Local, they are turned Off (disabled).

    If possible set up the firewall correctly, otherwise totally uninstall and get rid of its remaining processes that permit the own local network traffic flow.

    If the 3rd party software is uninstalled, or disables, make sure Windows native firewall is active .

    party like Hello and NetMagic 3rd network managers can block local traffic too.

    ---------------------------

    Stack TCP/IP work should look like.

    Right-click on the wireless network connection card, select status, details and see if she got an IP address and the rest of the settings.

    http://www.ezlan.NET/Win7/status-NIC.jpg

    Description is the data of the card making.

    The physical address is MAC of the card number.

    The xx must be a number between 0 and 255 (all xx even number).

    YY should be between 0 and 255

    ZZ should be between 0 and 255 (zz all the same number.)

    The date of the lease must be valid at the present time.

    * Note 1. IP that starts with 169.xxx.xxx.xxx isn't valid functional IP.

    * Note 2. There could be an IPv6 entries too. However, they are not functional for Internet or LAN traffic. They are necessary for Win 7 homegroup special configuration.

    ---------------------------------------------------

    A message in the small window that says connected wireless doesn't means that you are really a valid functional connection.

    Above everything is OK, you must be able to connect to the router.

    Connection to the router means that you can enter the IP of the router base in an address bar in one go, being able to connect and configure the router menus see.

    If it doesn't connect to the router, journal newspaper from any computer that can connect to the router wirelessly with a wire, disable wireless security, make sure that the wireless SSID broadcast is enabled and try to connect with no. wireless security.

    Enable security wireless after you eat to make a functional connection.

    Jack - Microsoft MVP, Windows networking. WWW.EZLAN.NET

  • Question connection with Blast after upgrade to view 6.1.1 ("your office may have a security certificate not approved")

    Hello guys,.

    We are facing a very strange problem with Blast after the upgrade to view 6.1.1. Let me show you the scenario:

    We have two security servers (paired with two servers connection).

    On both servers security (and on the servers of connection), the default self-signed certificate is used.

    Secure Tunnel, PCoIP Secure Gateway and Secure Gateway Blast are activated.

    Users access it from internet via Netscaler which balance the traffic load and present a trusted signed certificate.

    For now I won't go in deeper into the Netscaler configuration, as it was working fine.

    We were on view Horizon 5.2 and everything worked fine! ...

    After the upgrade to view 6.1.1 we are unable to connect using the web browser! We can open a session and select the desktop, but as soon as the connection to the desktop is launched, we receive the following error message:

    "Your Office has been disconnected.

    Try to reconnect to the office...

    Your office can have an untrusted security certificate. Click here to accept the security certificate, then try to connect to your desktop again. »

    error.png

    If we click on the link, we are redirected to something like https://Blast_External_URL:8443/r/F386565D-D068-4AC1-BFD3-3A903CBEB235/certAccept.html , receiving a blank page with the following text:

    "Could not resolve the route of proxy for the request.

    Just before the upgrade, we have been able to use the HTML Protocol! We have does no change at all, so I really think it's related to some changes introduced by the new version of Horizon view, but may not know what is causing the problem.

    No problem connecting with the customer to view Horizon (PCoIP and RDP).

    If in the external URL Blast Secure Gateway, we insert the hostname of the server security instead of the external URL (Netscaler), we are able to connect but of course only from our local network.

    Someone at - it ideas?

    Thank you.

    Hi Calyps0Craig,

    Yes, I found a solution for this. In our case the issue was resolved by changing the configuration of Netscaler.

    In the past, we use SSL offloading and worked all protocols. It seems that with the new version of view SSL offloading does more work.

    Change the Service and virtual server on ports 443 and 8443 for SSL to SSL_BRIDGE solved our problem.

    Hope this will help you.

    Best regards

    Claudio

  • How to focus the tabs in Safari with AppleScript and avoid opening new

    Tell application "system events".

    activate an application "Safari".

    key code 19 using the command to cmd - down 2 opened a second tab or activate it so open

    Open the location "http://example.com".

    tell the end

    It works fine as long as one of them are real

    1. the 2nd tab does not exist yet in this case it will be the 2nd tab and open the url in this place. Or...

    2 If the 2nd tab already exists, it will launch the 2nd tab and reload the page until the 2nd tab is already at the location of Web site, we want to be.

    But if you say 2 or more tabs open and you run this, if the 2nd tab the DSI not already on the url, you want it to be it will activate the 2nd tab and then open the location of the site in a new tab.

    What I want is something like

    Code 19 - key using the command down

    Set the location of the active tab for the 1 in safari request to "http://example.com".

    But this obviously doesn't work. So, how can I know Safari to use only the tabs that I said rather than open new ones every time?

    Hello

    To set the focus to a tab: use the "class" property of the window tab.

    To open a URL: use the URL property of the tab instead of the command "open location".

    As this script:

    -------

    set theUrl to "http://example.com".

    Tell application "Safari".

    otherwise (there is an active tab from the front window) and then make new document - if no window

    the window before saying

    If (count the tabs) = 1 then - open URL in new tab

    set the active tab (to make the new tag at the end of the tabs with properties {URL: theUrl})

    -2 or more tabs

    the current value of the tab 2 - the second tab of the focus

    the value URL of the tab current theUrl - change the URL of the second tab

    end if

    tell the end

    tell the end

    -------

  • MacBook pro timeout to try to connect with Apple ID

    Hello everyone

    yesterday, I noticed that Messages in my mac pro (mid-2009, yosemite os 10.10.5) book were not synced with my iPhone, so I re-taped login and password but it is run out of time and showed a message like "unable to connect, try again." So I went through browser and successfully connected with the same IDApple and changed the password. IPhone asked me a new password and I put the new login name perfectly, and in Iphone app works perfectly (app store, Imessage, etc.); via a browser, I can connect perfectly, while Mac, it is still impossible to connect with applications that require an Apple ID (AppStore, facetime, messages).
    I also noticed that my clock does not auto adjust by selecting all servers. I put manually a medieval time and select a 'auto adjust' with the servers but nothing has changed. The Mail also cannot sync with Gmail.

    I tried to open the preferences/account to manage the password and things, but it freezes without giving me any key band.
    So I tried to restart and update the Pram, SMC, repaired permissions, tried to disconnect the battery and turn on the mac: the clock was created at the beginning of the time and can not auto-set at the right time.

    Might depend on some files in preference somewhere - but I have something strange has not changed from one day to the other - or maybe the battery from the motherboard? (is there a battery of motherboard in my mac?)
    I really thank you for any help

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    The title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    Click on the clear view icon in the toolbar. Then take an action that does not work the way you expect. Select all of the lines that appear in the Console window. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name or e-mail address, can appear in the log. Anonymize before posting.

    When you post the journal excerpt, an error message may appear on the web page: "you include content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • HP Pavilion Notebook-15-p108tx: problem connecting with specific programs

    Hi, I had problems connecting with specific programs recently. I'm still able to communicate online through web browsers. Mozilla Firefox works fine, but Google Chrome still has some problems loading of specific pages or they don't load at all. The main programs I am having difficulties with are mainly games platform programs like Steam, Battle.net, and League of Legends, and I'm unable to go online or to connect to their servers.

    I never had no problem connecting like these last two years that I've owned my laptop, until recently. I think it was the 6th or 7th of may these problems started.

    I updated my drivers and was constantly check to download the most recent. I don't know if it's my internet provider, but I was also constantly check the State of the network to ensure that the services are very good.

    If anyone else has this problem and if there are any suggestions that you think could help solve this problem, it would be appreciated.

    Thank you

    Jasper

    Hi Jasper,.

    Thank you for the update. I think that your computer have a rootkit infection. Most of them were inside of the Chrome Extensions.

    Here's what you need to do.

    Open chrome

    Click on the Menu bar in the upper right

    Click more tools

    Click Extensions

    Please search for suspicious extensions that does not belong to the computer, especially ads. Once you identified, simply click the trash can icon then Chrome close then reopen it again to see if you can connect to your desired game. If this isn't the case, then proceed as follows.

    Manual removal of suspicious files (if you are uncomfortable with it. If this is not the case, then run System Restore from safe mode with command prompt)

    Manual removal (I miss the old days of MS virus removal )

    Go to RUN type %temp% , and then delete all folders by pressing SHIFT + DELETE

    Go to Control Panel and then locate all the apps that you think a form of ads

    Go to safe mode with network. Run Malwarebytes in that State

    Then run Tweaking tool to fix everything that has changed since your computer

    http://www.Tweaking.com/files/setups/Tweaking.com_windows_repair_aio_setup.exe

    If your not comfortable with the troubleshooting steps may perform the system restore on the day, it was working fine.

  • Unable to connect with the MIFI device.

    I have a Verizon Jetpack 890 L mifi device and an older model Dell laptop that is wireless. After spending two hours on the phone with Verizon, finally got the correct IP address for the device to 'connect' with the computer. The States of the computer it is connected to the device, but the device shows that it of just nothing connected to it, have tested the device with a phone and the Xbox and the two front showed connected and functioning with the device. But the computer does not connect to the internet. Help, please!

    The message "the network password needs to be 40bits or 104bits depending on your network configuration. "This may be criteria such as 5 or 13 ascii characters or 10 or 26 hexadecimal characters" means that the system used encryption is WEP (instead of WPA or WPA2).  Although it is the lowest available wireless security, now that I think about it, I'm a little surprised that the mifi comes with a wireless security is enabled.

    There are at least 3 different "passwords" potentially used by your device.

    1. There may be a password that allows the device to connect to cellular service.  As far as I can tell from the manual, it is a "PIN code" that may or may not be required by your cell carrier (i.e., Verizon).  See page 15.

    2. There is a password that gets access to the configuration of the mifi utility.  This is the password that is supposed to be printed on the back of the mifi AND displayed on the LCD when the mifi is turned on.

    3. There may be a password for encryption (or "network key") wireless as the wireless mifi and your computer is configured to use WEP, WPA or WPA2.

    The more I read the manual for this device, I am convinced that the default setting for wireless encryption is 'None' and the password on the back of the device #2 above.  On the other hand, I can't imagine how he could have set himself up for the WEP encryption.

    Here are my latest suggestions.

    1 reset the mifi to factory default.  Beside the decision-making when the power cord is connected is a small button.  With the power on, press and hold this button. The manual says only: "hold."  I would like to keep the button pressed for at least 20 seconds or until there is some indication on the screen that a reset has occurred. You will need a unfolded paperclip to press the button. See http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=50011#alt

    2. make sure that the battery is fully charged.

    3. turn on and confirm that the connection ('up' and 'arrows'), (e.g., 4 G LTE) service and the strength of the signal (bars) are turned on:

    4 wait about 10 seconds and then go to "View available wireless networks," find the one that matches your mifi (check to make sure that you do not have a neighbor with a mifi with a similar SSID) and click on connect.  You should NOT be asked for a password.

    5. open a web browser and enter the address 192.168.1.1 OR vz.hotspot in the address box and click GO.  You should see the following text:

    6. Enter the password of the sticker on the back of the mifi in the box and click on the button "Login".

    From there, you can follow the manual to configure wireless security settings.  Good luck.

  • Unable to establish a connection with IDM DB

    Hello
    I have a java code which updates user table in the staging table. His task in process adapter. Please help me find the error - I am not able to establish a connection with IDM DB. The error I get is 12/02/27 03:31:36 nameIDM of IT resources
    DEBUG, February 27, 2012 03:31:36, 767, [XELLERATE. API], class/method: tcITResourceInstanceOperationsBean/findITResourceInstances entered.
    DEBUG, February 27, 2012 03:31:36, 774, [XELLERATE. API], class/method: tcITResourceInstanceOperationsBean/findITResourceInstances to the left.
    ERROR, February 27, 2012 03:31:36, 778, [COM ROSS. IAM. IOM. GENERATEUSERATTRIBUTE], could not initialize: Thor.API.Exceptions.tcAPIException: index of the line out of bounds


    Here is the code:

    package com.ross.iam.oim;

    import java.sql.Statement;
    import java.sql.Connection;
    to import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.HashMap;
    Import Thor.API.tcResultSet;
    Import Thor.API.tcUtilityFactory;
    Import Thor.API.Exceptions.tcAPIException;
    Import Thor.API.Exceptions.tcColumnNotFoundException;
    Import Thor.API.Exceptions.tcITResourceNotFoundException;
    Import Thor.API.Operations.tcITResourceInstanceOperationsIntf;
    Import Thor.API.Operations.tcUserOperationsIntf;
    import com.thortech.util.logging.Logger;
    import com.thortech.xl.dataaccess.tcDataProvider;


    public class changeUsrEndDate {}
    Private static final Logger log = Logger.getLogger (GenerateUserAttribute.class.getName ());
    private tcUserOperationsIntf usrOps;
    private tcITResourceInstanceOperationsIntf moITResIntf = null;
    private String DBDatabaseName;
    private String DBDriver;
    private String DBUser;
    private String DBPassword;
    private String DBURL;
    Connection con = null;
    String itResourceName = null;

    public changeUsrEndDate()
    {
    }

    public changeUsrEndDate (dataProvider tcDataProvider, String itResourceName, String UserID, String Password, String DatabaseName, String URL, String Driver) bird Exception {}
    try {}
    String hashkey = null;
    Dim hashvalue = null;
    String itResourceName = null;
    this.usrOps = ((tcUserOperationsIntf) tcUtilityFactory.getUtility (dataProvider, "Thor.API.Operations.tcUserOperationsIntf"));
    this.moITResIntf = ((tcITResourceInstanceOperationsIntf) tcUtilityFactory.getUtility (dataProvider, "Thor.API.Operations.tcITResourceInstanceOperationsIntf"));
    HashMap itResNameMap = new HashMap();

    itResNameMap.put ("TI Resources.Name", itResourceName);
    System.out.println ("Name of the resource IT" + itResourceName);
    tcResultSet itResourceRes = (itResNameMap) this.moITResIntf.findITResourceInstances;
    itResourceRes.goToRow (0);
    long itResKey = itResourceRes.getLongValue ("TI Resources.Key");
    System.out.println ("it resource key" + itResKey);
    HashMap itResKeyValueMap = new HashMap();
    tcResultSet itResKeyValue = (itResKey) this.moITResIntf.getITResourceInstanceParameters;
    System.out.println ("Value of the IT resource" + itResKeyValue);
    rowCount int = itResKeyValue.getRowCount ();
    for (int j = 0; j < rowCount; j ++) {}
    itResKeyValue.goToRow (j);
    System.out.println ("row" + j);
    hashkey = itResKeyValue.getStringValue ("IT Resource Type Definition.IT Type Parametr.Field resource name");
    HashValue = itResKeyValue.getStringValue ("IT resources Type parameter Value.Value");
    itResKeyValueMap.put (hashkey, hashvalue);
    }

    DBDatabaseName = ((String) itResKeyValueMap.get ("DatabaseName"));
    System.out.println ("DatabaseName" + DatabaseName);
    DBDriver = ((String) itResKeyValueMap.get ("Driver"));
    System.out.println ("Driver" + DBDriver);
    DBUser = ((String) itResKeyValueMap.get ("UserID"));
    System.out.println ("userid" + dbuser);
    DBPassword = ((String) itResKeyValueMap.get ("Password"));
    System.out.println ("password" + dbpassword);
    DBURL = ((String) itResKeyValueMap.get ('URL'));
    System.out.println ("URL" + DBURL);

    }
    catch (Exception e) {}
    log. Error ("failed to initialize the:" + e);
    }
    }

    public String usrRecords (String userEndDate, String ntLogonName) throws tcITResourceNotFoundException, tcAPIException
    {
    HashMap usrMap = new HashMap();
    Statement stmt = null;
    Instruction stmt1 = null;
    ResultSet results = null;
    ResultSet results 1 = null;
    ResultSet 2 = null;
    String result = null;
    usrMap.put ("USR_END_DATE", userEndDate);
    System.out.println ("end user date" + userEndDate);
    usrMap.put ("USR_UDF_NTLOGON", ntLogonName);
    System.out.println ("ntlogon username" + ntLogonName);
    try {}
    System.out.println ("before the get connection" + con);
    con = getConnection().
    System.out.println ("get connection" + con);
    results = stmt.executeQuery ("select * from ud_co_extn_q where udf_extn_ntlogon ='" + ntLogonName + "' and udf_extn_extended IS NULL");
    While (results.next ()) {}
    System.out.println ("inside any block");
    Results 1 = (stmt1) .executeQuery ("select USR_END_DATE from usr where udf_extn_ntlogon ='" + ntLogonName + "'");
    2 = (stmt1) .executeQuery ("update ud_co_extn_q set udf_extn_extended =" + userEndDate + "where udf_extn_ntlogon ='" + ntLogonName + "'");
    }
    }
    catch (SQLException to) {}
    log. Error ("Exception occurred - SQL Exception:" + se.getMessage ());
    se.printStackTrace ();
    log. Debug ("cleanup of resources DB");
    try {}
    Results.Close ();
    results2. Close();
    If (stmt! = null)
    stmt. Close();
    If (this.con! = null)
    This.con.Close ();
    } catch (SQLException ex) {}
    log. Error ("an error occurred during the cleanup of resources DB" + ex.getMessage ());
    }
    } return result;
    }

    Private connection getConnection () throws SQLException
    {
    Try
    {
    Class.forName (DBDriver) .newInstance ();
    } catch (InstantiationException e) {}
    } catch (IllegalAccessException e) {}
    } catch (ClassNotFoundException e) {}
    }

    Connection con = (Connection) DriverManager.getConnection (DBURL, DBUser, DBPassword);
    con.setAutoCommit (true);
    return con;
    }


    }



    Please suggest if anyone were facing a similar situation.


    Thank you
    Kalpana.

    two things I noticed here

    1. you don't have createStatement() call before executeQuery
    2. you must use executeUpdate() instead of executeQuery()

    use as below
    Statement st = con.createStatement ();
    ResultSet rs = st.executeUpdate (query);

    IF you are using 10 g and am trying to update DB why not try below

    dataSet tcDataSet = new tcDataSet();
    dataProvider = getDataBase() tcDataProvider;
    String oneTimeQuery = "SELECT count (*) AS the account OF UGP.
    + ' WHERE UPPER (UGP_NAME) =' "+ group +" ' ";
    dataSet.setQuery (dataProvider, oneTimeQuery);
    dataSet.executeQuery ();

    Look below at the link to update the db in 10g
    update in tcDataSet query

    -nayan

  • Thunderbird 41.0 opens the default browser, but; does not open URLs

    This problem just started this week. links worked last week.
    I tried every difficulty anything remotely like what is online, all the stuff of network protocol, all add it on things, all the flaws of control... Simple problem. browser opens. URL clicked on does not seem to be passed to the default browser.
    Yes, I tried to change the browsers by default; same prob.

    Thanks in advance for your help,

    Mike
    HP Pavilion g7 - 2269wm
    AMD Quad - Core A8 - 4500M acceleration processor
    LED HD + BrightView screen diagonal 17.3 "
    Trinity Advanced Micro Devices, Inc. [AMD/ATI] [Radeon HD 7640G]
    HDMI Audio Controller Trinity Advanced Micro Devices, Inc. [AMD/ATI]
    Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
    HARD DRIVE 500 GB
    DVD A DS8A9SH
    6144 MB DDR3 SDRAM
    Optical drive DVD
    20140730 22:58-14.04.3 of Ubuntu LTS Tahr faithful OS
    3.13.0.71 - generic kernel x86_64 ext4

    Resolved: 20151203 14:00

    When you recheck applications by default, I found that she was set to Palemoon, which is my default browser, BUT; I've also seen subsequently appearing;
    Thunderbird Mail
    Firefox Web browser
    Chromimum Web browser
    Pale Moon browser

    He started to open URL immediately after selecting the Web Browser pale moon.
    I don't remember see Pale Moon browser in the list when I posted my question.

    Anyway, there is the solution...

    Mike

Maybe you are looking for