HTTPDemo (TCP and WAP2 Question)

Hey guys,.

I looked at the HTTPDemo and which could be exactly what I was looking for: to create a connection and to extract data from a Web site to include in my application. Now, I have discovered that the HTTPDemo is (\samples\com\rim\samples\device\httpdemo) connects to internet using the TCP method.

I read earlier that way to make the internet connection from 3rd party applications check first to connect WIFI, then to WAP2 and then for TCP (APN settings)...

Can someone show me how to change the TCP connection method for a WAP2 in the HTTPDemo connection? I'd be very happy of this since it's a hassle to specify APN for each device/carrier.

Thanks in advance!

javeC

You will find a sample of WAP2 here:

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

Tags: BlackBerry Developers

Similar Questions

  • DirectTCP and WAP2 mystery

    I'm trying different network transports.

    I have a server socket and server http which are accessible to the public.

    I can make a socket connection to my socket server using mds and wifi. In such cases, the url that I use are 1) deviceside = false (for mds) and 2) interface = wifi (for wireless). I can also make a http get request to my server http successfully.

    This is where my problem begins. I try to make a direct tcp and wap2 connection using a socket. For the url, I used 1) deviceside = true (for direct tcp); and (2) deviceside = true; ConnectionUID = trans WAP2 (wap2 - wap2 trans is derived using my service book).

    Connections did not work. The error I get is

    java.io.IOException: Timed out

    Second, I tried to play with the URL. For direct tcp, I added "deviceside=true;apn=wap.cingular;[email protected];tunnelauthpassword=CINGULAR1" which is what I have in my TCP settings.

    I still have the same error.

    java.io.IOException: Timed out

    Then I tried to put a fake apn information to see if apn info I put is really used. This time the error I get is different:

    java.io.IOException: Tunnel failed

    So I guess that my original apn is correct and used during the connection because I don't get a different error that the Tunnel did not.

    Mysteriously, when I tried to make http connections to my http server using direct tcp and wap2 using the same url (of course I used the http:// instead of socket: / /), and then I reached my http server successfully.

    Finally, I have a third part application who mysteriously work without wifi or bes. So I guess he can do direct tcp or wap2 connections on my phone (of course, except if it uses BIS - I dunno how to check without asking the third part of the writers of the app and without a tool like wireshark to monitor network traffic to see what happens).

    My phone is BlackBerry "BOLD". I use AT & T. I'm in California.

    Now, you make no sense of this problem?

    How is it possible to make connections http using direct tcp and wap2, but NOT the socket connections?

    It plans various telephone activation http but not taken? and if there is, how do I know what mine is? AT & T call center people do not seem to know a lot about that kind of stuff. Is there a manual way or programming to check this? The third-party application seem to work well without BES and WiFi.

    Is there a way to monitor traffic from my phone? I really want to know what the url uses the third-party application to make the connection work.

    I appreciate all help.

    The obvious place to find a problem here is the choice of the port of socket.  However, I assume that you have already done this.

    However I suggest you try mocking up an in the form of bytes http GET request and just send it via a socket connection to port 80 of your Web server.  Your web server responds with the target page.  This should work and will show that the problem is specific port.  If it doesn't work, then the problem is with the socket connection, but I don't see how this could be possible.

    If you want to publish or send me the URL associated to the WebService and taken, I'll use a BB test utility I have here to test with it, on the WAP and direct TCP.

    Finally, did you see this?

    What is - Network Diagnostic tool
    Article number: DB-00684

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

  • TCPWARE instead of TCP and SQL * NET compatibility

    I use an oracle on VMS client, that connects to a base of oracle 11G windows on server 1.
    Everything works fine.

    2A TCPware server instead of TCP and while we compatabilities verfied for this product, when I
    set up I get the wonder 12154 TNS could not resolve the connect identifier.


    The customer Oracle on both servers are 10.2.0.2.0 and the database is 11 GR 1 material. As previously stated,
    Server there is no connection problem persists...

    my connection is made

    sqlplus/nolog
    connect sys/tester09@devorcl as sysdba
    devorcl is the machine of 11G.

    Any idea what might be different with the TCPWARE product? or how to test? I added a trace
    My sqlnet.ora file and nothing doesn't happen.

    ORA-12154 is a very basic problem, it means that what he says... "could not resolve identifier of connection...". Protocol of questions, if there is, come later.

    /*
    ORA-12154: TNS: could not resolve the specified connection Cause identifier: a connection to a database or other service has been requested using a login name, and the specified connection identifier could not be resolved into a connect descriptor using one of the configured naming methods. For example, if the type of connection identifier used was a network service name then the network service name is not found in a naming method repository, or the repository impossible located or reached.
    Action:
    -If you are using local naming (TNSNAMES. ORA file):

    S ' ensure that "TNSNAMES" is cited as one of the values of the NAMES. DIRECTORY_PATH parameter in the profile Oracle Net (SQLNET. ORA)

    -Check that a TNSNAMES file. ORA file exists and is in the appropriate directory and is accessible.

    -Check that the network service name used as the connect identifier exists in the TNSNAMES file. ORA file.

    -Make sure that there are no errors of syntax anywhere in the TNSNAMES file. ORA file. Search for unmatched parentheses or stray characters. Errors in a TNSNAMES file. ORA file can make it unusable.

    -If you use the directory naming:

    -Check that "LDAP" is one of the values of the NAMES. DIRETORY_PATH parameter in the profile Oracle Net (SQLNET. ORA).

    -Check that the LDAP directory server is in place and be accessible.

    -Check that the net service name or the database name as an identifier of connection is configured in the directory.

    -Check that the default context used is correct by specifying a full network service name or a unique display name of LDAP as the identifier of connection

    -If you use easy connect naming:

    -Check that "EZCONNECT" is one of the values of the NAMES. DIRETORY_PATH parameter in the profile Oracle Net (SQLNET. ORA).

    -Make sure that the host name, port and service specified are correct.

    -Try putting the identifier of connection between quotation marks. See the Oracle Net Services Administrator's Guide or the specific guide to the Oracle operating system for more information on naming.
    */

    Ensure connect you identifier "devorcl" can be solved on server 2. I'm not familiar with the virtual computers, so I don't know how to build an appropriate environment sqlnet. At least I know it's possible to connect virtual computers on any other platform.

    Werner

  • I recently dropped my laptop and it is weird, one day he int open up to 4 start times and sometimes it shows me a folder and a question mark in the interface and sometimes asked to reset my password, what are the steps to take?

    I recently dropped my laptop and it is weird, one day he int open up to 4 start times and sometimes it shows me a folder and a question mark in the interface and sometimes asked to reset my password, what are the steps to take?

    Anything can be corrupted on your MacBook Pro, but from what you say, it seems that the cable drive/SSD/flash memory/SATA hard was seriously damaged. Him "question mark" means that your Mac is unable to find any bootable device, meaning that it does not yet detect your OS X drive.

    You should make a backup of your files (if you can still do it) and take the Mac at the Apple Store or dealer to get a diagnosis. There may be several damaged parts.

  • Satellite L30-115 - deleted TCP and FTP packets

    Hi all

    I have a Toshiba Satellite L30-115 and a DSL connection. I have a problem with my laptop running Win XP SP2 with AVG anti-virus.

    TCP and FTP packets are systematically deleted by Firewall setting or my system. I tried these tools that rewrite the registry entries for the TCP/IP protocol in Windows XP, but nothing seems to fix. Everything that affects the TCP fails systematically:
    [My browser tells me that the connection was reset during any process, AVG says automatic updates failure but 1] I always got ping www.yahoo.fr and strangest of all, Skype connects properly (likely because it uses another protocol and also because it is in the exception list from my firewall).
    Here is that I only have the native Win XP firewall and not others (license AVG, I've got is only to protect web, mail and virus).

    Another thing is that the problem persists even when I turn off the firewall or if I play around with the settings.

    Help, please.

    Didier

    Hello

    Check this short work around:
    Start the CMS (control console)
    Then type this command: * ipconfig / renew *.

  • How to recover the forgotten password if you have forgotten your password for the alternative account and the question secret

    Hi, I am unable to access my account of * address email is removed from the privacy *. I really need to return as soon as possible because I have a lot of important issues and contacts inside...

    Thank you!

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Kindly unblock my account that I don't remember my email and Security Question.

    Kindly unblock my account that I don't remember my email and Security Question.

    I received important emails in the account. He has been blocked it for a month now.

    Kindly unblock as soon as POSSIBLE.

    I'll be very grateful.

    Thank you.

    Hello

    If you are referring to a Hotmail account, read this

    I'm sorry, but we cannot help with hotmail problems in Microsoft answers Feedback Forum you send to

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • I forgot my password and secret question

    I firgot my password and my question secret, help me please

    Hi TUNCAYTUNCAY,

    ·          You are Ref Err by Windows password or password any program?

    See the link below to learn more about Microsoft support for forgotten passwords.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-security/keeping-passwords-secure-Microsoft-policy-on/024dd682-b3a4-4EA8-8E71-8e4892092a5e

  • WinXPsysytem: The upgrade and have questions

    Have a dell e521 that I train and some questions.  Have already updated to 3 GB of memory on x 86 operating system.  Bios version active what 1.1.6 4/7/2007.  Have checked Dells site and they offer a version of bios 1.1.11 released on 04/09/2007.  Having checked their previous versions and mine is not yet in there.  Don't know if I should go with the 1.1.11 version or stick with what is on mine, any suggestions?  Also, I put in a 500 GB seagate HDD.  Have a 80 GB drive there now which is pretty maxed out.  Playing with the idea to put xp pro on the 80 GB and using the programs and storage 500 GB.  I would like to know if it's a good idea or not!  Could use pointers and how much others who have more experience I have of course on my best options for installation.  for performance and features.  Thank you in advance, Ron.

    It's sad to say, you should probably have spent your money on a new computer rather than on the RAM and a new hard drive.  Windows XP (you posted in a forum of Windows XP, that's what I assume you have) will be supported is no longer starting in April 2014. This means no more security updates and therefore increases the vulnerability to malware.

    That said, your system now-updated can probably support Windows 7. You must run the Windows 7 Upgrade Advisor to check the remaining material.

    As you say, Dell does not list the intervening versions of BIOS with 1.1.4, 1.1.10, so unless someone at Dell or in the Dell forums can tell you what "improvements" in your version or with your version 1.1.10, you have no way of determining that. Based on omissions, I think there were only minor changes in these versions.

    Normally, I would leave the BIOS alone.  Note, however, that Dell "recommends" 1.1.10 be installed because
    The update contains improvements or changes that will keep your system current and compatible with other system modules (firmware, BIOS, drivers and software) software.
    If you want to stick with XP, I would leave the BIOS alone. If you want to install Windows 7 (assuming that there are Windows 7 drivers for all your hardware), I would Setup 1.1.11.  Be sure to read and follow instructions carefully.

    BTW, it's a little surprising that you only have a 80 GB drive.  CNET review of the Dimension E521 said he came with a 320 GB drive.

  • Stop listening tcp and tcp read

    Hi all

    If I use tcp and tcp listening read blocks with a time of judgment-1, how to prevent their execution if they are waiting for incoming connection or data?

    The read block tcp is in a while loop and the State of the stop button is not evaluated, because the reading block is pending.

    can someone tell me a solution compatible with the S-RIO target device problem?

    Thank you

    Hi giac82,

    I know you want to just close the server. You can create your own connection to the listener. You need another loop for it.

    See the attached picture. This is only a small example. You can do more complex to react on the different statuses.

    Mike

  • How can I change my HTTPS thing, so it isn't always pop up and ask questions about the sites Web secure when I play some games?

    Feel free to change the title

    How can I change my HTTPS thing, so it isn't always pop up and ask questions about the sites Web secure when I play some games?

    You're talking about Facebook?

    Try the gyration of the Secure Browsing

    http://www.Facebook.com/help?page=1079

  • How do you get access to your computer when you forgot your password and hint question

    My mother did not use his computer for a while and forgot his password and hint question. Is there anyway to get into the computer without them? She has a Toshiba laptop with Windows Vista installed on it.  Thank you.

    Hello

    I'm sorry, but the strategy of microsoft in these forums is that without assistance will be given about lost or forgotten passwords

    read the policy at the link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/keeping-passwords-secure-Microsoft-policy-on/a5839e41-b80e-48c9-9d46-414bc8a8d9d4

    I suggest you reinstall vista

  • Windows 7 64 - bit open TCP and UDP ports

    Well im clearly online but when I open original (battlefield 3) that it says im offline, so I spoke with the original technology and they gave me 2 hours of bs to do and then he said that I had to open the ports and they sent me a link for 32 bit windows (https://help.ea.com/article/opening-tcp-or-udp-ports-for-connection-issues.) I told them I did not 'my network places' and they didn't know why... I told them it was 64-bit another 5 - 6 times and they kept on trying to make me do the 32-bit installation. idk why. but in any case, I searched google and could not find an answer that is not covered in random bs or my 64-bit windows did not have this which is suppose to be on the list.

    Step 3 is not there? I got a list or change the settings of the licensed features... He didn't add the port!

    for example

    Method 2: Configure your system to allow access to the game servers. The firewall or the router must allow unrestricted communication on TCP and UDP Port number 3724. World of Warcraft (WoW) game client uses TCP whereas Voice Chat features use UDP. To open a port in Windows Firewall:

    1. open the Windows Firewall by clicking Start , clicking Control Panel, clicking Security, and then clicking on Windows Firewall.

    2. click allow a program through Windows Firewall.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. click on the port of Add. {THIS ISN'T ON MY PC}

    4. in the name box, type a name that will help you remember what the port is used.

    5. in the Port number box, type the port number IE 3724

    6. click on TCP or UDP, depending on the Protocol.

    7. to change the scope of the port, click Change scope, and then click the option that you want to use. ("Scope" refers to the set of computers that can use this port opening).

    So im hoping you guys can link me to a up to this way to change the ports that will be on my windows 7 64 bit

    Hi Fostard,

    If I understand well you face any problem with not able to connect to the internet.

    I understand that it must be frustrating, but don't worry, we are here to help solve the problem and guide you in the right direction.

    You can go through the steps from the link and check if it helps.

    Hope this information was helpful and let us know if you need more assistance. We will be happy to help you.

  • Is there a way to group TCP and UDP services?

    Hello

    We are doing a migration of some firewalls Checkpoint to PIX 7.x. The ASDM has evolved enormously since PDM on 6.x, and I'm starting to think it might be useful to use, compared to the CLI.

    But one thing that we noticed: Checkpoint has a handy feature that allows the creation of 'service groups' which can have all TCP and UDP services.

    This makes it easy to read Checkpoint modules. On the PIX now, where his was necessary to have the udp and tcp protocols allowed to a destination, I had to create 2 separate acl for udp, TCP.

    Anyone know of a way to unite the tcp and udp together in a group? I feel that the answer is no, as long as it is not possible in the CLI and the ASDM is, in my opinion, just a 'display' CLI.

    TIA-

    Gary

    Hello.. of course, you can use the object group service command (I don't remember h: to do from the graphical interface as I don't have it in front of me right now). You c a group of udp ports, tcp or tcp and udp ports so very similar to the way in which you can do control point.

    object-group

    To define groups of objects that you can use to optimize your configuration, use the object-group command

    in global configuration mode. No form of this command to delete groups of objects of the

    Configuration. This command supports IPv4 and IPv6 addresses.

    object-group {Protocol: network: icmp type} obj_grp_id

    No object-group {Protocol: network: icmp type} obj_grp_id

    object-group service obj_grp_id {tcp | udp: tcp - udp}

    I hope that helps... Rate if he does!

  • Drag and drop question - Desktop and USB

    Hello!!

    I have an Asus laptop that I bought in September with Windows 8 is installed. I saw drag and drop questions on desktop lately, and I'll provide you with a full run down of what past:

    1. this particular case, I wanted to save my mobile by copying and pasting all the files from my phone to a USB (USB Kingston).

    2. I selected all files, right click to copy, open the folder that I made in the USB for my phone content and do a right-click Paste.

    3. nothing's happened, Explorer seems to have frozen, so I opened the Task Manager and press end task, all closed and restarted my laptop.

    4. I have excluded that my phone was the issue. I was able to create a folder on my desktop and copy and paste all of the content of my phone in the folder on my desktop.

    5. I tried to copy and paste / drag and drop an image from my office to the flash drive. Explorer Windows freezes on the rise again.

    6. I tried another flash drive. Explorer Windows froze again.

    Apparently I'm unable to copy files ON a USB key, which makes the backup and backup of things a headache because Windows Explorer stops working every time.

    I am the only user of this laptop, and I don't know what is happening or what to do. Any help would be appreciated. Windows 8.1 upgrade would solve this problem?

    Hi Karthik,

    1. There is no error message.

    2. I tried earlier drag - move my documents to my flash drive and it works perfectly.

    I just tried again to drag and drop from my office to my flash drive and for some reason, it works again.

    I don't think that was with my flash drives, but with Windows Explorer itself. Nevertheless, it seems to have fixed itself somehow. Thank you very much for your help!

Maybe you are looking for

  • Skype - windows 8

    I recently purchased Toshiba laptop and it has windows 8 with already installed Skype, I hate this version of Skype, you can not set video screen when you want to speak to the microphone, in fact I don't know even how to fix anything, as I don't know

  • superposition of fusion problem

    I want just a text of white solid color simple (no color) on an image in grayscale overlay (U16). If I use the text overlay IMAQ to write the text and then use IMAQ merge Overlay, it will create a color image but for further treatment, I want image g

  • Activate the switch

    Hello I have a signal being played, I should activate another process, if there is no difference in the value of the last 100 measurements of the signal (say about 1% deviation). Can anyone help. Best regards Hannah

  • Need an example on labview Yokogawa 7651 VI

    Hi, very respected gurus: I'm a new type of labview, and now I need to use Yokogawa 7651 and Keithley 196 to I - V curve for the measurement of the resistance. IE, I need to tell my 7651 Yokogawa to produce a voltage sweep of volt-2 to 2 volts, the v

  • Missing restore points

    system is doesn't display any restore points?  Possible conflict with LapLink PCMover, also have Carbonite.  Any suggestions on getting to a previous Restore Point?