WAP2 connection error: APN is not specified

Hi all

I hope you can help me with this problem. I have a storm that runs on the Vodafone network. I am trying to connect WAP2 and immediately, I got an ioexception

java.io.IOException: APN is not specified

I have read several post on WAP2 and I added to my url "deviceside = true; WAP2 = xxx' where

XXX = getWap2Uid();

My getWap2Uid() code is

public static String getWap2Uid() {}
       
Reviews [ServiceRecord] is ServiceBook.getSB () .findRecordsByCid ("WPTCP");.
for (int i = 0; i)< records.length;="">
{
ServiceRecord serviceRecord = records [i];
String recordName = serviceRecord.toString () .toUpperCase ();
If (serviceRecord.isValid () &! serviceRecord.isDisabled () &)
serviceRecord.getUid ()! null = & serviceRecord.getUid () .length ()! = 0 &&
recordName.indexOf("WAP2")! = - 1).
               
{
String uid = serviceRecord.getUid ();
EventLogger.logEvent (EventLogID, new String ("getWap2Uid, UID =" + uid) .getBytes ());
Returns the uid;
}
}
Returns a null value.
      
}

The event log from the print, I am able to see that xxx = WAP2 trans

I'd appreciate very much any help on this, because I'm totally stuck

The suffix should look like this:

« ; deviceside = true; ConnectionUID =' + uid;

Tags: BlackBerry Developers

