AJAX request works just with a Wi - fi Blackberry Widget

I'm doing an Ajax request to're RESTful WebService. When I run the Simulator everything works fine, but when I install the widget for blackberry on my device (9800) applications works when I'm using the Wifi connection...

It's my config.xml file:


http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="0.2.0.0">
  bbbb
  bbbb
  
  
  
  
  
  
  
  
  
  
    
    
    
    
    
    
    
    
    
  
  
  
  
    TCP_WIFI
    MDS
    BIS-B
    TCP_CELLULAR
    WAP2
    WAP
  
  
  

Why this is happening?

Finally! I found it! I have no why, but it works only on .com, .net o .org domains

I made the request to a .mobi domain.

Tags: BlackBerry Developers

Similar Questions

  • After the upgrade to Firefox 4.0, I returned to Firefox 3.6 because plug-ins, such as Media Player, would not work just with 4.0. They now work with 4.0.1?

    After the upgrade to Firefox 4.0, I returned to Firefox 3.6 because plug-ins, such as Media Player, would not work just with 4.0. They now work with 4.0.1?

    I used WMP plugin with Firefox 4 since its release.

    The problem is probably because she couldn't find the WMP plugin. One way around this problem is to install the HTML5 Extension for Windows Media Player Firefox plugin available from http://www.interoperabilitybridges.com/html5-extension-for-wmp-plugin

    This add-on will do 2 things, it will install the WMP plugin in a place that can find Firefox 4, it will also add an extension to add additional functionality for use by Windows Media Player. This extension has been reported as causing memory leaks, so I recommend that once you install the HTML5 Extension for Windows Media Player Firefox plugin, you must restart Firefox then uninstall the extension. The extension uninstaller will not remove the plugin, Firefox 4 will still be able to use it.

  • I just got a new modem (Arris SB6190) and now my Airport Extreme does not connect.  It worked fine with the previous modem (a rented one TWC).  Help!

    I just got a new modem (Arris SB6190) and now my Airport Extreme does not connect.  It worked fine with the previous modem (a rented one TWC).  Help!

    Always recommended to reset the airport back to settings by default and then set up again whenever you have a new modem or change your Internet Service provider.

    Turn off the new modem for at least 30 minutes. More is better.

    Perform a hard reset on the AirPort Extreme, then it turned off.

    Make sure that the Ethernet cable connects the modem to the "O" on the AirPort Extreme WAN port

    After the power of the modem 30 minutes down, turn on the modem and let it run for at least 5 minutes by itself.

    Then, turn on the airport and let it run a few minutes

    Set up AirPort Extreme again

    Important note... There are many reports of problems with the modem Arris SB and airports. Both are great products, but they do seem to work perfectly together for some users.

  • Can LabVIEW Embedded for ARM works with any Board or just with a few predefined?

    Hello

    Can LabVIEW Embedded for ARM works with any evaluation committee or just with a few predefined (MCB2300, MCB2400 and EK-LM3S8962)? I ask this question because even if I chose "another processor" in the definition of the new project only 3 options are the corresponding arm of Phillips and LuminaryMicro.

    Thanks in advance,

    Howdy,

    LabVIEW for ARM supports the feature of targets for tier 1 (the mentioned Evaluation Committee) following this schema:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7066

    But you can transfer to other weapons if you follow this porting guide:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/6994

    The uProcesser SDK is intended for the port of other targets of DEPENDENCE (32-bit, of course) and technically it covers ARM as well. Alternatively, there are the LabVIEW C Code Generator: http://sine.ni.com/nips/cds/view/p/lang/en/nid/209015

  • I bought Halo 2 for Vista, but who like OS Windows XP Pro, just can't launch the startup.exe, I search the community, there is a rumor that it won't work even with the patch. Can someone help, please?

    I bought Halo 2 for Vista, but who like OS Windows XP Pro, just can't launch the startup.exe, I search the community, there is a rumor that it won't work even with the patch. Can someone help, please?

    Unfortunately, Halo 2 does support Windows Vista and more.  Windows XP is not supported.  There may be 3 party hacks that can make it work, but they are not taken in charge and potentially dangerous.

    Paul Smith - MVP for Windows desktop experience... I crawled off NNTP - for now. Detachment Aldershot, United Kingdom. On the internet at windowsresource.net and dasmirnov.net. Please post back to let us know what works and what does not. :-)

  • Just upgraded to Vista Home Premium to XP. Got a Packard Bell with RF for the Media Center remote control, worked fine with XP, but is no longer compatible with Vista.

    after update to XP media center units Vista remote control

    Just upgraded to Vista Home Premium to XP.  Got a Packard Bell with RF for the Media Center remote control, worked fine with XP, but is no longer compatible with Vista.  I checked the usb driver for the usb XF-10 rf remote receiver and it is fine, uninstalled and reinstalled it.  Handset was working fine a few days ago.  I also went in 'Administrator', 'services' and then active HID, but it still does not work.  Media works well, but it would be nice to have the operation of the remote control!  Not particularly computer, simply suggestions please!  Thank you, Nick.

    Hi Nicolas,

    I suggest you to check the battery. Additionally, make sure that you have installed the right drivers for you Consumer IR Port.

    For more information, you can check the link below,

    http://www.PackardBell.com/index.html

  • I just upgraded to 5 Lightroom vs 7.1 and I'm more able to import any type of photo - raw/jpeg.  All this worked fine with my previous version.  I have a mac updated newish.  Any ideas would be welcome.

    Since the upgrade to Lightroom vs 7.1 5 I'm more able to import my photos.  All this worked fine with my previous version.  I use ios on a MacBook Air.  Any ideas?

    This means that you don't have the WRITE permission to the folder where you try to copy the photos to. Determine so, you try to copy photos in the folder (this is in the dialog box import on the right to the title of the Destination), then go in your operating system and change the permissions on this folder SPECIFIC to WRITE permission.

  • call to the Ajax process work does not correctly

    Hi guys Apex.

    I am new to apex and need a little help with a bug in my next javascript.

    I have an anonymous pl/sql block that shows me a list of products, so that the user can enter a few quantityes on those desired.

    I got another part of HTML that contains the JavaScript in this region, I check the quantity selected by the user (account product id and quantity entered) and the end of the page, there are 2 buttons.

    The first is to generate totals of runing, it works perfectly.

    The second add the products in the Collection (calling a callback procedure Ajax ADD_PRODUCTS) and finally in the same process of button, I save the order until the final table on my db, the latter a speech to another process to recall Ajax calles RECORD.

    The bug that I have is that the process is not save the entire products on my database, a few times for example if I get quantities for 10 products, the process saves me only 8 or 7, it's a random outcome.

    I looked at the code and seems that the problem is on my ADD_PRODUCTS process, because on my javascript where I call him, I have displayed on the screen, the total order quantity and runnign and it shows perfect, always.

    I use the Application Express 4.2.2.00.11 on DB SE

    next is:

    1 - Javascript

    2 - ADD_PRODUCTS ajax

    3 - RECORD Ajax

    Thanks for the tips,

    MJ

    -------

    1 JavaScript

    -------

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 / / IN" "http://www.w3.org/TR/html4/strict.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf - 8 ">

    Totalizar < title > < / title >

    < script type = "text/javascript" >

    $(function () {})

    () $("#Calculate").click

    Mueve el valor al campo of amount

    function () {}

    var total = 0;

    var total_qty = 0;

    () $("input[name=f_qty]").each

    function () {}

    var amount = $(this) .val ();

    var productId = $(this).parents('tr') .find ("input [name = f_prod_id]") .val ();

    If (amount! == ") {}

    price var = $(this).parents('tr') .find ("input [name = f_unit_price]") .val ();

    var prodtotal = (quantity * price);

    Total = total + prodtotal;

    total_qty = total_qty + 1;

    }

    }

    );

    $('#printHere').html (decimalizer (total));

    $('#printHereqty').html (total_qty);

    }

    );

    funcion para formatear el resultado one shark 2 decimal places

    function decimalizer (input) {}

    var Test1 = 0;

    var test2 = 0;

    entry = Math.round(input * 100);

    If (input / 100 == Math.round(input / 100)) {}

    Test1 = 1;

    } ElseIf (entry / 10 == Math.round(input / 10)) {}

    Test2 = 1;

    }

    If (test1 == 1 & & test2 == 0) {}

    return (input / 100 + ".") 00');

    } ElseIf (test1 == 0 & & test2 == 1) {}

    return (input / 100 + '0');

    } else {}

    return (input / 100);

    }

    }

    -Starts process of application del pedido.

    Apply el Pedido

    () $("#Save").click

    -Add products to the collection

    function () {}

    () $("input[name=f_qty]").each

    function () {}

    var amount = $(this) .val ();

    var productId = $(this).parents('tr') .find ("input [name = f_prod_id]") .val ();

    If (amount! == ") {}

    $("#P1_CANTIDAD_PEDIDO").val (quantity);

    $("#P1_PRODUCT_ID").val (productId);

    Apex. Server.Process ("ADD_PRODUCTS", {}

    pageItems: ' #P1_CANTIDAD_PEDIDO, #P1_PRODUCT_ID.

    });

    }

    }

    );

    PlaceOrder();

    });

    -Add los productos end has the Collection-

    function placeorder() {}

    Apex. Server.Process ("SAVE", {pageItems: "#P1_CODIGO_CLIENTE, #P1_TIPO_CLIENTE"});

    var total = 0;

    var total_qty = 0;

    Alert ('Medal created');

    Poner en 0 las cantidades digitadas

    () $("input[name=f_qty]").each

    function () {}

    var amount = $(this) .val ();

    If (amount! == ") {}

    $(this) .val ('');

    }

    }

    );

    $('#printHere').html ((total));

    $('#printHereqty').html (total_qty);

    }

    });

    < /script >

    < / head >

    < body >

    < div id = "total" > < / div >

    < p >

    < strong > ORDER TOTAL:

    < span id = "printHere" > < / span >

    < facilities >

    < /p >

    < p >

    < strong > ORDER PRODUCTS:

    < span id = "printHereqty" > < / span >

    < facilities >

    < /p >

    < p align = "center" style = "" clear: both; ">"

    < button type = "button" style = "' make-weight: bold;background-color:lightgray;margin-left:auto;margin-right:auto;display:block;margin-top:0%;margin-bottom:0%" id = 'Calculate' > total 120 Hz < / button > "

    < /p >

    < p align = "left" style = "" clear: both; ">"

    < button type = "button" style = "' make-weight: bold;background-color:lightgray;margin-left:auto;margin-right:auto;display:block;margin-top:5%;margin-bottom:5%" id = "Save" > order < / button > "

    < /p >

    < / body >

    < / html >

    -------

    2 ADD_PRODUCTS

    -------

    Start

    apex_collection.add_member (p_collection_name = > 'ORDER',)

    p_c001 = >: P1_PRODUCT_ID,.

    p_c003 = > sib_precio_cte_prod ('001 ', ' 1776',: P1_PRODUCT_ID).

    p_c004 = >: P1_CANTIDAD_PEDIDO

    );

    END;

    -------

    3 SAVE

    -------

    declare

    number of l_order_id;

    l_count number;

    l_customer_id varchar2 (30): =: P1_CODIGO_CLIENTE;

    Start

    -Insert a row into the table Order Header

    insert into cab_orders (customer_id, order_total, order_timestamp, user_name)

    values (l_customer_id, upper(:APP_USER), null, systimestamp) back into l_order_id order_id;

    commit;

    insert into det_order (order_item_id, order_id, product_id, unit_price, quantity)

    Select null, l_order_id, to_number (c001), to_number (c003), to_number (c004) from apex_collections where collection_name = "ORDER";

    commit;

    -The value of the P1_numero_orden order point which was placed just

    : P1_numero_orden: = l_order_id;

    -Truncate the collection once the order has been placed

    apex_collection.create_or_truncate_collection (p_collection_name = > 'ORDER');

    l_count: = APEX_COLLECTION. COLLECTION_MEMBER_COUNT (p_collection_name = > 'ORDER');

    : P1_cantidad_registros: = l_count;

    end;

    It is no doubt a few classic miss the A in AJAX. When execute you a loop on the orders you make an ajax call for each, and after the loop, you trigger the placeorder ajax call. However, it might be that ajax add_products calls have not finished yet at the point where you call the placeorder call. This would explain the apparently random quantity of the entered orders: orders may simply not have made it in time to the collection.

    Another you're not processing orders where the quantity has not been met, but this probably isn't the cause since you mention that you have filled with quantities.

    The solution is to: have / do these add_order synchronous requests or B / keep them asynchronous and learn something new, called promises

    A crash the browser because do you wait before the end of his run - but it's maybe not really noticeable so would find you acceptable.

    apex.server.process("ADD_PRODUCTS", {
        pageItems: "#P1_CANTIDAD_PEDIDO,#P1_PRODUCT_ID"
    },
    {async: false})
    

    B is more interesting. You have a variable amount of ajax calls and want to wait until they have all completed in order to do something else. Promise interfaces provide this feature in the async environment and jquery has its own implementation of it. I suggest Googling it and read on this topic - its very interesting and it will be part of the future (alone, today!)

    $("#Save").click(
        // ----- Agregar los productos a la collection
        function () {
            //array to hold all the ajax requests
            var requests = Array();
            $("input[name=f_qty]").each(
                function () {
                    var quantity = $(this).val();
                    var productId = $(this).parents('tr').find("input[name=f_prod_id]").val();
                    if (quantity !== '') {
                        $("#P1_CANTIDAD_PEDIDO").val(quantity);
                        $("#P1_PRODUCT_ID").val(productId);
                        requests.push(
                          apex.server.process("ADD_PRODUCTS", {
                              pageItems: "#P1_CANTIDAD_PEDIDO,#P1_PRODUCT_ID"
                          })
                        );
                    };
                };
            );
            //when all ajax calls are completed act on the done callback
            var defer = $.when.apply($, requests);
            defer.done(function(){
              placeOrder();
            });
        });
    

    Here are some links with relevant information on this solution:

    Apex.Server.process JavaScript APIs

    The return value of this function is a jqXHR object. This is required to use the interface of the promise! Once again at the apex, the hats of the team for this great new feature ajax

    jQuery.Ajax. jQuery API Documentation

    Documentation on the jquery ajax function. It contains information about the jqXHR object and shows all the options available. For reference.

    Wait until any jquery ajax request are done? -Stack overflow

    jQuery when troubleshooting with a variable number of arguments - Stack Overflow

    StackOverflow questions / answers lets get this solution. More info in them!

    jQuery.when () | jQuery API Documentation

    When interface $ you see used

    https://developer.Mozilla.org/en-us/docs/Web/JavaScript/reference/Global_Objects/function/apply

    Information about using "apply" If you've not seen before. It has been used in the solution of SO due to the variable number of arguments - very interesting!

  • affecting values to display only point during the AJAX request

    Hello

    Hello!

    In a master form / detailed in the report in detail, I'm filling two columns SERVICE_TAX_PCT and SERVICE_TAX_AMOUNT by an AJAX request after selection of the ACCOUNT_CODE.  The values are filled out with any problem.

    However, whenever I do these two fields in view-only mode, the values are not get defined.  Is there a way to set the values of a field at the same time, it should be limited to the user to modify?

    (APEX 4.2.6)

    img-1.png

    Thank you

    -Anand

    Hi Anand,

    anand_gp wrote:

    It works and makes the column read-only.  But in this case only for the line of action.  How do these two columns 'read only' permanent for all folders and all the time?

    (1) not remove the code from line 18 of your javascript that is function

       $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    

    (2) then create after updating dynamic action and put this code

    Event: after refresh

    Selection point: region

    Region: you select the region

    Action: Run Javascript

    Fire on charge: checked

    Code:

    $('input[name="f05"]').attr("readonly", true).addClass('row_item_disabled');
    $('input[name="f06"]').attr("readonly", true).addClass('row_item_disabled');
    

    Here replace f05, f06 with your markup of column

    Hope this helps you,

    Kind regards

    Jitendra

  • Is possible to use = href and onclick = Ajax.request to track outgoing link?

    Hello

    I m new in Oracle Apex and I try now to follow outgoing links on my Apex 3.2.1 application.

    When the user clicks on a link of my application that redirects to a past site, I want them to be taken on the site (href) and I also want a background script that fit into a table in oracle, this 'click '.

    For example, I have this link in a page of the APEX:

    When the user cliks in this link, I would like to run a procedure oracle, with a setting in the background. Let´s call this procedure, for example:

    SP_REGISTRA_ACESS_LINK(:P19_COD_TOPICO).

    This procedure to insert a record into a table called BAC_ACESS, ranger in the SYSDATE and value of ': P19_COD_TOPICO.

    Is it possible to link to a new site and call an AJAX request at the same time?

    Could someone give me an example of how I can do? How can I implement in my Apex 3.2.1 application?

    I m working with Apex 3.2.1 and RDBMS 9i. I can't spend any of these versions, cause Apex is installed in a production database that can be upgraded now to 10g / 11g.

    Best regards

    Sergio Coutinho

    Hello

    Ok
    One solution could be to make you your own custom County click procedure that you call in the URL.
    You go to this external link to procedure and other settings you need.
    Procedure to make your custom orders and last stage call owa_util.redirect_url and redirect the user to this external link
    http://download.Oracle.com/docs/CD/B13789_01/AppDev.101/b10802/w_util.htm#997457

    You create the APA procedure, analysis of schema and grant execute user to DAD.
    In addition, you may need change Apex schema function wwv_flow_epg_include_mod_local
    http://download.Oracle.com/docs/CD/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#AEADM209

    Kind regards
    Jari

  • Execution of a declarative elements AJAX requests

    HI guys,.

    We are building an ADF based portal application and design involves the creation of a declarative component which will be 'built' in the jspx parent page. This declarative component, during rendering, you must call an AJAX JavaScript application, based on the attributes that have been passed into the constructor of declarative components highlighted below. Essentially, we need to take the value of the ss_Email field and use it in a custom js function (defined in the declarative component) to call an AJAX request to an external resource and view the results online in the component. The reason why this component must call the AJAX code is our end point expects a connection token that is generated from the browser. The call of the declarative component is defined as follows:

    < af:form id = "f1" >
    < af:panelGroupLayout id = "pgl1" layout = "vertical" >
    < ss:ssConsumer id = "sc1" ss_Email = "[email protected]" ss_LastName = "Pradhan" / >
    < / af:panelGroupLayout >
    < / af:form >

    What I did in my component declarative is to set the value of the attributes of elements in a field of entry as follows:

    < af:inputText label = "email" id = "inputEmail" value = "#{ss_Email}. uploading" columns = "40" clientComponent = "true" >

    It works and I can see the correct value passed into the component. I have a problem with is hang what component text input, such that I can call a method of Javascript that I can read my af:inputText value in a method and begin my AJAX call. I tried to attach an af:ClientListener but it does not help because there is no interaction of the user within that component, that is why none of the types of events (mouseover, blur, click, etc.) are useful. I need actually an event 'onload' for the declarative component, but of course, this does not exist. To solve this problem, I used a block of standard script to force the component to call my js method that is

    < script language = "javascript" reporter = 'reporter' >
    getTextValue();
    < /script >

    The problem I am facing now, is that I'm not sure that ADF JS API will give me the value of my input text. I tried the methods AdfPage.PAGE and tried to retrieve the correct value, but have so far failed.

    var label = AdfPage.PAGE.findComponent('dc_pgl1:dc_pfl2:inputEmail').getValue();)
    var Label2 = AdfPage.PAGE.findComponentById('dc_pgl1:dc_pfl2:inputEmail').getValue();)
    var Label3 = document.getElementById('dc_pgl1:dc_pfl2:inputEmail').value;

    I guess because it is a declarative component and not in the Page, I can't use these methods. Are there alternatives that should I try or pointers to other ADF JS method calls that I should try to get the value of my javascript input text.

    Many thanks in advance,

    Sanjay

    Hello

    as far as I know, all Trinidada component trh:script did the same thing as

  • Printing in 2 programs problem started 2 days ago, only firefox works fine with Internet Explorer?

    Services Bank web site has a "Print - Friendly View" text, on the top right of the page that displays the account information in a different format if you click on the text. Printing all other functions work ok. The problem isn't when you use them Internet Explorer. The other program is on the Aflacs website, and the problem is very similar. When I click on the text stating "Print copy of invoice", nothing happens, as the text of the Bank. Both work perfectly with Internet Explorer. The problem started about 2 days ago. When it works well, a window will open and show you what it will print and you click on the text "print", and it prints. Any help on this problem will be greatly appreciated.
    Thank you
    Joe Anderson

    You have this problem when running in Firefox SafeMode?

    http://support.Mozilla.com/en-us/KB/safe+mode

    Do not choose anything at the moment, just use 'continue in safe mode.

    When in Safe Mode...

    • The State of plugins is not affected.
    • Custom preferences are not affected.
    • All extensions are disabled.
    • The default theme is used, without a character.
    • userChrome.css and userContent.css are ignored.
    • The layout of the default toolbar is used.
    • The JIT Javascript compiler is disabled.
    • Hardware acceleration is disabled.

    If this is not the case, see this:

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

  • Firefox version 3.6 to 11 beta does not work properly with gmail

    Gmail does not work with any version of firefox 3.6 to 11. I tried several more recent versions of firefox and they ALL DO NOT WORK CORRECTLY with GMAIL! It IS VERY FRUSTRANT and BORING! I can't click on the links or just repeat LOADING when I try to delete a message or even go in gmail settings.

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

  • Portege R600-140: message says: device would work better with USB 2.0

    R600-140 win 7 prof
    I plug in a device of capture usb video and a popup appears saying (roughly)

    + This device would work better with USB 2.0 - Click here for a list of usb ports.

    I thought all the usb ports 2.
    I just checked the drivers in the Panel, and I thought they are all up to date.

    The laptop supports without a doubt USB 2.0 ports.
    I guess that this message can appear for many reasons: for example the USB device malfunction.
    Also the problem of USB port could be responsible for such error.

    So as the first workaround I recommend you remove the USB hubs and controllers in the Device Manager list.
    Open the Device Manager, look for the controllers and USB hubs and uninstall the driver.
    Reboot the laptop

    Usually the system will begin to recognize USB devices.

    Note: during this procedure, all external USB devices must be disconencted

  • Re: Toshiba Store Alu 3.5 "1 TB HARD drive works only with Windows 2008 64-bit

    Just bought this as a backup device for Small Business Server 2008 running on Windows 2008 64-bit. However it does not? Are there drivers anywhere for this or it is simply not supported and I need to buy an alternative solution?

    Plugged into my laptop Windows 7 64 bit and no problems.

    Someone else had the same problem?

    Hello

    Unfortunately, there is no other software by download.
    I checked the driver page Toshiba in the Options area but didn't find anything

    AFAIK it of a plug & play HARD drive if you n t need any software to recognize the HARD drive

    There may be a password.
    Try this:
    Connect your HARD drive to the computer when the HARD drive is working
    Select the CD drive with your browser (password)
    Run the ONSPCLCK.exe
    Select 'Options '.
    Select "Disable security password"
    Enter your current password
    Unplug the HARD drive
    connect the HARD drive

    Now, it will work, but with no password protection. Perhaps it would work

Maybe you are looking for