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.

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?

  • 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;

  • 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

  • Cannot run most of the apps and regedit by all means indicated by the path not specified not

    Original title: need help ASAP

    I can't run most applications and by all means regedit it says path not specified

    I tried to do some tinkering with regedit and install an application on another drive instead of C and ended up having failed, but kept a copy of the original registry values.

    set these registry values back and restarted after the problem I

    Hello

    See the second Option in the last link I posted in my last answer (and below here):

    How to do a system restore in Windows 7
    http://www.SevenForums.com/tutorials/700-system-restore.html

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

    If you need to repair disks - these help repair Windows not re-install.
    Often, these records will help when the OEM recovery disk does not work.

    Download Windows 7 system recovery discs - charge now $9.75 for ISO
    images to make the discs. (It can be done on any computer running XP,
    Vista or Windows 7 which has a CD/DVD burner).
    http://NeoSmart.net/blog/2009/Windows-7-system-repair-discs/

    How create a Windows 7 system - free repair disc (must be made on a
    Windows 7 computer running the same 32-bit or 64-bit).
    http://www.SevenForums.com/tutorials/2083-system-repair-disc-create.html


    An installation disc is possible also to use for repair. Of course you would
    Use your own COST (product key).

    How to: What are my options for Windows 7 reinstall media?
    http://answers.Microsoft.com/en-us/Windows/wiki/Windows_7-system/how-to-what-are-my-options-for-obtaining-Windows-7/528163c1-0b2e-4AD2-a26d-7112851d1dc2

    Welcome to the recovery of Microsoft software
    http://www.Microsoft.com/en-us/software-recovery

    See MVP Andre Da Costa message in this thread.
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/how-can-i-download-gatewaywindows7recovery-disc/3c0ecd74-CFC1-4188-89c7-a6bbe8113ee1

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Path not specified

    Try to download some photos from my iphone to my computer windows 7.  While the photos seem begin to download, a message says that some could not be downloaded, and they would be ignored.  At the end of the download, it seemed they had been downloaded but only 6 small videos don't have.  A message also said that a path was not specified.  Anyone know why the photos didn't download?

    When you click on 'Import pictures and videos using Windows', you should see a window like this:

    Click on the "Import settings" and the following window should appear:

    Click on the button 'Browse' next to two lines "import..." and navigate in the folders where you want pictures and videos to be saved.  Change the other options if you want, and then click OK.

    Now import your images and your videos.

    If you still receive error messages, please provide the full text of each message.

  • Leader (?) "Not specified" and the files/folders missing

    I have a strange problem.  I had a folder with files and folders one couple with backups of these files.  Suddenly, everything that is found in this folder is titled 'No' icon and all other files and folders disappeared.  When I try to copy my files into this folder, it says the files already exist, but I showed you the hidden files and system.  When you click the icon not specified, it shows all files, including those located in the subfolders.  I can't move or copy this file (?) not specified.  What is this thing not specified and how to do things the way they were?

    Looks like you may have a virus or other malware. Get your updated antivirus program and boot into Safe Mode. Note that some viruses can hide from your normal antivirus program, so you really need to scan in Safe Mode. To enter in Safe Mode when you turn on first, press F8 on every seconds until you get the menu, and then select Safe Mode. Then run a complete system scan.

    Microsoft has suggestions and offerings to

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-remove-a-computer-virus

    Moderator Forum Keith has a few suggestions along this line to

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/Windows-Explorer-has-stopped-working/6ab02526-5071-4DCC-895F-d90202bad8b3

    If that suits him fine. If this is not the case, use system restore to go back to an earlier date at the beginning of the problem. To run system restore, click Start-> programs-> Accessories-> System Tools-> system restore. Click on the box that says show more restore points.

    You can check the corrupted system files. Open an administrator command prompt and run SFC if the above does not help. Click START, and then type sfc in the search box, right-click to SFC. EXE and click run as administrator. Then, from the command prompt type sfc/scannow.

    Finally if all else fails, you can look at the rather cryptic system event log. To make, click Start-> Control Panel-> administration-> event viewer tools. Once in Event Viewer system log-click and scroll entries looking for these "error" with indicator see if you can find guidance on where the problem may be.

    I hope this helps. Good luck.

  • Tablespace not specified in the CREATE DATABASE command

    Hello

    I'm cloning a database using "backup controlfile to trace", copy the data to another server, do a restore using backup controlfiles and deliver an open resetlogs.
    The last steps in the case of "manually", not by the script "create controlfile ':

    RECOVER DATABASE USING BACKUP CONTROLFILE

    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE...

    Xxx_TEMP ALTER TABLESPACE ADD TEMPFILE

    Yyy_TEMP ALTER TABLESPACE ADD TEMPFILE

    It works very well, however in the alert log this message appears:

    ATTENTION: by default temporary
    Tablespace not specified in the CREATE DATABASE command

    Default temporary tablespace will be necessary for a locally managed database in future release

    Mount of redo thread 1, with mount id 801397961

    Source and target system temp tablespace are defined:

    select * d atabase_properties property_name as « % TABLESPACE »;

    TEMP DEFAULT_TEMP_TABLESPACE name of the default temporary tablespace

    DEFAULT_PERMANENT_TABLESPACE USERS name of default permanent tablespace

    Can you give me some information on it?

    What command 'create database' is incorrect (without default TS)?

    Concerning

    Christian

    Hello

    Orders of data files to create temporary tablespaces are in the Script SQL generated, as last orders to be released.

    1. the first thing you do not database, in fact, create by rebuilding the controlfile based on existing database files.

    2. Secondly, your script controlfile is created based on data files, the next step if adding temporary file what I said in previous post.

    3. from your message it's just adding/WARNING provided by oracle - since before re - build my database - old controlfile knows we tablesapce temp. When you re-built your database it shows not know a temporary file.

    Hope that helps

    -Pavan Kumar N

  • Unspecified Analytics remains still not specified?

    We have just released a new edition of our magazine this past weekend, and we get a lot of: unspecified: data to Analytics. Specifically, the integral of the iPhone version is not specified, despite all items are properly labeled and ads are marked as ads (the iPhone verson will not even appear in the Ad of Analytics, I guess because it is not detected) and the iPad version has some data followed, but more than 80% of it is undetermined, although the ads appear to be tracked correctly. What's up with that? If I have all the lables in correctly (and I know that I do because they worked on the previous editions) then why not data being followed or properly labelled? Is there something we can do about it? These numbers are really important to our company.

    The most common cause of: unspecified: data are a title of the article missing (not the name of the article). When you open your folio in the Folio producer Editor to view the metadata of the article, are the Article title empty fields? If so, that's the problem.

    If your article titles are specified, we will go from there.

  • Game type "not specified" remove the Windows 7 Explorer game.

    I've seen several forums around this subject, but none of them does not solve my problem.  I have a file in my Games Explorer classified as a type of file "not specified."  I went through several records, including "C:/users / AppData/local/Microsoft/Windows/Game Explorer' and 'C:\ProgramData\Microsoft\Windows\GameExplorer' that do not contain the file I want to delete.  Nothing comes up when I right click on icon, either.

    I found a forum with a link which has been said to have the solution, but the page just says "Service unavailable" page was:

    http://www.SevenForums.com/tutorials/42496-Games-Explorer-folder-delete-game.html

    If anyone happens to recognize this URL, it would be great if you could tell me what he said, except that I'm open to suggestions on other ways to get rid of this icon.

    System Restore solved the problem, I just had to try several times until I got just restore point where the icon has disappeared, but it didn't remove all the others either.  Now the icons under the tabs of Internet Explore are all screwed up (icons wrong showing upwards to the wrong sites), but I suspect that will disappear in time, otherwise I can reinstall IE.

    For those of you who read this message and to use steam, never, NEVER put a shortcut to one of the steam games in the Games Explorer. It won't work, it will take place.

  • "parameter f warning not specified running chkdsk in read-only mode" is this normal?

    When you run chkdsk I get the warning "Beware f parameter not specified running chkdsk in read-only mode" is this normal and if not what do I do to rectify.

    If you want that the errors you fixed must run chkdsk /f

    Make sure that you have a backup in case where.

  • Add/Remove Programs does not work with some programs in XP

    Why add and remove program does NOT work on some programs. These are programs on a computer that was created using a process of the image. Like ghost?

    If you have a third party app that will not uninstall, I think I might check the support page for this application and see what they have to say about it.

    Some AV products have obtained quite complicated that add/remove programs is not the recommended way to remove them, so some companies have developed their own removal procedures and some have special programs to manage their affairs.

    Norton/Symantec has a special page for you:

    http://us.Norton.com/support/kb/web_view.jsp?wv_type=public_web&docURL=20080416133836EN

    I see that just goes through Add/Remove programs too, but there is an option "what happens if it does not work" too (or post in the forums).

  • Apple iPod appears as a device not specified in XP

    I plug my ipod usb driver nothing comes up and the machine did not read, I went in devices and printers in Control Panel to start, and noticed he was not specified so I right click on it, went int o properties then it came with harware up above I click on it and it went itno properties if I click on that are entered in pilot and said the necessary driver update so I updated, but then the said device is working properly, but then I noticed poped upward in another unspecified as ipod and I click it and it says MTP. USB and I noticed that the device cannot start when I right click on it and it came with troble shoot wat should I do to download so it can come back to my itunes and when I stick the device in usb to computer to read...?

    Hi reecebaillie,

    ·         If it works much earlier?

    ·         Other devices get detected?

    ·         What is the exact message that you see in Device Manager?

    Check to see if the following is useful.

    Method 1: To update the computer with the latest chipset drivers and check the issue. Log computer manufacturer site to do so.

    Method 2: Check to see if this article helps you.

    Why my computer does not detect my new USB device when I run Windows XP or Windows Server 2003?

    Method 3: Reinstall the USB controllers. Follow this link to do this.

    Advanced troubleshooting tips for General USB for Windows XP problems

    See also:

    Explanation of error codes generated by Device Manager in Windows XP Professional

  • F parameter not specified

    message on my chkdsk shows the parameter F is not specified. I tried to put in the immediate window after chkdsk/f, but he couldn't find it? How can I fix it?

    message on my chkdsk shows the parameter F is not specified. I tried to put in the immediate window after chkdsk/f, but he couldn't find it? How can I fix it?

    You should be typing chkdsk /f (note the space before /).
  • My HP printer appears as "not specified" in devices and printers

    Original title: why my HP printer appears as "not specified" in printers and devices?

    Running Windows 7 64 and my computer detect my printer as "unspecified" material under devices and printers, so I'm unable to verify as my default printer.  How can I fix?  Thanks to all those who can help you.

    Sounds like you just pluged in it and has not installed software complete features of HP, which is if your unknown HP printer supports win7