Similar Questions

  • java.io.IOException: APN is not specified

    Hello

    I saw that this topic was opened at other times, but I don't know if I understand what I have to do.

    First of all, I got this code:

    String url1 = "www.myurl.com;

    con = (HttpConnection), Connector.open (url1).

    is = con.openInputStream ();

    But when I try it in my BB device, I got java.io.IOException: APN is not specified. (Try the code with the blackberry MDS services simmulators email in the works of eclipse Simulator)

    So, as I read somewhere there, I tried this code:

    TransportDetective td =new TransportDetective();

    if ( TransportDetective.isCoverageAvailable (TransportDetective. TRANSPORT_BIS_B) | TransportDetective.isCoverageAvailable (TransportDetective. TRANSPORT_MDS) | TransportDetective.isCoverageAvailable (TransportDetective. TRANSPORT_TCP_CELLULAR) | TransportDetective.isCoverageAvailable (TransportDetective. TRANSPORT_TCP_WIFI) | TransportDetective.isCoverageAvailable (TransportDetective. TRANSPORT_WAP) | TransportDetective.isCoverageAvailable (TransportDetective. TRANSPORT_WAP2))

    {

    String url2 = 'www.myurl.com;

    URLFactory urlFactory =new URLFactory(url2);

    final ServiceRecord defaultTCPSR = td.getDefaultTcpCellularServiceRecord ();

    final String connectionURL = urlFactory.getHttpDefaultTcpCellularUrl (defaultTCPSR);

    HttpConnection conn = (HttpConnection), Connector.open (connectionURL);

    }

    But when I paste in my code, I wonder to create classes of URLFactory and also TransportDetective.

    I looked on the net and I found codes for the class here: http://ecuadorblackberry.ec/?p=425

    But when I try, I get that td.getDefaultTcpCellularServiceRecord () returns a null value, so it does not work.

    The only thing I want, is to connect to a web service from my application, how can I do?

    Thank you

    Sorry one thing yet.

    You have discovered, you can specify the options of AFN directly on the URL.

    Because you are in Spain and will sell to people in Spain only, then you can check the network and provide the correct APN information for this network.  Watch RadioInfo.  You can use

    getCurrentNetworkName()

    and try to match the name, or

    getMNC (RadioInfo.getCurrentNetworkIndex ())

    and look for the associated MNC code and match from there.

    Once you know the network, you can specify the AFN on the URL.

    Who help me?

  • BlackBerry Smartphones APN is not specified

    Hey all. I am presented with a weird problem with the App World in my bold 9700. Sometimes when I try to open App world I get the error:

    APN is not specified

    However sometimes restart the phone works and sometimes it doesn't. Has something to do with the availability of the mobile network or it is exclusively a question of APP World?

    Any light on the matter would be greatly appreciated!

    My phone: Bold 9700

    Carrier: Orange UK with interent plan unlimited blackberry

    Concerning

    Ash

    Hello JSanders! After a lot of chit chat with the Orange (UK) support, they were able to set the APN settings. The parameters are the following:

    The APN settings must be enabled.

    APN authentication box must be ticked.

    APN: orangeinternet

    User name: user

    Password: pass

    Would be a lot of help to the people, if the list of the APN settings have been updated to include as well the Orange (UK).

    Concerning

    Ash

  • B210A Photosmart - server connection error and does not connect to the wireless router

    I have problems setting up and to connect my router to my new printer b210A. Everything goes well with the initial configuration, and when asked to connect to the network at the start, it works. Then he said that the printer requires updates, downloads of updates, reboots, asks me if I want to activate eprint and as soon as I said 'Ok', I get a "the server connection error" and it is then no longer connected to the network. When I get out of the "server connection error" screen and attempt to reconnect to the network, he says 'Success', prints a Test report wireless, but never connects.

    It's the 2nd printer that I have had in a week, given that the person of HP online chatting told me my first printer had problems of "hardware", after experiencing the same problems and I'll be recommended. So - I did, and now I'm running into the same issues. The number of 800 was NO HELP - after recommended I have unplug and reconnect, then telling me there were server errors (when the printer was not connected to the network).

    We will set an IP address of the printer with a special focus on DNS domains:

    -Print a the front of the printer Network Setup Page. Note the IP address of the printer.
    -Enter the IP address in a browser to reveal the internal settings of the printer.
    -Choose the network tab, then wireless along the left side, then on the IPv4 tab.
    -On this screen, you want to set a manual IP address. You must assign an IP address outside the range that the router sets automatically (called the DHCP range). You can find the beach DHCP from the router using its internal settings page or in its manual. Use the CD that came with your router or type the IP address of the router (ends para.1) in a browser.
    -Apply the subnet 255.255.255.0 (unless you know it's different, if so, use it)
    -Enter the IP of your router (on the Page of the Network Config) for the gateway

    -For the first DNS 8.8.8.8 and 8.8.4.4 for the second use.
    -Click 'apply '.

    Now, stop the router and printer, start the router, wait, and then start printing.

    After that, you will have to redo 'Add printer' using the new IP address.

  • APN not specified on some operators

    Hi all

    I have an application which give me a different answer for some operators. Let's say I have 2 operator, A and B. When I try my app using A, this works well. But when I use it on B, I get a message like: "The Tunnel is not open", or another type of blackberry: 'the APN is not specified. As I read on a document, to solve this problem, I have to enter information to the AFN on my Blackberry setting, but on the same document, I also read that if I use the AFN, it means that I have to pay for internet services (GPRS).

    What should I do if I can use the application on B without APN?

    Can someone help me?

    Thanks in advance.

    Kind regards

    Novan Ananda

    Hello

    According to what you target OS is that I would suggest that you use the ConnectionFactory .

    IF the user does not connect you can point to maybe configure the APN. but with the score could cost him extra.

  • Black screen and connection error

    Hello

    I connect to vsphere client and will see the picture of the console.

    This works correctly and shows the virtual machine screen.

    When I want to open console is following error popup:

    Connection error

    Could not connect to the server.

    When I connect to esxi host and do likewise.

    Popup is a black screen and the Application is crash.

    Mobile phone: iPhone5

    vSphere Server Version 5.5.0 build 1750787

    vSphere Client Version 5.5.0 build 1746248

    The Firewall Port 7331 is open on the computer of the vsphere client

    Can someone help me please?.

    It is very good. Thank you for helping to clarify the issue that you are experiencing.

    We have identified a bug in the console with the Watchlist iOS app that we fix right now. These effects the base of port based on which selection updated vCenter 5.5 that you are running.

  • "Run program in comments" VCO Workflow survey error "File &lt; file name &gt; is not found" not specified in VCO connected to VCD 5.1

    I'm trying to run a vbs script on a windows computer using "Run the program in comments" VCO Flow. I use the path of the entry only program and placed the script under the c drive to facilitate testing and you try to run a script of vmware for testing as follows. I get a VCO Flow error file < file name > not specified was not found. What is the problem with the entries.

    Flowname: Library/vCenter/comments-operations/process/run program in the comments

    Inputs                        :

    programPath c:\cscript.exe vm - support.vbs

    arguments

    workingDirectory

    undefined environment

    InteractiveSession No.

    Output: file < unspecified file name > not found.

    Thank you

    MuruRam

    Hello!

    In your example, the command would be only c:\cscript.exe and support.vbs - vm is an argument to this command.

    See you soon,.

    Joerg

  • HP Officejet 4620: Printer is in"error" and will not print, even though the computer says that it is "connected".

    My printer recently started telling me it was in a State of 'error' and could not print my documents.  Sometimes I could turn off the printer market and all that was trying to print would then print, if documents or Quicken checks.  Now I can't print from the computer at all, or it will print checks from Quicken even if I turn the printer power off and power on.  The HP Web site indicates that it is connected.  It is the second computer from HP Officejet 4620 of the original that I bought.  The first has a problem that has been covered by the warranty, and this one doesn't seem to be much better.

    Hi @Janilynn,

    Welcome to the HP Forums!

    I read your post and wanted to help.

    I understand that the printer does not print when the computer shows that it is connected.  Please run the print and scan the doctor.

    I would like to know if it solved the problem or gives you an error message.

    If this helps you to find a solution, please click on the button "Accept as Solution" down below in this message. If you want to say 'Thank you' to my effort to help, click on the "thumbs up" to give me congratulations.

    Kind regards

  • My forum ID is connected to my Apple ID email, but when I log in to the forum with my Apple ID email, I get an error and can not reach the forum. How do I merge my accounts so my Apple sign-in ID is working again?

    My forum ID is connected to my Apple ID email, but when I log in to the forum with my Apple ID email, I get an error and can not reach the forum. How do I merge my accounts so my Apple sign-in ID is working again?

    Apple ID cannot be merged. We'll see if we can get to the bottom of your connection error...

    Tell us step by step, in detail what your actions.

    Tell us a story

    -with a beginning, middle and end. We need to figure out what you know and that you have lived.

    If this problem is new, tell us what immediately preceded its appearance - add software, upgrade or update? New equipment?

    Quoted by of Apple  'how to write a good question.

    To help other members in answering your question, give as much detail as possible.

    • Include your name (peripheral) product and specifications such as the speed of the processor, memory and storage capacity. Please do not include your serial number, IMEI, MEID or any other personal information.
    • Provide the version of your operating system and the relevant applications numbers, e.g. "OS X 10.4.11" or "Safari 4.1.3.
    • Describe the problem and include all the Details on what seems to make it.
    • The list of troubleshooting steps you have already tried, or temporary corrections that you discovered.

    For a detailed 'coaching', please see usage tips , help us help you on these forums and wrote an effective communities of Apple Support question

    "Keep it short and Simple"-take your time... but be thorough - CCC

  • We get an error "NETWORK CONNECTION ERROR, make sure a firewall is not blocking access to the printer.

    * Original title: printer error...

    I was printing with a printer wireless for months and now all of a sudden I'm getting an error, NETWORK CONNECTION ERROR and then readings make sure that a firewall is not blocking access to the printer.   I checked and it is not blocked...  I did a session of disorder and it reads no problems found.   Can someone please...

    Hello

    1. what version of Windows is installed on the computer?

    2. What is the brand and model of the printer?

    3. you have any non-Microsoft firewall installed on the computer?

    4. what security software is installed on the computer?

    5 have have there been recent changes made on the computer before the show?

    Please follow the steps below and check if that helps.

    Method 1: Run troubleshooting network printer and check.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-printer-problems

    Method 2: Select the file and printer sharing

    http://Windows.Microsoft.com/en-us/Windows-Vista/enable-file-and-printer-sharing

    Method 3: I suggest to change firewall security settings, or disable the security software on the system and try to access the printer.

    Note: make sure that you enable the antivirus software, other security and firewall after the test programs.

    For more information, see the articles and check out them.

    Understanding Windows Firewall settings

    http://Windows.Microsoft.com/en-us/Windows-Vista/Understanding-Windows-Firewall-settings

    Enable or disable Windows Firewall

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-Firewall-on-or-off

    Allow a program to communicate through Windows Firewall

    http://Windows.Microsoft.com/en-us/Windows-Vista/allow-a-program-to-communicate-through-Windows-Firewall

    Let us know if it helps!

  • I installed Turbo Tax Delux 2011 tax software and get error 42002: could not connect to the update site to receive the latest updates.

    I installed Turbo Tax Delux 2011 tax software and get error 42002: could not connect to the update site to receive the latest updates. Turbo tax support site says adjust the parameters or the rules on my security software to allow certain programs to install and works as expected. How can I solve this problem to allow updates? Thank you. CraigrH

    What is your operating system and Service Pack?

    What is your anti-malware?

  • Group Policy infrastructure failed due to the error below. The specified domain does not exist or could not be contacted.

    using several Windows 2003 domain in an attempt to push the msi using Group Policy is following on xp sp3 machine error

    Group Policy infrastructure failed due to the error below.
    The specified domain does not exist or could not be contacted.

    Note: Due to the GP Core failure, no other component processes Group Policy policy.  Consequently, status information for the other components are not available.

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Technet Windows Forums. Here is the link:
    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

  • Marketing, Windows XP displays "error loading msinuc32.dll specified module could not be found.

    While starting up, Windows XP displays "Error loading msinuc32.dll specified module could not be found" help me solve

    Hi Rahmansherif,

    ·         Did you do changes on the computer before the show?

    Perform a clean boot to see if there is a conflict of software like the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

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

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click restart to restart the computer.

  • Error - Connection Internet Service does not start when try to start Windows Security Center.

    Original title: Windows security center usually run in windows XP.

    When I open the control panel and click on security, Windows Security Center indicates that it is not executed and wont run then when I try to turn it on I say error message does not start internet connection service. Also, my computer has been slowing way down lately and it takes forever to do even the simplest taskes. I just uninstall norton because my subscription ran out and then I installed MSE and malwarebytes MSE runs even slower, so I got rid of him.

    -Edit
    I also tried to use FixIt, but he said that there was an error during installation.

    Thank you. I had security work center. That's how I did it.

    I wen to your link and found that I needed to go to start-my network places - view the network (in the sidebar) connections - click Properties (click on) Local Area Connection 2 - click on the Advanced tab - click settings (skip this step if who does not appear)

    now, here, he said that there is an error and that I needed to start a process. I think it was 'Windows management instrumentation' but whatever it is, click Activate and change the startup type to automatic, and then click Start. then try to then you should do the same thing with

    • Application Layer Gateway Service
    • Network connections
    • Knowledge of the network (NLA) locations
    • Plug-and-Play
    • Remote Access Auto Connection Manager
    • Remote Access Connection Manager
    • Remote procedure call (RPC)
    • Telephony

    Then Security Center. When you press OK in the properties, you should see a small lock appears on the network connections icon. now Security Center should work.

    useful articles:
    http://support.Microsoft.com/kb/919291
    http://support.Microsoft.com/kb/827328
    http://TechNet.Microsoft.com/en-us/library/bb457029.aspx

  • Want 4500: Connection error! The printer could not connect to the server

    Connection error! The printer could not connect to the server!

    Cannot set up eprint or update the driver. Ever been on the forums and do not understand what to do!

    I am successfully connected to my router and can print from my pc and my ipad with airprint.

    PC "will not find"the printer either for purposes of updating

    What I need to change the DNS. If so, I don't know what it is or how to do it!

    I went to the ip address but was unable to click on "wireless (802.11)", as recommended by a last response forum, as the next low 'status '.

    Can anyone help?

    Very frustrated customer :-(

    Hi @roopuk,

    Thanks for getting back to me.

    Sometimes the manual DNS 8.8.8.8 / 8.8.4.4 won't work in some configurations of network users.  Try the same steps as described above, but this time use the following parameters:

    Manual preferred DNS Server: 209.244.0.3
    Auxiliary manual DNS server: 209.244.0.4

    If you encounter the error, as before, we take our proverbial gloves off to try a more intensive troubleshooting.

    What is happening, it is that your router allows your printer connection that to enable wireless, but not a secondary connection to Web services.  In order to get these devices to 'shake hands' a second time, you may need to enable DMZ mode on your network through the router's built-in Web server.  HP does usually not this configuration for its customers as errors can cause serious network problems, but I can certainly post the info you need on your router or the ISP of the staff support company so that they could help you directly.

    Here is the information that you need for your provider service to open ports on your router/modem...

    -Multicast must be enabled
    -Hello enabled for AirPrint (relevant for iOS and Mac OS users)
    -Mac filtering should be disabled
    -Also, make sure that your router's firmware to date if
    necessary
    - The dmz on the router mode and turn it on to the printers IP address: _

    Ports to open are: Eprint and Apps

    Incoming Ports.

    UDP
    80
    443
    ------------------
    Outbound ports

    TCP
    5222
    5223
    -------------------
    Once they are open, you should have no problems connecting to services web eprint on your device.

    I would like to know how it works for you.

    Kind regards

Maybe you are looking for

  • ? PRO/Wireless mini PCI card will switch

    This question has been posted before, but I have not found a solution I have installed a PRO mini-PCI card / Wireless 2915ABG in my A30. It is recognized as a card very well, but I can't turn it on. Not with the switch and or the software. Any tips?

  • APPCRASH

    I just downloaded army Americas 3 and every time I try to play a problem occurs. the description of the problem, it's APPCRASH.normally I blame the game for it but the same thing happens when I open the sansa media converter

  • blind CC on Windows Mail

    I used to have to, CC and BCC in address in Windows Mail lines.  Now have Version 6 and only to and CC.  Can I pick up the ICC?

  • Realtek PCI card driver crashes

    I was do bluescreen and I crashes quite regularly on my new laptop. Unfortunately, they started appearing just after the day 14 return period, so I'm stuck with the thing now. They seem to happen at random regardless of what I use the computer for. I

  • Netmonitor agant...

    I want to use the netmonitor agent to warn the systems down.  How can I make in the servers (more than 300) without going into each of them.