geolocation_fix_type_t WIFI or another result type in GEO_LOCATION_ERROR

Hello

In my application I want to integrate geolocation. I add the geolocation_fix_type_t WIFI, GEOLOCATION_FIX_TYPE_GPS_MS_BASED or other type defind in the geolocation.h. Value of geolocation is only to recover with the help of GEOLOCATION_FIX_TYPE_UNRECOGNIZED and other then he gives the GEO_LOCATION_ERROR. I also could not get the idea of what type of GEO_LOCATION_ERROR is coming so I can work on that.

Please help me on how to solve this problem. I also updated the event_type WIFI but it also not working and I get error.

There is a much easier way than bps API. Please visit: https://github.com/blackberry/Cascades-Community-Samples/tree/master/LocationDiagnostics

See you soon.

Shadid

@shadidhaque

Tags: BlackBerry Developers

Similar Questions

  • I want to thank my wifi in another part of the House with an Airport Extreme. But I want to not be connected to the modem main via ethernet cable is it possible?

    I want to thank my wifi in another part of the House with an Airport Extreme. But I want to not be connected to the modem main via ethernet cable is it possible?

    I put in place already to extend the wifi of my modem still connected to the modem via ethernet cable.

    Now I want to be considered on the floor and use it to extend the wifi without ethernet cable

    The AirPort Extreme can extend only wireless signal from another router from Apple, so if you want to take the AirPort Extreme on the floor and extend wireless signal, you will need another airport connected to your modem by Ethernet cable router to produce the wireless signal that will extend the extreme on the floor.

    Another way of saying the same thing would be to say that if you want to extend wireless using a router from Apple, you'll need two of them do... because AirPort Extreme is not compatible with a third-party modem or modem/router for this purpose.

  • PS CS4, refuses to save a file type to another file type .jpg .psd. How to solve? Desperate!

    I open a .psd file, make changes to eliminate the layers and to reduce the size of the file to save it then as a smaller .jpg file.  However, when the drop-down window opens to select what file extension I would choose, it flashes immediately closed with times to select .jpg or other.  No matter how many times I try to 'beat' the window and make a selection, it is faster than me and it closes.  He refuses to allow me to change the file type extension.  This problem seems to be developed after downloading the recent updates on the program.  He won't let me do my job.  I need quick help.  Can anyone help?  I already tried to remove the program from my system and reloading it, but the problem is not going away.

    Another minor problem happened at the same time.  No matter what file or group of files now fill the screen and are docked together.  I have to go into the menu every time and select 'Float all windows', and if any other file is opened during the same working session, all previous files will become again the images full screen and anchor set even once, will have to go into the menu and select 'float all windows' once AGAIN.  It's a real pain.  I tried to look in the preferences and has not found a solution to the problem.  Someone at - it suggestions?  This problem is thought minor, compared to the first listed that paralyzed forward me in my work.

    Thanks to all who can help...

    You have not applied all the updates to CS4.  You should not be on Photoshop CS4 11.0.2 on 11.

  • Scrolls work result type in stored proc?

    Hi all:

    first of all, I posted a similar question on the forum of spring because I used Spring JDBC in my code. He posted a few days, nobody answered it (http://forum.springsource.org/showthread.php?116502-Scrollable-ResultSet-in-prepareCall).

    Then I tried using generic JDBC code, the same thing. This is the problem, I need to know the total of the lines of the proc of stored froma resultset. I put the resultset type to be TYPE_SCROLL_INSENSETIVE, and I expect to use APIs such as #last (), #beforeFirst () ResultSet ResultSet, etc.. No, it did not work, the error is always: "Invalid Operation for the set of results before only", extract from my code looks like:

    connection = DriverManager.getConnection(url, user,pwd); cs = connection.prepareCall(spName,ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); //.... set parameters ... cs.execute(); ResultSet rs = (ResultSet) cs.getObject(outCount); rs.last(); //oops! it blows

    I have search online as well as in this forum, and I fill these possibilities:
    1 ResultSet is closed, no;
    2. driver unsupported, probably not.
    3. it's set it up on the side of the stored procedure - I can't do anything in this matter;
    4. work on simple declaration, proc not stored, really?

    Any ideas? I've been struggling with this for a while, any help is greatly appreciated!

    John

    He must forget about it being editable or sensitive a stored procedure because most of the DBMS
    do not provide the necessary metadata with a set of results that would allow a driver to implement the
    Update client side of the necessary statements to send changes to the DBMS. If the result set is a
    clear simple SQL query, the driver may be able to do. In addition, the DBMS usually will not need an API
    to manage your data in client-side if/when the data side DBMS change. In addition, the JDBFC specification allows
    result silent downgrading affects no sensitive if the DBMS API does not provide the means to do so.
    The two basic methods to get an idea of the number of lines that you have, will always involve one of the two
    Options:
    1 - make a motion similar to the original, for example: select count (*)... to get the number if all goes pretty close to correct
    lines (the data may vary between this motion and the real), or
    2. make your query and read in all the lines and get the number in this way. It can take a lot of memory
    in your code or the driver, who may have to read them all in, just to be able to run the
    ResultSet.last () method.

    If you have no idea about the request, for example, if it is opaque in a stored procedure, and then do the
    pilot and the typical DBS Protocol is a much more customer-request-DBMS-answer basis, rather than providing
    a kind of window of TV in real-time in the DBMS as it can change the other side of the glass.

  • Droid 2.1 WiFi like not router type N?

    All nine buy yesterday evening - never owned a smart phone before.  I went with my son after having bought the phone and immeiately connected to its class G router after having provided the security code.  At home and does not connect to my router.  I can connect to wifi unsecured in the box, but signals are weak and they are not to me.  I talked to tech support today and a level 2 representative told me that this new phone does not connect to WPA/WPA2 PSK N type router - I know it's backward compatible router is a Linksys WRT150N - of ideas?

    + 1, works very well with my Linksys WRT600N router mode b/g/n auto. Make sure that your router is not configured to only accept connections "n".

  • is it possible to replace the wifi with another card?

    Hello

    I have a t400 with intel 5100 wifi card and now I want to install mac os on my laptop.

    problem is that mac os is not detecting the 5100 series of wifi card and I would like to know if it is possible to replace the current model 5100 with an old series?

    Is there any Center of service authorized in Uppsala in Sweden / Sweden for this?

    Thank you

    Limited wireless cards Lenovo Lenovo units certified to work with the brand machine. This is done through a white list in the system BIOS. Recently, I disassembled the last BIOS of T500/W500 (version 3.14 - 1: 06) and discovered the following picture of the white list. It's raw hex big endian joined with what I found by searching for the device ID's are redundant entries to change supplier codes.

    86803 B 428680111000 Intel Corporation PRO/Wireless 5350 AGN [Echo Peak] network connection

    86803D 428680111200 Corporation Intel WiMAX/WiFi Link 5150

    868036428680111000 Intel Corporation ultimate N WiFi Link 5300

    868037428680111200 Intel Corporation PRO/Wireless 5100 AGN [Shiloh] WIRELESS card

    868037428680161200 Intel Corporation PRO/Wireless 5100 AGN [Shiloh] WIRELESS card

    8C161C008C16350000 Atheros AR5007EG

    EC107281EC1020E000 Realtek RTL8191SEvB (yuck, Realtek!) I wouldn't want one of these...)

    86803 8086:423D 428680161200 Corporation Intel WiMAX/WiFi Link 5150 D

    8680840086801513 corporation Intel Centrino Wireless-N 1000

    Your T400 comes from the same range and has probably the same list. Don't forget, you can buy a Lenovo brand unit.

    Also look for a PM with additional information.

  • Windows Vista is not activated, because time is up, asking 'another key type.

    Windows Vista was not enabled within the stipulated time, now when I try to turn it on error comes as follows
    -> product key purchase online.
    ->, type a different product key.
    -> Contact microsoft to help solve this problem.

    What should I do now that I bought a genuine software.

    How to activate Windows 7 or Vista manually (activate by phone)
    http://support.Microsoft.com/kb/950929/en-us

    1) click Start and in the search for box type: slui.exe 4
    (2) press the ENTER"" key.
    (3) select your "country" in the list.
    (4) choose the option "activate phone".
    (5) stay on the phone * do not select/press any option * and wait for a person to help you.
    (6) clearly explain your problem to the support person.
    (7) the person must give you a confirmation ID, copy it down on paper,
    (8) check that the ID is correct in reading the support person.
    (9) to enter the ID number, then click 'Next' to complete the activation process.

    ----------------------------  Alternatives -------------------------------------

    To enable the use of the phone
    1. open Windows Activation by clicking the Start button, right-click computer, clicking Properties, and then clicking

    Activate Windows now. ?

    2. click on show me other ways to activate.

    3 type your Windows 7 product key, and then click Next.

    4. click on use the automated telephone and then click Next.
    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    5. click on the location nearest you from the drop-down list, and then click Next.

    6. call one of the available phone numbers listed. An automated system will guide you through the activation process.

    7. When prompted, enter the installation ID that is listed on your screen in your phone keypad.

    8 Note the confirmation ID the phone system gives you.

    9. under the terms of step 3, type the confirmation ID in the space provided, click Next, and then follow the instructions.

    10. If the activation is not successful, stay on the line to be transferred to a product activation agent who can help you.

    Microsoft Activation centers worldwide telephone numbers:
    http://www.Microsoft.com/licensing/existing-customers/activation-centers.aspx
    (This site is for activating Volume License, but if you call, they will help you)

    The phone number is not working:
    Microsoft Wordwide contacts: http://www.microsoft.com/worldwide/default.aspx

    Activation and registration of a Microsoft product
    http://support.Microsoft.com/?kbid=326851
    Windows activation: (888) 571-2048

    J W Stuart: http://www.pagestart.com

  • Defined by the mobile user to another diagram type

    I have a table say User1, this chart as a column of type defined by the user (nested table). For some reason any I have to move the user defined the different diagram type.

    To do this, I've recreated type defined by the user in the User2, now before I drop the USER1 user-defined type, I re-create the table using new type defined by the user in user2.

    I created a temporary table with new type defined by the user, now I have to move the data from the original for temporary table table. I am facing a problem while moving data for the nested table column (because they are of different types). I tried cast but that also failed.  Any information on how to achieve this use case is much appreciated.

    DOUBLE WIRE!

    Please do not create duplicate threads. Mark the ANSWER thread and continue to use your first thread.

    https://community.Oracle.com/thread/3552398

  • Implementation of Adobe software and move files from another machine type

    Location:

    1. I got Lightroom 3 (LR3) for some time, but never really learned to use it. For various reasons, I recently decided to update LR3 and also buy Photoshop CS6.

    2 I have now installed LR3 to LR5. This software, PS C6 and the last 4 years of digital photos are present on my 15 "Macbook Pro.

    3 in addition to the MacBook, I have a 10-12 years old PC that runs on Microsoft XP Pro. I have maybe 3 000 digital photos from previous years that are stored on this computer. In all cases, regardless of the computer, the image files are enabled, they are a random mix of jpeg and raw (Nikon) files.

    My Questions are:

    1. Photo files are imported into the LR5, are picture files copied into a 'system of files of LR' and thus duplicate on my HDD files?... .or is it a case of LR making links to the files where they physically present? What? A sub question is this: when I delete a file in its original storage folder, which also deletes the image of the files accessed by LR?
    2. What do you suggest as the most effective method and the means to move the photos from my PC to my Mac?
    3. Can what advice you give about how to structure my photo files to make the simplest and most effective for LR5 and PS C6 to access the files. ?
    1. Lightroom creates a link to your photos; at no time Lightroom stores the photos in-house, so if you had a copy of a picture before importing, you still have a copy
    2. External hard drive is probably the most effective
    3. You can have any structure is evocative, ranging from "no structure" to "very structured. Lightroom simply does not care what is the structure of the folders, it can work with any folder structure whatsoever. My recommendation is to have a simple structure for your folders (such as dates) and then make the most of the organization inside Lightroom via keywords and other metadata.

    Paige

  • A Message in a rectangular box "Messages Agent wants to use the 'Local products' kenchain. appearing on the screen and ask for Keychain password password.  This started after I changed the password of Apple resulting for the purchase of a new iPhone

    A Message in the box 1. "Message agent wants to use the 'Local products' kenchain. "is appearing on the screen and ask for Keychain password password.  This started after I changed the password of Apple resulting for the purchase of a new iPhone.

    My iPhone 5 has been damaged and the screen was not visible.  As a result, I couldn't open the iPhone.  I bought 5 s iPhone and when I got to connect with the iCloud

    I remember the answers to security questions.   The seller must change the password and enter new answers to security questions, I did.  This happened in Bangalore.  When I'm home in Ernakulam, Kochi (India), where I has the Air of Mac, Ipad and my wife had another iPhone and laptop computer Dell, these problems began to come up on the screen and blocks the screen.

    Four Messages are appearing: the first is on the top.

    Other messages are:

    2. ' cloudd wants to use the kenchain 'local products '. '

    appearing on the screen and ask for Keychain password password.

    3. ' com.apple.iCloudHelper.xpc wants to use the kenchain 'local products '. appearing on the screen and ask for Keychain password password.

    4. ' cloudpaired wants to use the kenchain 'local products '. ' is appearing on the screen and ask for Keychain password password.

    It of an upheaval and please suggest how to solve this problem

    Hello remy!

    I see that you are either prompted by iCloud Keychain with various alert messages.  I know it's important to have iCloud Keychain works correctly and I am pleased to offer you an article that should help you.  Please follow the instructions in the following support article:

    If your Mac keeps asking for the password in the keychain

    Thank you for using communities of Apple Support.

    See you soon!

  • Pavilion DV7-3165DX, Atheros AR9285 WiFi adapter, communication and incompatibility issues

    After much research, I decided to buy a Pavilion DV7-3065DX. Then, I walked to my local Best Buy to say the 3065DX had been abandoned and was no longer available for purchase. However, the 3165DX, his successor had arrived and was very similar to the previous generation. After a brief discussion to justify the increase of prices with myself, I gave and was sold.

    Within hours, I was in College, trying to connect to the WiFi network without success. After several hours becoming more and more frustrated, I decided to call it closes unexpectedly. Rushing home after class, I plugged the new Linksys WRT160N, I had also bought wireless router and configured on my desk. Once completed, I tried to connect using the new Pavilion. To my surprise, it worked! (And no problem whatsoever no less). So, apparently, the wireless adapter works, but does so only on some networks.

    A week later, I tried to connect to a number of public and private WiFi networks of different types with limited success. Most importantly, I am able to connect to my home network, but not to the public networks in my college or city libraries. At one point, the Office for my college indicated that my WiFi adapter is one of a handful of cards on the list of incompatible devices to their network. As it was to buy the laptop in the first place, I am extremely frustrated.

    I turned to the support pages of HP for a solution. I considered a update driver despite the use of the HP Wizard to keep abreast on all software downloads and updates. To my dismay, product for the Pavilion DV7-3165DX page lists of Broadcom WiFi adapter, which does not correspond to my hardware (Atheros AR9285). What's worse, is that the manufacturer's website offers no driver downloads to customers that its site is adapted directly to product manufacturers.

    At this point, I'm increased and not sure what to do. I am already attached to this laptop. Apart from the war with his fingerprints on its black and shiny chrome surfaces shiny, the problem with the Atheros WiFi card is the only problem that I had. I hate having to go through the ordeal to return, and I do not think that this problem requires the sending of the product to HP for repair. Furthermore, I believe that if it came down to one of those, I simply return the product and find my way to another product by other manufacturers in total.

    This certainly isn't the experience I had hoped with my first purchase of HP.

    Any suggestions?

    I have the same question... However with me the solution wasn't in the pilot. I spent 3 hours on the phone with technical support, try to understand.

    What it comes down to say that Atheros AR 9285 is a shi * ty wireless card. It supports 802.11n Protocol, but only 2.4 GHz (the same as the b/g frequencies). My Cysco wireless router was broadcasting 5 GHz Wireless-N and AR 9285 was not able to detect it. Once I changed the router settings to allow 2.4 GHz Wireless-N Networking, the Atheros card was able to connect under the Protocol N. However, the maximum speeds of 2.4 GHz card are slower than 5 GHz card.

    I wish they would give an option to choose what wireless card to install in my laptop. GRRRRRRRRRRRRRRRR. I'm always done what they me screwed on.

  • Application does not work without wifi connection

    Hello I have a problem with the http connection

    my code is

    public class HttpConnectionFactory
    {
    
        /**
         * Specifies that only wifi should be used
         */
        public static final int TRANSPORT_WIFI = 1;
    
        /**
         * Specifies that only BES (also known as MDS or corporate servers)
         */
        public static final int TRANSPORT_BES = 2;
    
        /**
         * Specifies that only BIS should be used (Basically RIM hosted BES)
         */
        public static final int TRANSPORT_BIS = 4;
    
        /**
         * Specifies that TCP should be used (carrier transport)
         */
        public static final int TRANSPORT_DIRECT_TCP = 8;
    
        /**
         * Specifies that WAP2 should be used (carrier transport)
         */
        public static final int TRANSPORT_WAP2 = 16;
    
        /**
         * Equivalent to: TRANSPORT_WIFI | TRANSPORT_BES | TRANSPORT_BIS |
         * TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2
         */
        public static final int TRANSPORTS_ANY = TRANSPORT_WIFI | TRANSPORT_BES
                | TRANSPORT_BIS | TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2;
    
        /**
         * Equivalent to: TRANSPORT_WIFI | TRANSPORT_BES | TRANSPORT_BIS
         */
        public static final int TRANSPORTS_AVOID_CARRIER = TRANSPORT_WIFI
                | TRANSPORT_BES | TRANSPORT_BIS;
    
        /**
         * Equivalent to: TRANSPORT_DIRECT_TCP | TRANSPORT_WAP2
         */
        public static final int TRANSPORTS_CARRIER_ONLY = TRANSPORT_DIRECT_TCP
                | TRANSPORT_WAP2;
    
        /**
         * The default order in which selected transports will be attempted
         *
         */
        public static final int DEFAULT_TRANSPORT_ORDER[] = { // TRANSPORT_DIRECT_TCP
        // ,TRANSPORT_WAP2
                TRANSPORT_WIFI,
                // TRANSPORT_BES, TRANSPORT_BIS,
                // TRANSPORT_WAP2,
                TRANSPORT_DIRECT_TCP };
    
        private static final int TRANSPORT_COUNT = DEFAULT_TRANSPORT_ORDER.length;
    
        private static ServiceRecord srMDS[], srBIS[], srWAP2[], srWiFi[];
        private static boolean serviceRecordsLoaded = false;
    
        private int curIndex = 0;
        private int curSubIndex = 0;
        // private String url;
        private final String extraParameters;
        private final int transports[];
        private int lastTransport = 0;
    
        /**
         * Equivalent to
         * HttpConnectionFactory( url, null, HttpConnectionFactory.DEFAULT_TRANSPORT_ORDER )
         *
         * @see #HttpConnectionFactory(String, String, int[])
         * @param url
         *            See {@link #HttpConnectionFactory(String, String, int[])}
         */
        public HttpConnectionFactory() {
            this(null, 0);
        }
    
        /**
         * Equivalent to
         * HttpConnectionFactory( url, null, allowedTransports )
         *
         * @see #HttpConnectionFactory(String, String, int)
         * @param url
         *            See {@link #HttpConnectionFactory(String, String, int)}
         * @param allowedTransports
         *            See {@link #HttpConnectionFactory(String, String, int)}
         */
        public HttpConnectionFactory(int allowedTransports) {
            this(null, allowedTransports);
        }
        public HttpConnectionFactory(int transportPriority[]) {
            this(null, transportPriority);
        }
    
        public HttpConnectionFactory(String extraParameters, int allowedTransports) {
            this(extraParameters, transportMaskToArray(allowedTransports));
        }
        public HttpConnectionFactory(String extraParameters,
                int transportPriority[]) {
            if (!serviceRecordsLoaded) {
                loadServiceBooks(false);
            }
            //
            // if (url == null) {
            // throw new IllegalArgumentException("Null URL passed in");
            // }
            // if (!url.toLowerCase().startsWith("http")) {
            // throw new IllegalArgumentException("URL not http or https");
            // }
            //
            // this.url = url;
            this.extraParameters = extraParameters;
            transports = transportPriority;
        }
        public Connection getNextConnection(String url)
                throws NoMoreTransportsException {
            Connection con = null;
            int countsWap = 0;
            int countsBis = 0;
            int countsBes = 0;
            int curTransport = 0;
            while (con == null && curIndex < transports.length) {
                System.out.println("con=" + con + " curid=" + curIndex);
                curTransport = transports[curIndex];
                switch (curTransport) {
                case TRANSPORT_WIFI:
                    curIndex++;
                    curSubIndex = 0;
                    try {
                        con = getWifiConnection(url);
                    } catch (Exception e) {
                    }
                    break;
                case TRANSPORT_BES:
                    curIndex++;
                    curSubIndex = 0;
                    try {
                        if (countsBes > 3) {
                            throw new NoMoreTransportsException();
                        }
                        con = getBesConnection(url);
                        countsBes++;
                    } catch (Exception e) {
                    }
                    break;
                case TRANSPORT_BIS:
                    while (con == null) {
                        try {
                            if (countsBis > 3) {
                                throw new NoMoreTransportsException();
                            }
                            con = getBisConnection(url, curSubIndex);
                            countsBis++;
                        } catch (NoMoreTransportsException e) {
                            curIndex++;
                            curSubIndex = 0;
                            break;
                        } catch (Exception e) {
                        }
                    }
                    break;
                case TRANSPORT_DIRECT_TCP:
                    curIndex++;
                    try {
                        con = getTcpConnection(url);
                    } catch (Exception e) {
                    }
                    break;
                case TRANSPORT_WAP2:
                    while (con == null)
                    {
                        // try {
                        // if (countsWap > 3) {
                        // throw new NoMoreTransportsException();
                        // }
                        // // con = getWap2Connection(url, curSubIndex);
                        // countsWap++;
                        // } catch (NoMoreTransportsException e) {
                        // curIndex++;
                        // curSubIndex = 0;
                        // break;
                        // } catch (Exception e) {
                        // }
                    }
                    break;
                }
            }
            if (con == null) {
                throw new NoMoreTransportsException();
            }
    
            lastTransport = curTransport;
            return con;
        }
    
        public Connection getCurrentConnection(String url)
                throws NoMoreTransportsException {
            Connection con = null;
            switch (lastTransport) {
            case TRANSPORT_WIFI:
                try {
                    con = getWifiConnection(url);
                } catch (Exception e) {
                }
                break;
            case TRANSPORT_BES:
                try {
                    con = getBesConnection(url);
                } catch (Exception e) {
                }
                break;
            case TRANSPORT_BIS:
                while (con == null) {
                    try {
                        con = getBisConnection(url, curSubIndex);
                    } catch (NoMoreTransportsException e) {
                        break;
                    } catch (Exception e) {
                    }
                }
                break;
            case TRANSPORT_DIRECT_TCP:
                try {
                    con = getTcpConnection(url);
                } catch (Exception e) {
                }
                break;
            case TRANSPORT_WAP2:
                while (con == null) {
                    try {
                        con = getWap2Connection(url, curSubIndex);
                        System.out.println("" + con);
                    } catch (NoMoreTransportsException e) {
                        break;
                    } catch (Exception e) {
                    }
                }
                break;
            }
    
            return con;
        }
    
        /**
         * Returns the transport used in the connection last returned via
         * {@link #getNextConnection()}
         *
         * @return the transport used in the connection last returned via
         *         {@link #getNextConnection()} or 0 if none
         */
        public int getLastTransport() {
            return lastTransport;
        }
    
        /**
         * Generates a connection using the BIS transport if available
         *
         * @param index
         *            The index of the service book to use
         * @return An {@link HttpConnection} if this transport is available,
         *         otherwise null
         * @throws NoMoreTransportsException
         * @throws IOException
         *             throws exceptions generated by {@link getConnection( String
         *             transportExtras1, String transportExtras2 )}
         */
        private Connection getBisConnection(String url, int index)
                throws NoMoreTransportsException, IOException {
            System.out.println("BIS Try");
            if (index >= srBIS.length) {
                throw new NoMoreTransportsException("Out of BIS transports");
            }
            ServiceRecord sr = srBIS[index];
            return getConnection(url, ";deviceside=false;connectionUID=", sr
                    .getUid());
        }
    
        /**
         * Generates a connection using the BES transport if available
         *
         * @return An {@link HttpConnection} if this transport is available,
         *         otherwise null
         * @throws IOException
         *             throws exceptions generated by {@link getConnection( String
         *             transportExtras1, String transportExtras2 )}
         */
        private Connection getBesConnection(String url) throws IOException {
            System.out.println("BES try");
            if (CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS)) {
                return getConnection(url, ";deviceside=false", null);
            }
            return null;
        }
    
        /**
         * Generates a connection using the WIFI transport if available
         *
         * @return An {@link HttpConnection} if this transport is available,
         *         otherwise null
         * @throws IOException
         *             throws exceptions generated by {@link getConnection( String
         *             transportExtras1, String transportExtras2 )}
         */
        private Connection getWifiConnection(String url) throws IOException {
            System.out.println("wifi try");
            // if (RadioInfo.areWAFsSupported(RadioInfo.WAF_WLAN)
            // && (RadioInfo.getActiveWAFs() & RadioInfo.WAF_WLAN) != 0
            // && CoverageInfo.isCoverageSufficient(1 /*
            // * CoverageInfo.COVERAGE_DIRECT
            // */,
            // RadioInfo.WAF_WLAN, false)) {
            //
            // return getConnection(";deviceside=true;interface=wifi", null);
            // // return getConnection(";deviceside=true;interface=wifi", null);
            //
            // }
            // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            if (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED
                    && srWiFi.length > 0) {
                return getConnection(url, ";interface=wifi", null);
            }
            return null;
        }
    
        /**
         * Generates a connection using the WAP2 transport if available
         *
         * @param index
         *            The index of the service book to use
         * @return An {@link HttpConnection} if this transport is available,
         *         otherwise null
         * @throws NoMoreTransportsException
         *             if index is outside the range of available service books
         * @throws IOException
         *             throws exceptions generated by {@link getConnection( String
         *             transportExtras1, String transportExtras2 )}
         */
        private Connection getWap2Connection(String url, int index)
                throws NoMoreTransportsException, IOException {
            System.out.println("WAP2 try");
            if (index >= srWAP2.length) {
                throw new NoMoreTransportsException("Out of WAP2 transports");
            }
            if (CoverageInfo
                    .isCoverageSufficient(1 /* CoverageInfo.COVERAGE_DIRECT */)) {
                ServiceRecord sr = srWAP2[index];
                return getConnection(url, ";ConnectionUID=", sr.getUid());
            }
            return null;
        }
    
        /**
         * Generates a connection using the TCP transport if available
         *
         * @return An {@link HttpConnection} if this transport is available,
         *         otherwise null
         * @throws IOException
         *             throws exceptions generated by {@link getConnection( String
         *             transportExtras1, String transportExtras2 )}
         */
        private Connection getTcpConnection(String url) throws IOException {
            System.out.println("direct try");
            if (CoverageInfo
                    .isCoverageSufficient(1 /* CoverageInfo.COVERAGE_DIRECT */)) {
                String extraParameter = null;
                if (!DeviceInfo.isSimulator()) {
                    url = url + ";deviceside=true";
                }
    
                return getConnection(url, null, null);
                // ";deviceside=true", null);
            }
            return null;
        }
    
        /**
         * Utility method for actually getting a connection using whatever transport
         * arguments the transport may need
         *
         * @param transportExtras1
         *            If not null will be concatenated onto the end of the
         *            {@link url}
         * @param transportExtras2
         *            If not null will be concatenated onto the end of {@link url}
         *            after transportExtras1
         * @return An {@link HttpConnection} built using the url and transport
         *         settings provided
         * @throws IOException
         *             any exceptions thrown by {@link Connector.open( String name
         *             )}
         */
        private Connection getConnection(String url, String transportExtras1,
                String transportExtras2) throws IOException {
            StringBuffer fullUrl = new StringBuffer();
            fullUrl.append(url);
            if (transportExtras1 != null) {
                fullUrl.append(transportExtras1);
            }
            if (transportExtras2 != null) {
                fullUrl.append(transportExtras2);
            }
            if (extraParameters != null) {
                fullUrl.append(extraParameters);
            }
            // fullUrl.append(";ConnectionTimeout=5000");
            System.out.println(fullUrl.toString());
            return Connector.open(fullUrl.toString(), Connector.READ_WRITE, true);
        }
    
        /**
         * Public method used to reload service books for whatever reason (though I
         * can't think of any)
         */
        public static void reloadServiceBooks() {
            loadServiceBooks(true);
        }
    
        /**
         * Loads all pertinent service books into local variables for later use.
         * Called upon first instantiation of the class and upload {@link
         * reloadServiceBooks()}
         *
         * @param reload
         *            Whether to force a reload even if they've already been loaded.
         */
        private static synchronized void loadServiceBooks(boolean reload) {
            if (serviceRecordsLoaded && !reload) {
                return;
            }
            ServiceBook sb = ServiceBook.getSB();
            ServiceRecord[] records = sb.getRecords();
            Vector mdsVec = new Vector();
            Vector bisVec = new Vector();
            Vector wap2Vec = new Vector();
            Vector wifiVec = new Vector();
    
            if (!serviceRecordsLoaded) {
                for (int i = 0; i < records.length; i++) {
                    ServiceRecord myRecord = records[i];
                    String cid, uid;
                    // sometimes service record is disabled but works
                    if (myRecord.isValid() /* && !myRecord.isDisabled() */) {
                        cid = myRecord.getCid().toLowerCase();
                        uid = myRecord.getUid().toLowerCase();
                        // BIS
                        if (cid.indexOf("ippp") != -1 && uid.indexOf("gpmds") != -1) {
                            bisVec.addElement(myRecord);
                        }
                        // WAP1.0: Not implemented.
    
                        // BES
                        if (cid.indexOf("ippp") != -1 && uid.indexOf("gpmds") == -1) {
                            mdsVec.addElement(myRecord);
                        }
                        // WiFi
                        if (cid.indexOf("wptcp") != -1 && uid.indexOf("wifi") != -1) {
                            wifiVec.addElement(myRecord);
                        }
                        // Wap2
                        if (cid.indexOf("wptcp") != -1 && uid.indexOf("wap2") != -1) {
                            wap2Vec.addElement(myRecord);
                        }
                    }
                }
                srMDS = new ServiceRecord[mdsVec.size()];
                mdsVec.copyInto(srMDS);
                mdsVec.removeAllElements();
                mdsVec = null;
    
                srBIS = new ServiceRecord[bisVec.size()];
                bisVec.copyInto(srBIS);
                bisVec.removeAllElements();
                bisVec = null;
    
                srWAP2 = new ServiceRecord[wap2Vec.size()];
                wap2Vec.copyInto(srWAP2);
                wap2Vec.removeAllElements();
                wap2Vec = null;
    
                srWiFi = new ServiceRecord[wifiVec.size()];
                wifiVec.copyInto(srWiFi);
                wifiVec.removeAllElements();
                wifiVec = null;
    
                serviceRecordsLoaded = true;
            }
        }
    
        /**
         * Utility methd for converting a mask of transports into an array of
         * transports in default order
         *
         * @param mask
         *            ORed collection of masks, example:
         *            TRANSPORT_WIFI | TRANSPORT_BES
         * @return an array of the transports specified in mask in default order,
         *         example: { TRANSPORT_WIFI, TRANSPORT_BES }
         */
        private static int[] transportMaskToArray(int mask) {
            if (mask == 0) {
                mask = TRANSPORTS_ANY;
            }
            int numTransports = 0;
            for (int i = 0; i < TRANSPORT_COUNT; i++) {
                if ((DEFAULT_TRANSPORT_ORDER[i] & mask) != 0) {
                    numTransports++;
                }
            }
            int transports[] = new int[numTransports];
            int index = 0;
            for (int i = 0; i < TRANSPORT_COUNT; i++) {
                if ((DEFAULT_TRANSPORT_ORDER[i] & mask) != 0) {
                    transports[index++] = DEFAULT_TRANSPORT_ORDER[i];
                }
            }
            return transports;
        }
    }
    

    HIII, I use this class to call http to the server, but each time that gives the error No more TransportsException
    application only works on wifi
    I try both GET and POST nothing worked

    device: = 8520 os 5.0
    BIS service provider:-vodaphone plan 15/day
    in that gtalk and facebook works fine

    also I test this app in Arabic countries it also does not work

    ------------------------------after i am test using ---------------------------------------------
    networkDignostic link:- http://supportforums.blackberry.com/t5/Java-Development/What-Is-Network-API-alternative-for-legacy-O...

    use networkDignostic to test the available transport connection

    Here is the result

    The Radio Signal level:-81 dBm
    WIFI Signal level: No coverage
    Network name: Vodafone in
    Network type: GPRS
    Network services: data + EDGE + voice
    PIN: 27F03947
    Battery: 81%
    = End of network Info =.
    Transport: by default (HTTP GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: http://www.google.ca:80 /
    Journal:

    Login to http://www.google.ca:80 /
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: by default (Socket GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: socket: / /www.google.ca:80
    Journal:

    Connecting to a socket: / /www.google.ca:80
    Opening connection...
    Error: java.io.IOException: invalid url parameter.
    = END OF LOG =.

    Transport: by default (HTTP POST)
    Result: failure
    Answer:-1
    Length:-1
    URL: http://www.google.ca:80 /
    Journal:

    Login to http://www.google.ca:80 /
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: By default (POST plug)
    Result: failure
    Answer:-1
    Length:-1
    URL: socket: / /www.google.ca:80
    Journal:

    Connecting to a socket: / /www.google.ca:80
    Opening connection...
    Error: java.io.IOException: invalid url parameter.
    = END OF LOG =.

    Transport: TCP cellular (HTTP GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: http://www.google.ca:80 /; deviceside = true
    Journal:

    Login to http://www.google.ca:80 /; deviceside = true
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: TCP cell (Socket GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: socket: / /www.google.ca:80; deviceside = true
    Journal:

    Connecting to a socket: / /www.google.ca:80; deviceside = true
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: TCP cellular (HTTP POST)
    Result: failure
    Answer:-1
    Length:-1
    URL: http://www.google.ca:80 /; deviceside = true
    Journal:

    Login to http://www.google.ca:80 /; deviceside = true
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: TCP cell (POST plug)
    Result: failure
    Answer:-1
    Length:-1
    URL: socket: / /www.google.ca:80; deviceside = true
    Journal:

    Connecting to a socket: / /www.google.ca:80; deviceside = true
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: MDS (HTTP GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no MDS do not service records found.
    Ignored test: coverage of SDM is not available

    Transport: MDS (Socket GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no MDS do not service records found.
    Ignored test: coverage of SDM is not available

    Transport: MDS (HTTP POST)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no MDS do not service records found.
    Ignored test: coverage of SDM is not available

    Transport: MDS (POST plug)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no MDS do not service records found.
    Ignored test: coverage of SDM is not available

    Transport: BIS - B (HTTP GET)
    Result: pass
    Answer: 200
    Length:-1
    URL: http://www.google.ca:80 /; deviceside = false; ConnectionType = m * s - pub *
    Journal:

    Login to http://www.google.ca:80 /; * only given to the RIM ISV partners.
    Opening connection...
    Open connection
    Definition of the properties of application...
    Host: www.google.ca
    User-Agent: Mozilla/4.0
    Connection: close
    Get the response code...
    Response code: 200
    Got the content length:-1 bytes
    Downloading content...
    Download time: 3,034 seconds
    Downloaded: 37943 bytes
    Closes the connection...
    Connection closed
    = END OF LOG =.

    Transport: BIS - B (Socket GET)
    Result: pass
    Answer: 200
    Length: 38696
    URL: socket: / /www.google.ca:80; deviceside = false; ConnectionType = m * s - could * c
    Journal:

    Connecting to a socket: / /www.google.ca:80; * only given to the RIM ISV partners.
    Opening connection...
    Open connection
    Send GET request:
    "GET / HTTP/1.1".
    Host: www.google.ca
    User-Agent: Mozilla/4.0
    Connection: close

    "
    Downloading content...
    Download time: 2,397 seconds
    Downloaded: 38696 bytes
    Closing connection
    Connection closed
    = END OF LOG =.

    Transport: BIS - B (HTTP POST)
    Result: failure
    Answer: 405
    Length: 959
    URL: http://www.google.ca:80 /; deviceside = false; ConnectionType = m * s - p * ic
    Journal:

    Login to http://www.google.ca:80 /; * only given to the RIM ISV partners.
    Opening connection...
    Open connection
    Request method POST value
    Definition of the properties of application...
    Host: www.google.ca
    Content-Length: 1500
    Content-Type: application/octet-stream
    User-Agent: Mozilla/4.0
    Connection: close
    Display of 1 500 bytes...
    Posted 1 500 bytes
    Get the response code...
    Response code: 405
    Got the content length: 959 bytes
    Downloading content...
    Download time: 1,044 seconds
    Downloaded: 959 bytes
    Closing connection
    Connection closed
    = END OF LOG =.

    Transport: BIS - B (POST plug)
    Result: failure
    Answer: 405
    Length: 1204
    URL: socket: / /www.google.ca:80; deviceside = false; ConnectionType = m * Pei * li *
    Journal:

    Connecting to a socket: / /www.google.ca:80; * only given to the RIM ISV partners.
    Opening connection...
    Open connection
    Definition of the properties of application...
    Envoy POST request:
    "POST / HTTP/1.1".
    Host: www.google.ca
    Content-Length: 1500
    Content-Type: application/octet-stream
    User-Agent: Mozilla/4.0
    Connection: close

    "
    Display of 1 500 bytes...
    Posted 1 500 bytes
    Downloading content...
    Download time: 2,041 seconds
    Downloaded: 1204 bytes
    Closing connection
    Connection closed
    = END OF LOG =.

    Transport: WAP (HTTP GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no WAP do not service records found.
    Ignored test: coverage WAP is not available
    Ignored test: Please provide IP and APN WAP

    Transport: WAP (Socket GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no WAP do not service records found.
    Ignored test: coverage WAP is not available
    Ignored test: Please provide IP and APN WAP

    Transport: WAP (HTTP POST)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no WAP do not service records found.
    Ignored test: coverage WAP is not available
    Ignored test: Please provide IP and APN WAP

    Transport: WAP (POST plug)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: no WAP do not service records found.
    Ignored test: coverage WAP is not available
    Ignored test: Please provide IP and APN WAP

    Transport: WAP2 (HTTP GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
    Journal:

    Connection http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: WAP2 (socket GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
    Journal:

    Connecting to a socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: WAP2 (HTTP POST)
    Result: failure
    Answer:-1
    Length:-1
    URL: http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
    Journal:

    Connection http://www.google.ca:80 /; deviceside = true; ConnectionUID = WAP2 trans
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: WAP2 (POST plug)
    Result: failure
    Answer:-1
    Length:-1
    URL: socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
    Journal:

    Connecting to a socket: / /www.google.ca:80; deviceside = true; ConnectionUID = WAP2 trans
    Opening connection...
    Error: net.rim.device.internal.io.CriticalIOException: failed criticism tunnel
    = END OF LOG =.

    Transport: WiFi (HTTP GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: WiFi coverage is not available

    Transport: WiFi (Socket GET)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: WiFi coverage is not available

    Transport: WiFi (HTTP POST)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: WiFi coverage is not available

    Transport: WiFi (POST plug)
    Result: failure
    Answer:-1
    Length:-1
    URL: Not available url
    Journal:

    Ignored test: WiFi coverage is not available

    Thank you peter and jovinz

    I think I have problem in httpconnectionfactory with several url parameter, as peter says

    so now I have usr post url as the code below

       public static void CheckConnection()
        {
            HttpConnection hc=null;
            try
            {
                //Wifi Connection
                if ( (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED) && RadioInfo.areWAFsSupported(RadioInfo.WAF_WLAN))
                {
                    ConstantData.postURL=";interface=wifi";
                    return;
                }
                //for BES or MDS Connection
                if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS))
                {
                    boolean connectionFlag=false;
                    String post_url;
    
                    //for BES Connections
                    post_url="";
                    try
                    {
                        hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url,Connector.READ_WRITE);
                        if(hc.getResponseCode()==HttpConnection.HTTP_OK)
                        {
                            connectionFlag=true;
                            ConstantData.postURL=post_url;
                            return;
                        }
                        if(hc!=null)
                            hc.close();
                    }
                    catch (Exception e)
                    {
                        System.out.println(e.toString());
                        connectionFlag=false;
                    }
                    //for MDS Connection
                    if(!connectionFlag)
                    {
                        try
                        {
                            post_url = ";deviceside=false";
                            hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url);
                            if(hc.getResponseCode()==HttpConnection.HTTP_OK)
                            {
                                ConstantData.postURL=post_url;
                                return;
                            }
                            if(hc!=null)
                                hc.close();
                        }
                        catch (Exception e)
                        {
                            System.out.println(e.toString());
                        }
                    }
                }
                //for BIS Connection
                if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_BIS_B))
                {
                    //BIS Connection
                    String post_url = ";deviceside=false;ConnectionType=m**-pu***c";
                    try
                    {
                        hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url);//Connector.READ_WRITE
                        if(hc.getResponseCode()==HttpConnection.HTTP_OK)
                        {
                            ConstantData.postURL=post_url;
                            return;
                        }
                        if(hc!=null)
                            hc.close();
                    }
                    catch (Exception e)
                    {
                        System.out.println(e.toString());
                    }
                }
                //for WAP Connection
                if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_DIRECT))
                {               //for WAP Connection
                    String post_url = null;
                    ServiceBook sb = ServiceBook.getSB();
                    ServiceRecord[] records = sb.findRecordsByCid("WPTCP");
                    String uid = null;
                    boolean connectionFlag=false;
                    for(int i=0; i < records.length; i++)
                    {
                        if (records[i].isValid() && !records[i].isDisabled())
                        {
                            if (records[i].getUid() != null && records[i].getUid().length() != 0)
                            {
                                if ((records[i].getUid().toLowerCase().indexOf("wifi") == -1) &&
                                        (records[i].getUid().toLowerCase().indexOf("mms") == -1))
                                {
                                    uid = records[i].getUid();
                                    break;
                                }
                            }
                        }
                    }
                    if (uid != null)
                    {
                        post_url= ";deviceside=true;ConnectionUID=" + uid;
                    }
                    try
                    {
                        hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url);
                        if(hc.getResponseCode()==HttpConnection.HTTP_OK)
                        {
                            connectionFlag=true;
                            ConstantData.postURL=post_url;
                            return;
                        }
                        if(hc!=null)
                            hc.close();
                    }
                    catch (Exception e)
                    {               System.out.println(e.toString());
                    connectionFlag=false;
                    }
                    if(!connectionFlag)
                    {
                        post_url=";deviceside=true;apn=blackberry.net";
                        try
                        {
                            hc = (HttpConnection) Connector.open("http://www.rim.com"+post_url);
                            if(hc.getResponseCode()==HttpConnection.HTTP_OK)
                            {
                                ConstantData.postURL=post_url;
                                return;
                            }
                            if(hc!=null)
                                hc.close();
                        }
                        catch (Exception e)
                        {
                            System.out.println(e.toString());
                        }
                    }}
            }
            catch (Exception e)
            {
    
                e.printStackTrace();
            }
            finally
            {
                try
                {
                    if(hc!=null)
                        hc.close();
                } catch (IOException e) {
                    System.out.println(e.toString());
                    e.printStackTrace();
                }
            }
    
        }
    

    so now its works on WAP2, BIS and the WIFi works fine

    the first issue of priority celluler TCP post code is also more WAP2 then

    Thus, each transport time select TCP when BIS, WIFI not presend and need for apn

    in any case, once again, thank you Peter and demo tools network dignostic is awasome...

  • How can I change my wifi connection password?

    When I registered my cell phone; the passwor d created necessary 8 characters and I went only 7. I can't understand how to access this parameter to change, and now we are unable to connect to wifi with our smart phones

    Hello

    Go to your router admin pages...

    • Click Start, type cmd, and then on enter.
    • In the black window resulting type ipconfig and press to enter.
    • The router admin pages is accessible by ip address which is defined as the value default gateway for the network connected to your router device.
    • Open a browser and type http:// (the gateway ip address is in the format x.x.x.x, where x is a number, probably 192.168.x.x).
    • This should open a login page of your router. A user name is admin. typical passwords are password, admin and blank (no password).
    • If the user name and passwords you try do not work, see the documentation or go to your router manufacturer's website help pages.
    • Once connected to the appearance for wireless settings/security/encryption links.

    Tricky

  • How to return results to the job application?

    Hello

    The application that I must be able to perform procedures and works asynchronously (run a stored procedure and do not wait the results.) A different thread will show the results at a later date).

    What I came up with is a mechanism that distributes the jobs by running the desired procedures and signals the application thread waiting on a performance of the work by using dbms_alert.signal. The application in his spare time reads the results of the table and then employment has created and he falls when it is done.

    The problem is I have many different methods, each do very different logic and you end up with another result/slider/record-set (different columns, different values), I need to be able to read the application after receiving the signal.

    I expect a statement as if by magic 'create table from sys_refcursor', but there seems to be no such thing (disappointment).
    I have read many things on the table and features in the pipeline, but the problem is that for each procedure, I set a different type for the return clause, and I was expecting something more 'generic '. I don't want the procedures to make the table of results to create themselves (unless it's my only option)

    You have a way to turn a sys_refcursor in a table?
    I am that face the wrong way?

    Any help would be appreciated!
    Thank you.
    -Mor

    Pyrocks wrote:

    I have to move the cursor to return - I need to return the result.

    How to get to this result? With the help of a select SQL statement.

    What does Oracle with this SQL statement? Analyze and store them as a cursor.

    All SQLs are analyzed as cursors.

    Why not create a table (temporary use), called "temp_result_n" where n is a number.

    Not a good idea to dynamically create tables - that need to use dynamic SQL. And code management and control to clean later.

    It's ugly. The process will fail and temporary tables created not get cleaned. Dynamic SQL can hit any runtime errors. Etc.

    This is a much more robust approach to use a static data model - one that does not punish dynamic to use code.

    Can you please explain why your way is better than using tables?

    I'm all for the use of the tables. The basic concept I've tried to explain, is that the background process must happen something to the process parent to tell him how and where to get the results, he has created.

    The more flexible method would be to pass a SQL statement - as the background process will know exactly what the parent needs to access these results run SQL.

    The parent gets this SQL statement (with bind variable), run it (which creates a slider) and process the results.

    Another approach is more static - have the parent tell the background process in which table to create its results. But it is less flexible.

    Another approach, you can use use the primary key of the data entity dealing with the background has to process. For example, the caller can give the background process an invoice number and when you said it's done, the appellant knows what Bill has been processed.

    So, there are a number of ways that the parent process and the child process of background can pass data between them. The most generic of these would be for the child to pass a SQL Select to the parent of the parent to use to access the result set created by the child.

    But it will be a too complex approach if the parent simply needs to create children for an invoice and save the invoice number with the id of child's work. When the parent is the signal that the child is done, it looks simply invoice number that has now been addressed by the child.

    There is no single best approach for this. It depends on your needs and what parents and children must do and how this approach to parallel processing is to increase the performance and scalability to provide.

    BTW,
    I would be very grateful if you could tell me how to translate DBMS_SQL. Column col_type DESC_REC in actual data types (1 = varchar2, 12 = date - where can I find the rest?)

    Take a look at the table in Pro * PL/1 to the precompilateurs Oracle® supplement Guide guide. The same table is probably repeated n other pre-compiler and OIC guides too.

  • Google search, close the tab back to results page, he left Firefox

    When you use Internet Explorer, I do a Google search, select a result and the selection opens in a new tab. I close this selection and it goes back to the Google results page, so I can choose another result. Or, I can leave this open selection, click on the results tab and have several selections open simultaneously, each on its own tab.

    With Firefox, when I close the selection, he leaves Firefox. I have to reload Firefox and do a new search over and over again. He warns that I close the 2 tabs but there is only one.

    I jumped the last sentence. You can have several groups of tabs. You can press Ctrl + Shift + e to display the groups of tabs in the current window and consolidate the tabs that have been separated. However, normally, you don't expect a tab to open in a separate group on its own...

