My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

Hello

I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

I need to write a login code remote URL to achieve? If so, how?

So, how can I use this connection object to call the Web service from this URL remotely.

Please help me out of it...

Many thanks in advance...

What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..

loginButtonField.setChangeListener(new FieldChangeListener() {
            public void fieldChanged(Field paramField, int paramInt) {
                WaveServices.getAllCinemas();
            }
        });

Indeed, the question was raised and answered here:

http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

Tags: BlackBerry Developers

Similar Questions

  • How to connect to the IP address by using a string of Socket?

    I'm doing a TCP Flash of game, and although I got it to work, I can't seem to connect to an IP address by using a string. The reason why I want to do this is so that players can type in an IP address, that they want to connect.

    Here's what I have so far:

    Sock.Connect (('192.168.0.22', 8080);

    It works and connects to my IP address and no one else on the same local network can connect to it as well, but if the server is on ANOTHER computer in the House, this IP address would not work. This is why I want to be able to have a string type in the game.

    I tried this:

    var ipaddress:String = ' 192.168.0.22. "

    Sock.Connect (IPAddress, 8080);

    But it does not work. Any ideas? Thanks in advance.

    Something does not work.

    Sock.Connect (('192.168.0.22', 8080);

    var ipaddress:String = ' 192.168.0.22. "

    Sock.Connect (IPAddress, 8080);

    These are the equivalent instructions and connect takes a string of the intellectual property - it does not matter if you set the string in the connection itself, or before it don't.

  • using the KDL-46W700 how to connect to the wireless keyboard and wireless mouse

    Hello

    I use KDL-46W700 how to connect to the wireless keyboard and wireless mouse

    Unfortunately, you can not connect a keyboard wirelessly on your TV. Your TV will need a driver for this. Sad thing, it's impossible to install anything on the tv, which includes the driver for the external devices such as a wireless (except USB) keyboard... I recommend the SIDEVIEW TV application that has the remote control / function keyboard and mouse... this app is free and can be downloaded via Google Playstore... ^^.

  • How to connect to the server from VPN Windows Sever?

    Hey guys, I recently created my own VPN server to connect to my home network using Windows Server 2003. I know I probably still need to do this if I don't know what I have to do, but how to connect to the server, or at least set it up in order to be logged in? I think I got the computers communicating with each other, but I think that I am running into errors of authentication. Could someone point me in the right direction with regard to what I have to do what I already have Setup? Thanks in advance.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Need to know how to connect to the internet, anywhere

    Original title: internet connection on laptop

    10 years ago, I got a laptop and was able to connect to the internet anywhere I went. I don't remember how I was able to do it without a motem

     

    Hi Susan,.

     

    Thanks to join Microsoft Community where you will find all necessary information about the Windows operating systems.

    Want to know how to connect to the internet wherever you go.

    You can use USB dongles to connect to the Internet via a wireless connection.

    We need more information to help you better:

    What version of OS are you using?

    You can use your favorite search engine to search for USB dongles.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    You can also contact an Internet service provider for assistance.

    I hope this helps. If you need assistance or if you have problems of Windows in the future, let us know and we would be happy to help you.

  • How to connect to the database

    Hi all

    I use labsql (and quite new to him m) and the server Mysql 5.1.I wanted to know how to connect to the database without changing the name of the dsn from the tools administrative/ODBC 5.1 driver manually. I want to install exe in several PC and it would be a great help if I could make the connection directly but my Vi.

    I went through several forums and came to know that 'Provider = ProviderName; Data Source = DatabaseSource; Initial Catalog = DatabaseName; User = username ID; Password = password', should solve the problem. But where in my case I m still confused. The connection string above does not sit well with me.

    Can someone help me please.

    Have a look here, where I have such a picture to show how to form a string constant to connect to the database. Some subsequent posts in this thread should also be useful.

    Good luck!

    Ian

  • Replacement of native BB App with APK wrapped with the same ID

    We are faced with the question we would like to replace an already native BB app we already have in the store with a new APK whichn is now wrapped.

    We have two question:

    1. can I use the same ID with the wrapped APK

    2. it will work as an update the BB as users or they need download the app again?

    1 million thanks!

    See you soon

    It is possible.  Take a look at the following article, which explains this further.

    Upgrade of an Application using different languages

  • How to connect to the PC?

    I have problems connecting my crush to my computer. At first I thought it was the SD card, I bought at the store of the cell - I went and bought a new one, that does not work. I put both cards and reading the manual. However, when I insert my USB in my computer, I get a note saying: "the disk in drive E is not formatted. Format it now? "When I click on Yes - It then proceds to tell me to drive cannot be formatted. Now when I try to find my memory card - its completely gone! Help!

    chanondesirae

    Repeat the process of formatting your phone memory overwrite... Make sure that it is not connected to the USB cable

    See Crush online manual p. 48:...  Crush

    Tap Settings on the main screen you...

    Setting > memory > memory card > format card

    • Don't forget... so that the phone crush is connected to your computer via. USB, most of the functions of the phone do not work.
    • Phone crush also card does not appear in 'Settings' until the USB of the PC cable is disconnected

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Have you set the USB Mode mass storage on your Crush in definition... see pages 45 & 46 also in the manual to learn How to connect to the computer

    Post edited by: Poko... to include mass storage Mode information

  • Is it possible to read books Kindle app without being connected to the internet.

    Is it possible to read a book on a Microsoft Surface using the Kindle app without being connected to the internet?

    Hi Angela,.

    If you have downloaded books, you can read them offline. You will not be able to read books that are not downloaded. You can also contact the support of Kindle app for assistance: http://apps.microsoft.com/windows/en-ca/app/kindle/1d7e4396-0143-4aed-8892-84eb75e799f3

    See also:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_rt-Winapps/cant-read-Kindle-app-offline/b21e851f-ac57-4004-A30B-92cde11c0e89

    It will be useful. Back to us for any problem related to Windows. We will be happy to help you.

  • If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    Mr President

    If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    My two fields are FLOW AND DR_NAME

    FLOW = ACCT_ID

    DR_NAME = ACCT_NAME

    I created with success of LOV for these fields.

    First LOV gives acct_id in the debit field and second LOV gives the value of acct_name to dr_name.

    How can I report these lov, it's that when I change my acct_id then acct_name also change

    I have these two tables

    CREATE TABLE "NOM"  (
      "ACCT_ID" VARCHAR2(7) NOT NULL ENABLE, 
      "ACCT_NAME" VARCHAR2(50) NOT NULL ENABLE, 
      "O_BAL" NUMBER(13,2),
      CONSTRAINT NOM_PK PRIMARY KEY ("ACCT_ID")ENABLE
       
       );
    CREATE TABLE "VOUCHERDET" (
      "V_ID" VARCHAR2(9) NOT NULL ENABLE,
      "LINEITEM" NUMBER ,
      "DEBIT" VARCHAR2(7) , 
      "DR_NAME" VARCHAR2(50), 
      "CREDIT" VARCHAR2(7) , 
      "CR_NAME" VARCHAR2(50), 
      "PARTICULARS" VARCHAR2(100), 
      "AMOUNT" NUMBER(21,2),
    CONSTRAINT VOUCHERDET_PK PRIMARY KEY ("V_ID","LINEITEM")ENABLE, 
    CONSTRAINT PUR_SAL_LINE_POD_FK FOREIGN KEY(PROD_ID)
      REFERENCES PRODUCTS (PROD_ID)ENABLE,  
    CONSTRAINT VOUCHERDET_DEBIT_FK FOREIGN KEY ("DEBIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE, 
    CONSTRAINT VOUCHERDET_CREDIT_FK FOREIGN KEY ("CREDIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE,  
    CONSTRAINT VOUCHERDET_V_FK FOREIGN KEY ("V_ID")
       REFERENCES "VOUCHER" ("V_ID") ON DELETE CASCADE ENABLE
      );
    
    

    Concerning

    so, instead of this second ActId, choose ACCT_NAME:

  • How to connect to the server ESXI vSphere Client side WAN?

    How to connect to the server ESXI vSphere Client side WAN?

    through firewall

    I tried to open the ports 902 903, 443... and so on...

    and I tried several sites to find the solution but...

    nothing works...

    connectivity works on local network

    Help, please...

    Source Destination Port

    ESXI 443/TCP client

    ESXi 902/TCP client

    ESXi 902/TCP Client

    ESXi 902/UDP Client

    ESXi 903/TCP client

    Edit: Also check if the firewall ESXi all IP addresses are allowed to connect:

    Example:

    See attachment...

  • ON the app, how can I download the documents on the cloud for my iPad

    ON the app, how can I download the documents on the cloud for my iPad

    Hi secora47267766 ,

    In Acrobat Reader mobile App there is no option to download the PDF file of the cloud of the document on your device.

    However you can do this online via a web browser.

    Open this link https://cloud.acrobat.com/recent on iPad in the web browser, sign in using your Adobe ID & Document Cloud tab see you all the files downloaded, select it & download it to your device.

    Eventually you will be able to see the file downloaded in Acrobat Reader App mobile on the Local tab.

    Kind regards
    Nicos

  • How to connect to your Remote Server when you have a test server?

    Hello world

    UH..., on my site, I have a test server and a remote server defined in my Site Set UP window, when I test the remote server by clicking on 'test' in the basic window, it says 'connected successfully', but when I open the files window to connect to my remote server and transfer files, it is said "test server" on the left column (all files are in red) and when I click the icon "to connect to the remote host" it connects right on the test server and shows all the test server to the files in the left column.

    How to connect to the remote server so I can up load files? Thanks for your help.

    See screenshot of the expanded files Panel.  The remote server icon is to the left of the icon of the test server.

    Nancy O.

  • How to connect to the Essbase Server?

    This question may seem a little on the vague side - so apologies for that.

    From a point of view version 7 - the Essbase server interacts with the database server (where you load the data into Essbase of) through the defined system DSN & the TNS. But how a typical user connects to the Essbase server when using excel add to recover data?

    To expand a bit on this - in our environment, when a user attempts to recover data using excel add in - a box "Essbase system Login" initially appears, where the user enter the name of the essbase server used, with their own username and password. But to enter the name of the server - how excel add in physically know where to go to get data? Is there something else on the client computer where the server details are stored (ie the ip address) - a sort of equivalent DSN?

    Thanks in advance

    Excel add-in by using the functionality of the API to connect to Essbase server.

    http://download.Oracle.com/docs/CD/E12825_01/EPM.111/esb_apiref/frameset.htm?intro_overview.htm

    Same principle applies to all versions of Essbase

  • How to connect to the database that resides on the web server through blackberry application

    Hello

    I'm new to the Blackberry development. I want to develop an application that will get the values stored in a database on the server. And on the key event, it will again store the information in the database.

    I use Blackberry Java development environment Version: 4.2.0.98

    What should I do?

    To connect to the server, you can use HTTP or a sleeve. Search for HTTP and socket connection examples. Implementation depends on your condition.

    You can write in return of the application on the ground that can automatically syc.

Maybe you are looking for

  • iMac with new ssd showing nothing but the pointer and white screen

    Hello I'm trying to fix an old imac (2008), 20 ", the mac crashed hard drive so I installed an SSD and tried to use the start switch to start on my yosemite bootable installation usb. When I try this, start pressing the option key, rather than see th

  • Qosmio F60 - PQF65A-05E02W - BIOS update failed!

    G ' Day to all, As a favor to a friend, I have updated his laptop (model above) RAM (up to 8 GB) and its HARD for a 256 GB SSD drive. After physically installing new devices, restoring by using the recovery disk, upgrade to its Windows 7 x 64 profess

  • ePrint refused mail

    my email eprint (from my HP - Pavilion Windows7 64-bit for my Photosmart C310a) are being denied by e-mail-lb - cpg.austin.hp.com. What can I do (or HP there good resons to deny me...) The complete messafe in the answer reads: This Message was delive

  • to eject the CD/dvd drive

    I watched a dvd on my computer. Now, the disk won't work. I tried to hit the eject button on my computer, I tried going to computer, hit the button for the disc and then hitting eject. I also tried the thing of a paper clip. I've never had this probl

  • WHAT YOUR COMPUTER CAN RUN IF YOU HAVE BASIC NOTE 3.0?

    I have a Windows Vista Ultimate 32-bit, and it has a base score of 3.0. What to do to run?