Direct TCP APN question

Hello

I recently created a blackberry application that consumes a web service using TCP direct to help our carrier APN. I discovered the AFN in this site: http://forums.pinstack.com/f24/tcp_apn_wap_gateway_and_port_carrier_settings-360/

However when I asked our tech support carrier, it does not seem to be aware of such a CAMERA. So I'm just confused as to who provides this APN. Is RIM who welcomes direct TCP APN as they do with BIS? And it seems to be free because I was inapplicable to such a service before using it. Hope someone can enlighten me on that.

Thank you
Sally

In my view, a number of carriers don't support direct TCP.  See for example:

http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&view=by_date_ascending&Messa...

Some of them also carry all traffic in France through this gateway is the traffic of a browser and they apply to their optimization to the source engine to reduce the data sent over the network.  It will screw you up if you wanted really want has been sent.

If you are WAP and TCP, I think you're going to cover the majority of cases.  This will tell you how to do WAP 2, without any intervention of the user:

What - in different ways to establish an HTTP connection or socket
Article number: DB-00396
http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

Tags: BlackBerry Developers

Similar Questions

  • Direct TCP and APN (Please Help)

    Hi, I recently published a music streaming application in the wild. In doing so, I was contacted by a number of international users (outside the U.S.) and was informed that they experience difficulty streaming the songs with my application. I did the fundamental duties that we all go when it's time to connect to our software to the outside world (read post from Peter, reverse engineered the diagnostics utility, watched the public domain HTTP connection factory), and I have it set on the use of a slightly modified version of the factory of HTTP connections in my code.

    It seems to work well enough for users in the United States (a few complaints side), but I'll have almost no success networks such as Telstra, Vodafone, Wind Mobile, etc. I've been Googling autour and heard some people mention that they need to connect through direct TCP with AFN customized to operate on some networks. Has anyone taken the approach of the course of credentials of the AFN and try them one at a time when everything else fails or is it a bad idea? I'd be better to manually enter an APN? I feel that direct TCP uses by default the AFN phone, so no credentials is specified. Is this true and if so, are they reliable these defautls?

    I talked to RIM mount on BIS - B; However, they indicated that it is not practical for my application because of the large amount of bandwidth it consumes. My feelings on the subject at this stage would be better characterized as desperate... Help, please.

    BlackBerry most have not all APN settings configured for direct TCP (or HTTP) under Options-> advanced-> APN. If you want your application to work over direct TCP you can ask your users to configure the APN settings to access the Internet (e.g., APN not = 'internet' and no user name or password for Vodafone UK).

    To make things worse, many users have data plans that do not have access to the Internet (which means non-BIS/BES) non-BlackBerry. In this case, there is no APN settings that make the direct TCP to work. You need to do your users to communicate with their provider and find our if they have Internet access non - BlackBerry and that AFN, they should use for this.

  • Settings of the AFN for a direct TCP (3G v.s. GPRS) connection

    Today, I read a lot of articles about the transportation options for the Blackberry network.

    I installed the Tool of Network Diagnostics on my device (BlackBerry 9300 v5.0).

    I'm Tournai on "Mobile network" and disabled the "WiFi". Therefore, my device must use the direct TCP (HTTP protocol) only.

    According to this article, for a cell TCP connection, we need to set up the APN settings, otherwise we will have 'Tunnel failed' error

    http://docs.BlackBerry.com/en/developers/deliverables/21128/Network_transport_options_1293321_11.jsp

    However, without specifying the AFN, I was still able to have labour Direct TCP (HTTP).

    I'm in New Zealand, I tested the Network Diagnostic tool with 2 dgree and vodafone sim cards. Two of them work properly. Two of them are 3 G networks

    However, a lot of people on the internet saying that if they do not specify the APN for GPRS or EDGE networks, they would get the error "failure of Tunnel.

    So, I had the impression that with 3G networks, don't need us to specify the APN.

    I don't know if that's okay?

    One of the really annoying things on the treatment on the Blackberry network is its inconsistency.  I think you've hit one of them.  I saw this in the past with Vodafone, I wasn't sure that this has happened with other networks but maybe so.

    The inconsistency is the following.

    If your connection URL looks like

    http://...; deviceside = true

    If you think that this will force the connection to use the carrier TCP aka Direct TCP.  However, on some phones of brands, including Vodafone, is not correct.  On these phones a connection as it goes actually on WAP.

    To force the direct TCP, you must follow the instructions in this post:

    http://supportforums.BlackBerry.com/T5/Java-development/Vodafone-UK-direct-TCP/m-p/463081#M92387

  • Is it possible to create a private for direct TCP transport?

    Hello!

    My application open BB browser to view a web page for users.

    It has KB doc 'How - to call the browser' on the way to do it.

    The doc says there are the following types of transport to choose:

    public static final int SERVICE_RECORD_CONFIG_TYPE_WAP  = 0;
    public static final int SERVICE_RECORD_CONFIG_TYPE_BES  = 1;
    public static final int SERVICE_RECORD_CONFIG_TYPE_WIFI = 3;
    public static final int SERVICE_RECORD_CONFIG_TYPE_BIS  = 4;
    public static final int SERVICE_RECORD_CONFIG_TYPE_WAP2 = 7;
    

    My question is how can I use direct TCP. There is probably a SERVICE_RECORD_CONFIG_DIRECT_TCP value?

    P. S.
    If I get just the default private in Browser.getDefaultSession (), on my Storm 9530 4.7.0 Simulator it uses transport BES/MDS.

    No, this is not supported.

  • BlackBerry Smartphones Direct TCP / IP BB9860

    Welcome.

    As this is my first post on the Board of Directors, I want to say hello.

    I have a little problem with my BB9860. I have a BB Bold 9900, and I liked the private use I bought 9860.
    My B9860 turned on but BIS had resigned from the service. BIS service is disabled, applications to be more wet 'news Onet"" "unit converter ' extracted from the data set to the ' Direct TCP / IP"do not receive data. Settings APN active and completed "THE Vodafone" I noticed that, after removing the battery weather and conventer onetime updates until August (I think) tries to get the mail, just after that nothing more to update and remove the PC to the battery. Someone has an idea?

    Thank you

    Hello and welcome to the forum.

    I don't know what you're asking. If you have BIS service is stopped for some reason any you will not be able to use the device. It is necessary to enter the unit.

    Call you carrier (Vodafone) because they will be in a much better position to help you.

  • Difference between direct TCP & WAP

    Hello

    I'm confused on the difference between 2 Protocol: direct TCP & WAP.

    What really happens for each protocol? What are the differences?

    (Of course the connection string for OpenConection is difference but what the architecture of the network)?

    How does WAP support roaming is not the case for direct TCP?

    Thank you

    Hai

    Ah. If I have understood correctly, you're asking about TCP and WAP as technologies, not on the programming for them.

    I recommend you to read wapforum.org technical WAP white paper to learn more about WAP technology.

    WAP is more than a communications architecture, involving several layers of the OSI model. It defines the protocols at the transport level application; It does not have the network, linking of data or physical layers. Analogue to the TCP WAP worldwide is WTP - Wireless Transaction Protocol. Similarly, WML - Wireless Markup Language - is the equivalent in WAP in HTML format. WAP 2.0 introduced the TCP, IP, and HTTP protocols to WAP.

    Carriers have invested heavily in technology WAP and generally provide strong support throughout their networks. He can't even for TCP/IP directly (although it seems change quickly).

    There is nothing inherent TCP that prevents homelessness; in fact, it has been around for years. My impression is that carriers have just does a better job of integration WAP cellular technology.

    Also, I believe that it can be added cost of data to users for direct TCP using compared to WAP 2.0.

    The sticky thread by Peter Strange looks at some of this. Others on this forum are better informed of what I am and I hope that they will quickly correct any inaccuracies and also provide you with a better answer.

  • Conntecting to webservice using wifi and direct tcp

    Hello

    I am trying to connect to a Web service using ksoap2. How can I connect using wifi and direct tcp? I am able to open a socket connection, but problems using wifi. Any ideas?

    Thank you!

    Kind regards

    M.

    You have the wifi interface parameter in your URL?

    See this knowledge base article:

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

  • TCP/IP questions

    Hi all

    I was wondering if it is necessary to close the TCP/IP connection after that an error (for example lost connection) had taken place. -Is it ok if I just to reopen another connection at the same IP address and the port without closing the existing connection (in this respect that the error had been made)? This will lead to all the conflicts in my program?

    Is another question, is it possible to query the address IP of a device is connected to my computer?

    Thank you.


  • Connection Wi - Fi, direct tcp/ip with the internal IP address

    Hi all

    I hope that someone has been able to do successfully before and knows the answer we've been beating our heads for days on it.  We have read the publication on the wireless Internet, as well as the other threads and tried various implementations without success.

    We strive to open a tcp /ip via the wifi connection to an internal ip address. for example. 192.168.1.99. inevitably the tunnel connection times out.  We tried interface = wifi, deviceside settings, and a combination of two of them.  Of course, they work the Simulator because the Simulator uses the connection IP has the development machine but when we try on a device, the connection times out.

    No one knows the correct way to work to open a connection directly from a particular device;

    (1) the parameters of the call real connector

    (2) settings on the phone. for example, "BOLD" to ensure that it can access the network internal

    Thank you very much

    Resolved - found the problem.  If you put a semicolon at the end of the list of parameters in the url such as:

    "socket://192.168.1.99:3000; interface = wifi; ConnectionTimeout = 15000; »

    This will not return an error or an exception of the Simulator or device but do not do what you expect.  It uses no wifi.  Blackberry setting in this Analyzer does not take into account all the parameters and tries to open the socket with no parameters and thus do not.

    This can be particularly troublesome if you add the parameters programmatically.  There should be an exception that is thrown as invalid or another parameter list, but there isn't.

  • direct tcp socket connection over wifi

    Hi people,

    I am trying to establish a direct connection over wifi with the last 4.7.0 JDE, Simulator tests (9530) and my bb Bold. I am trying to connect with a code similar to the following:

    import javax.microedition.io.Connector;import javax.microedition.io.StreamConnection;
    
    String URL = "socket://192.168.1.88:31339;interface=wifi;deviceside=true";
    
    connection = (StreamConnection)Connector.open(URL);
    

    But I'm not having any luck. I have that (to reading the documentation) this interface addition = wifi & deviceside = true for the connection string was all it takes. Am I missing something obvious here?

    I presume that you have reviewed the video of transport network:

    http://www.BlackBerry.com/DevMediaLibrary/view.do?name=NetworkingTransports

    You'll find that a number of WiFi on the threads on this forum, which contain interesting information.  I suggest that consult you these.  There are others, but I think that your questions are answered in these.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=16000

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=898

  • BlackBerry with OS 4.6 v. Smartphones TCP/IP questions

    Greetings, all.

    Just got my 8900 yesterday evening, and so far I am very impressed indeed. Most of the applications I need have been immediately and readily available, the phone itself is intuitive and easy to use - a n00b experience all ' round. My problem is that I'm trying to get some third party clients SSH, FTP and SFTP works correctly. I'm tunneling of exceptions, which is apparently caused by a misconfigured APN.

    I tried to change the APN settings according to the instructions here (my carrier is Cincinnati Bell). Unfortunately, something seems to have changed in the meantime to publication of the article and the current operating system review: I'm more able to specify the gateway IP or port. While I can provide the url of the AFN and a username and password, which does not seem to be enough to fix my problems of tunneling.

    TL; DR: this application is saying "error in Session; ' Author: tunnel failed ". This is apparently caused by incorrectly configured connection details according to the here. The page of recommended solutions here pointing me here, which tells me to do something I can't do. On the one hand, the Options-> TCP seems to have been replaced with the Options-> advanced-> TCP/IP Options and seems to have had a few features removed. Recommended actions not caused no change in the behavior of the application.

    Ideas? Any help would be greatly appreciated.

    Thank you very much

    Chris Akins

    ... gremlins. It's the only explanation I can think. An hour and a half after changing the APN settings, it fixed itself. I guess that there is somewhere a little lag in the system somewhere.

    Regardless, it works now and thanks for the advice. I would not have found the BTSC earlier; Thanks a lot for pointing me at home. And I think I could hang out. It seems a friendly place.

    -Chris

  • TCP (EXAM QUESTION SOMEONE PLEASE CHECK).

    Design a TCP server to provide service on port 50601 review services. The server expect to read a message of N bytes with the following structure:

    Byte 0: length (u8)

    1:command (u8) bytes

    2... byte (N - 1) byte: bytes of data (u8)

    The first byte represents the message length (N).

    The second byte is the command byte.

    The remaining bytes are data bytes.i.e a sequence of codes representative u8 levied a 8bits analog digital converter.

    The server is as follows

    1 if the command byte is the code hex 0xAA, built server a waveform to convert the table of samples U8 (data bytes) to double (dbl) and scale to represent the voltage levels between 0v and 1 v.Assume for the waveform t0 present and dt = 1ms .the server plots samples and record the wavform to the file samples.txt.and send the RECORDED DATA to the customer response

    2. If the 1st byte is equal to the hexadecimal code 0xBB server builds, a waveform to convert the table of samples u8 (DATA BYTES) IN double (LDM) and sacling to represent the voltage level between 0v and 1v. THE SERVER calculates the maximum and the minimm and the avarage of samples received, show the result to the user in the fromt Panel.

    3. whenever a connection is closed, the server records the date, the time, the ip address of the remote client and the byte received (on an entitled server log text file)

    4. any error, the server jst responds the ERROR message or REQUEST MALFORMED and abandons the connection.


  • Window movie maker direct, mounting split question.

    Hey all,.

    Ive just started using wmml edited my home movies. The issue im having is after cutting my video to change the cut portion of the video will not play after ive downloaded. After Ive upload the video to my pc and play to watch in the media player, the video will play up to the part of split and just show a still of the video until the passage of the video split has passed, then after reading the video after splitting the video. That someone has an answer to this question... It drives me crazy...

    Thxs in advance...

    Yes, I found a convert and it works now my question is movie maker allow you to trim, I don't see a pad option if I shared my video of the game, I don't want is always there, I don't see an option pad. filmmaker seems simple enough, but I am not far from editing on the small details that I don't want in my video...

    Open Movie Maker > at the top, click Help > Help topics > scroll trim, reorganize and audio imported copy and video clipc > until it clicks > read and follow from there. Read "to split a clip" for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Direct TCP - Tunnel connection failure

    Yes, I already read a lot of discussions with the same problem, but unfortunally, I can't solve my problem.

    I tried all this URL

    String url = 'socket://url.com:80; deviceside = true; »

    String url = "socket://url.com:80; deviceside = true; NPA = apnumt.movistar.com.uy.

    and the last one also with "TunnelAuthUserName = movistar; TunnelAuthPassword = movistar.

    String url = 'socket://url.com:21; deviceside = true; »

    String url = 'socket://url.com:4444; deviceside = true; »

    Con StreamConnection = Connector.open (url) (StreamConnection);

    or

    String url = "http://url.com;deviceside=true;"

    String url = "http://url.com;deviceside=true;apn=apnumt.movistar.com.uy".

    and the last one also with "TunnelAuthUserName = movistar; TunnelAuthPassword = movistar.

    HttpConnection con = Connector.open (url) (HttpConnection)

    Yes, I also re-branded the apn, user & password in the options of my camera and I removed also.

    Yes, I hava a data plan and my browser work properly.

    I've always had "Tunnel fail."

    Yes, I hate blackberry.  :/

    EDIT: This can be a problem of my data plan?

    mmm...

    ConnectionFactory cf = new ConnectionFactory();
    ConnectionDescriptor cd = cf.getConnection("http://blackberry.com");
    final String url = cd.getURL();
    HttpConnection con = cd.getConnection();
    UiApplication.getUiApplication.invokeLater(new Runnable(){
              public void run(){
                     Dialog.alert(url);
              }
    });
    

    And printed to the console:

    http://blackberry.com;deviceside=true;ConnectionUID=WAP2 trans2
    

    So, this has been fixed, my browser use wap too.

  • Adobe Illustrator - direct selection tool - Question

    Hello community.

    I was watching a tutorial and practice on logo design and I ran into a problem on my end. I am sure this is a setting which is not enabled or maybe something I am doing wrong.

    The first image (image1.jpeg - black object) I understand the tutorial is. In it the person who gives the tutorial completely selects the object (two separate polygons; divorced by the way) and you will see white radial points appear on the corners of the two forms. He then produced click on the corners, he wants and every radial white disappear and only appears with selection of the corners he wants.

    The second photo (image2.jpeg - green object), I understand comes from my adobe Illustrator. In it, when I do the exact same steps as above radial white dials do not appear. In fact, only the anchor points of all edges appear only.

    Please advise on how to get the white radial dials to show. Please accept my apologies before hand so I didn't name anything correctly.

    -Isaiah, M.

    image1.jpgimage2.jpg

    It doesn't have to be a direct form. The widgets corner (as they are called) have been introduced in Illustrator CC and can be activated with a view > Show corner Widget.

Maybe you are looking for