CORS for Webview in Cascades

The Web view is not able to make ajax requests to Web sites or in the api that do not have the same original disabled policy. There is no problem with phonegap or webworks, but with waterfalls.

Here is an article with a workaround which unfortunately no longer works, maybe one of you guys can do it help me:

http://wesquire.ca/blog/2013/03/BlackBerry-10-Cascades-WebView-CORS

@anzor_b @Kareem_ELSayed @Pumano

Thank you for your time and help me with this problem. You are both well it seems that the api isn't really compatible CORS. The funny thing is that I can consume with XmlHttpRequest API in stunts, but not from the Web view. Do not know why.

There is a fairly simple solution for all the APIs that do not support the HORNS, there is a small proxy here site: http://jsonp.jit.su which allows you to access the API of 4chan and other APIs with no problems directly from the Web view with jQuery.

Tags: BlackBerry Developers

Similar Questions

  • Programming of FPGA for motor control using downloadable IP cores for free for PWM and interfacing Quadrature encoder

    Hello

    I have a cRIO-9014 with a NI9505 DC brushed servo drive module and I would like to program the FPGA to PWM and encoder, quadrature, interfacing using the functions of intellectual property intellectual property mentioned in "CompactRIO Motor Control Basics Tutorial":

    DX of encoder quadrature method (FPGA, using SCTL) .vi

    Pulse Width Modulation (FPGA, using SCTL) .vi

    I did a search at ni.com/ipnet but I could not find them.

    Where can I find free downloadable IP cores for the blocks of PWM and encoder to include them in my interface FPGA program?

    Thanking you in advance,

    Manual

    Found by myself (google search!) to:

    https://lumen.NI.com/nicif/us/codepowelecguide/content.XHTML

  • VM is to have 1 CPU, can we reduce the number of core for CPU.

    VM is to have 1 CPU, can we reduce the number of core for CPU.


    Capture.JPG

    In this article: the number of cores per processor in a virtual machine (1010184)

  • Dual-Core or Quad core for 3 Mainstage

    Hello

    I'd go with the quad core. MS will use as many hearts as you want. Simply enter the number in the Advanced preferences Audio settings. You can use all of them, although I've seen a few comments about letting a carrot or two open for the operating system and other processes on the computer. With the i7, there are also 4 virtual cores, so you will see 8 in preferences. I usually give 7 MS and leave an opening for the OS, but I didn't a lot of testing with this, while others may have more information about what I do.

    Definitely go with 16 GB of ram. If you start using instruments of large sample, you will need. You can use aliases to manage memory more efficiently, but it is nice to have enough ram so that you do not have to worry not so much stuff like that. I use 5 Kontakt and EXS a bit and I would certainly hurt if I had only 8GB. Generally, I think that the required memory tend to go up, in order to have more ram will prolong the life of your computer. Unfortunately (and incredibly!) you can't add ram later, because I believe that the ram is soldered to the motherboard.

    I am also a big fan of getting the biggest SSD (or all what they call the last storage solid-state on recent Macs) you can afford. You cannot replace this component on the newer models of MBP either, then you will be stuck with what you buy. Applications, sample libraries, plug-ins, etc, that all seem to grow in size over time and it's not funny if you run out of room.

    Good luck!

  • Event 37, core - for 8-processor CPU power

    Hello!

    Thanks for reading!

    First of all, I should mention that my computer works well. However, in the Event Viewer I see several warnings for:

    Event 37, kernel-processor-Power

    The messages that I receive is:

    The speed of the processor (0-7) in group 0 is restricted by the system firmware. The processor has been in this state of reduced performance (usually 3-5) seconds since the last report.

    Whenever there are 8 of the same event, at the same time, one per processor.

    I was wondering what could be the cause. I think that this could happen while my pc is in standby mode when it is and I do not use it.

    Is it a "problem"? The temperature always seems to be cool. And flipping through the event log, I see that it happened almost since I bought the computer (nine).

    Alienware m14x.

    Windows 7 Home Premium

    Intel Core i7-2630QM CPU

    Installed RAM: 6 GB

    System type: 64-bit

    All THE drivers/bios updated.

    Yet once again, I see nothing wrong with how the PC behaves. But the warnings that I see in the event viewer are alarming.

    Is this common? This could be the cause?

    Thanks again for reading!

    Hello

    Method 1 : check that the power setting are set to the maximum, even when the battery is in use.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/power-management

    Method 2: check that the BIOS (Basic Input Output System) of the power settings are set maximally.

    Warning: Be careful when you change the BIOS settings. The BIOS interface is designed for advanced users, and it is possible to change a setting that can prevent your computer from starting properly. BIOS update should be made only if necessary (to solve a compatibility problem, for example). It can be a complicated process, and if an error occurs, your computer could be rendered inoperative. Be sure to observe the instructions of the manufacturer.
    Reference link provided below for more information:
    BIOS: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/BIOS-frequently-asked-questions

    Note:  You must contact the manufacturer of your computer, in order to update the BIOS power settings.

    Hope this information helps.

  • Transition between screens for WebView White flickers questions

    Hi all

    Application architecture: HTML/JS/CSS hosted on an HTTPS URL to a web server.

    BB10 app is conditioned to invoke this URL and start pages in the application.

    Here are the contents of the config.xml file:

    
    
    http://www.w3.org/ns/widgets"
            xmlns:rim="http://www.blackberry.com/ns/widgets"
            version="1.0.0"
            id="Dropbox_app">
        Dropbox
        
      
    
        DropboxApproval
        
        
        Loading...
        http://www.apache.org/licenses/LICENSE-2.0">
            Licensed under the Apache License, Version 2.0 (the "License");
            you may not use this file except in compliance with the License.
            You may obtain a copy of the License at
                http://www.apache.org/licenses/LICENSE-2.0
            Unless required by applicable law or agreed to in writing, software
            distributed under the License is distributed on an "AS IS" BASIS,
            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
            See the License for the specific language governing permissions and limitations under the License.
        
        
                        
        
        
                        
        
        
        
    
            
            
            
            
            
            
              
              
        
            
        
    
        
    
    
    

    Here's index.html file content:

    
    
    
        Login
        
        
        
       
        
    
    
    
    

    Now when you navigate to index.html file, it is showing white screen as follows:

    This is perhaps due to the network latency or loading javascrip and css in the HTML page. I found two post associated with white screen below:

    https://github.com/BlackBerry/BB10-WebWorks-framework/issues/202

    https://github.com/BlackBerry/BB10-WebWorks-framework/issues/244

    Is it possible to put the indicator type thing on this webview activity.

    A solution is I'm thinking or trying to load all my JS and css after the body tag.

    Please, help me to overcome this obstacle. It's very urgent.

    Thanks in advance

    BBUI uses an Ajax approach to navigation, but it's not exactly cross-platform (depends on the BlackBerry API):

    https://github.com/BlackBerry/bbUI.js/

    jQuery Mobile also has this implementation approach.

    http://demos.jquerymobile.com/1.0a4.1/docs/pages/docs-navmodel.html

    A more complete list can be found here:

    http://en.Wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript

    Let us, I'm not sure of a library that can just be "inclusive" and resume with all being based on Ajax navigation. You should encode your application based on a chosen framework process.

    I don't have an example to do directly with pure HTML/JS. If all of your "pages" are located in the same document, it is simply a matter of showing / hiding one another (or replace a common 'visible' div with the content of another.) If your pages are located in separate files, you need to load these files programmatically, and then insert them into the div 'visible '.

    On other platforms, they asking the web are disadvantaged from an external site as well? If so, it's probably just that the process is a little different from BB10 in terms when the document is destroyed / new document is presented.

  • Processor Intel Core 2 Extreme QX6700 Quad - Core for dell dimension e521?

    I just ordered an Intel Core 2 Extreme QX6700 Quad-Core processor to replace my old amd athlon 64 3200 + for my dell dimension e521 BIOS (version 1.1.4).

    I just want to know if the new processor will work with dell dimension e521 system.

    my PC:

    AMD athlon 64 3200 + 2.00ghz

    6 GB of ram DDR 2

    1 to hidden

    AMD radeon HD 6450

    ...

    Thank you

    Nope.  Intel chips use different chipsets and different the SB of AMD processor sockets.  If your computer is equipped with an AMD processor you must upgrade with an AMD processor.

  • Optimal number of processors/cores for guests?

    On a host with a processor i5-3337U (2 cores, 4 threads via hyperthreading) and assuming that guests can use all the power of the CPU it can get, which is the ideal maximum number of CPUs or cores should I assign to a guest without compromising the overall performance of the host or the guest?

    I'd say 2vCPUs for comments. As your processor has just two logical cores, it will not be able to take a load with the crowd using the processor (assuming you have Windows 7). It also depends on the type of load, that you run on the VM guest.

    If you say that the host will not consume a lot, then you could go up to 4vCPUs.

  • Server has 80 logical processors, but I can only use 8 cores for a virtual machine

    We have a host of ESXi 4.1 with four 10 processors and we want to give a VM 20 vCPUs for a test, but I can choose only 2 virtual Sockets with 4 cores per socket or 1 virtual socket with 8 cores. What is the maximum I can do? I'll attach screenshots so you can see what I'm looking at.

    With vSphere 4.1 eight-way virtual SMP is the maximum that you can configure with the Enterprise Plus license. With vSphere 5.1 the maximum has been increased to 64 channels for businesses more (32 channels for the company).

    André

  • HELP - Get AE ONLY USED 1 CORE for in-comp

    Hi AE community.


    I have a pretty solid but am very disappointed by the slow update frames in After Effects. I'm quite familiar with how to set up the AE for distribution of RAM/CPU, but maybe I clicked something that causes this problem.


    My system has 24 cores and 64 GB of RAM.

    I am hosting AE to use 8 of 24 hearts and give each a 4 GB of RAM

    Also have enabled for a gtx580 CUDA / 3GB.

    Operating system is Mac 10.8.5 with AE cloud creative, completely up to date with NVidia drivers.


    I enclose a picture (below) that shows 12 of my 24 hearts leaping to action during a back of frame (strange b/c I said AE only to use 8, but I'm not complaining... more merrier), then a simple core ends make it very slowly.


    Another point to note is that I am made a framework for an animation of card that uses a 20K jpg, which is 10.7 MB in size. There are a few pictures like what comes to overlap another. 10.7 MB size is actually quite small given the resolution, but maybe that's a problem... but I don't know how that relates to EI, quite simply, do not use the immense power that it has.


    I use the CLASSIC 3D rendering engine. The Raytraced 3D rendering engine is very fast, but I can't use my different overlays that are necessary, if this is not a viable option for me at the moment.


    I'm still stuck I was wondering why all of my CPU power will lose within the program. Perhaps its worth mentioning that when I make a final report to be filed (especially using the Background Renderer script) all 24 cores are used and frames are rendered much more quickly when I'm still working on my computer.

    Info on the image:

    #1 = what happened the first 10 seconds after moving to a new image in the timeline

    #2 = another 30 seconds of rendering on a basis only

    AE cpu.jpg

    There is no new idea to give, except perhps to say that we currently have a large part of our team working on the production of all After Effects better behavior (i.e., faster) in this area.

  • Laptop with Quad Core for early holiday gift-

    You want to make me a gift holiday at the beginning and has been thought to splurge on a laptop with the Intel Core 2 Quad Core Extreme QX9300 with 8 + GB of RAM I was wondering if anyone has used a similar configuration to the ESX ruin under my computer? Thanks in advance-

    Hello

    I have a Dual Core T9500 w/8GBs of memory... HP 8710w model... However, the HP 8730w is now out and I'm aiming for that. Quad cores running too hot and too burn battery to be of great use in a laptop at the moment. I hope that this will change.

    Best regards

    Edward L. Haletky

    VMware communities user moderator

    ====

    Author of the book "VMWare ESX Server in the enterprise: planning and securing virtualization servers, Copyright 2008 Pearson Education.»

    SearchVMware Blog: http://itknowledgeexchange.techtarget.com/virtualization-pro/

    Articles of blue Gears - http://www.itworld.com/ and http://www.networkworld.com/community/haletky

    As well as virtualization at http://www.astroarch.com/wiki/index.php/Virtualization Wiki

  • core for Oracle RAC and grid on Linux x 86-64 RHEL 5.5 Infrastructure

    The manual "Oracle Grid Infrastructure Installation Guide 11 g Release 2 (11.2) for Linux.
    Chapter 2.8.2 list software requirements for Linux x 86-64 platforms
    Table 2-8, x 86-64 Linux operating system kernel requirements

    States, whether it is supported:
    Red Hat Enterprise Linux 5 Update 2, kernel 2.6.18 or LATER version
    Red Hat Enterprise Linux 5 update 5 with kernel unbreakable Enterprise for Linux, the kernel 2.6.32 or later version

    http://download.Oracle.com/docs/CD/E11882_01/install.112/e17212/prelinux.htm#BABFDJJF

    My doubts are (for linux x86_x64):
    "Unbreakable Enterprise Kernel for Linux" is really mandatory for RHEL 5.5 and Oracle Grid Infrastructure or is it possible to use RHEL 5.5 with RHEL kernel.
    Oracle RAC Database 11 g 2 is supported on RHEL 5.5 with RHEL kernel supported?

    Thank you

    Pavang is right.

    I opened a SR and Oracle Support they confirmed she RHEL 5.5 with RHEL kernel is supported (minimal support). but Oracle is highly recommend to deploy the nucleus of the unbreakable Company Oracle.

    Some reasons for their recommendations:
    http://public-yum.Oracle.com/
    The core Oracle Unbreakable Enterprise for Linux is the standard kernel used with Oracle products. The build
    and QA Oracle database systems and other Oracle products use the core of Oracle Unbreakable company
    for Linux exclusively. The core Oracle Unbreakable Enterprise for Linux is also the kernel used in Oracle
    Exadata and Oracle Exalogic systems. Oracle Unbreakable Enterprise Kernel for Linux is used in all benchmarks
    tests on Linux in which Oracle participates, as well as in the setup of valid Oracle for x 86-64.

    Thank you.

  • Updating the core for i5 i3 (Redirected)

    I am currently using dell inspiron15 3521 core i3-3217U CPU @1. 8 GHz. I can pass for core i5 or i7? I need speed more programming and coding software.

    AYSHA20

    You cannot replace or upgrade the processor in this system, because it is a BGA CPU, which means that it is permanently soldered to the system board, if it fails, then the motherboard needs to be replaced with the processor.

    Bev.

  • Plans for Nvidia NO Cascades Builder?

    I do MOST of my development on the go, and as such, I don't have access to a laptop with Intel Graphics (specifically Intel Integrated Graphics Media Accelerator 4500MHD).  This graphics card can work very well Fear (original), but also many other 3D games, then why I can't use the generator of stunts without using a Nvidia card?

    Too bad, I need to install the graphics driver my manufacturer, and now it works perfectly!

  • A dual core iMac is considered a multicore for creative purposes Cloud computer, or the computer there image to run the suite?

    I read that a computer needs processor multi-core for the Creative Suite to run on.  I have a dual-core iMac.  The Creative Suite will run on this computer ok, or should I go with a higher processor?

    Thank you

    Estifanos

    Hi evware7777,

    You can check out CC Office approx. as well as requirements of the application using this KB doc CC. system requirements | Creative cloud.

    Kind regards

    Nicos

Maybe you are looking for

  • Does not begin with satellite L350D-11 needs - new mobo

    Does not start my Satellite L350D-11 has (Modell Nr.: PSLE8E-00R006GR). Looks like a malfunction to the motherboard.What type of motherboard is installed in this notebook?Lars

  • I need help to fix the sound on my macbook air

    Well well... my macbook air will start of the carillon, but when I try to listen to something on my macbook air... it won't play it... and when I go to system preferences... There only headphones! ... idk what else to do!

  • Lenovo y510p VINTAGE battery-do return my old battery?

    Hello! Do I have to return my old battery after I got my new one? There no inclide a shipping what label I've seen, but it does not look good. Like Lenovo ALWAYS return their batteries! It woul; d be nice if someone with the same model and the same q

  • Numeric values on tank of money

    Hello I would use an indicator of tank silver palette with a scale up to 10'000 [l] I can put a size of 10,000, but the value is greater than the indicator of tank area. My solution is to use the notation IF (10 k), but the customer wants to see 10,0

  • Missing My Documents folder

    I tried to back up the My Documents folder to a DVD player, but he did not write the disk and now I have a My Documents folder.  I tried restoring the system (using different restore points), but he failed.