Maybe you are looking for

  • Erratic behavior of the mouse on the Qosmio DX730

    I recently purchased a Qosmio DX730 and the wireless mouse behaves erratically. He jumps on the screen and is just about manageable for basic use, but practically useless for any detail as the manipulation of graphics work. This is no program related

  • graphic problem double y510p

    Hello. I have two graphics cards: -integrated: intel graphics HD 4600 -dedicated: nvidia geforce gt 750 m I recently reinstalled sytem and tried to pass windows 10. I know that pilots are not compatible, so I reinstalled windows 8.1, installed latest

  • Aspire Z5771 all-in-one

    Hi all I bought my Acer Aspire Z5771 (in Thailand) a few years, always on, very happy with it. I bought Windows 7 and immediately upgraded to Windows 8 with a few hiccups, but finally got the fact. Now, I can't do the next update of Windows 10. I hav

  • WEI Score for discs hard max to 5.9?

    Score of WEI disk data transfer rate. Built a new server with windows 7 on it. A ran WEI and I noticed that the score for Disk Data Transfer Rate was 5.9. I bought a new disc of hard WD 6 GB/s, the operating system reinstalled on it, and the score is

  • Background black compostion on export of SOUL

    I'll start by saying, this is the first time that I started to use the SOUL.When I export my composition of SOUL with a background color (#EEEEEE) grey very pale, or any color Besides, when I see the preview, and when I export it entirely, the backgr