Maybe you are looking for

  • TLS1.0

    Hello Since upgrading to ff 39.0 some sites that only support tls1.0 do not show. It is EXTREMELY inconvenient (yes I know, security blah blah, contact the owner of the site), but our users are not being helped with this and it is not always possible

  • Sampling frequency for digital sampling (cDAQ-9172 &amp; NI 9401)

    Hello! I have a cDAQ-9172 with NI 9401 C-series (digital) module. I would like to taste the digital inputs with a sampling frequency of e.g. 400 or 200 kHz. My problem is that I can only choose a clock 100kHzTimebase and therefore only get a sampling

  • Xbox 360 games Xbox 720 system

    I'll be able to play my Xbox 360 games on a Xbox 720 system?

  • Error 64 c for XP KB3953297. I agree with tchev.

    Have tried some of your 'corrections', who have unsuccessfully. Fix it you. I spent enough of my time screwing around with YOUR problem. Create a difficulty better which exerts on its own, or stop sending me this "critical update". I'm about to turn

  • Whenever I start my PC, I get a Windows program that is trying to install what is called a sound Module of Activation.

    Original title: Windows Sonic Activation Module. Whenever I start my PC, I get a Windows program that is trying to install what is called a sound Module of Activation. He asks I insert the disk and the only way I can get to go is repeatable keep hitt