Communication between the page background and the foreground page

So I understand if you have the following:


   

This means that when the unit starts, listener.html will be executed (in the sense that there is no UI element, just javascripts).

Is - this here anyway for the listener.html file send all information to index.html when it starts? How the javascript code would work in this case (for example if you declare global variables in listener.html, index.html sees it)?

If you had the two entry points to the same page (so background src = "index.html" as well), which would change anything?

The use case can be if the listener.html had a setInterval function runs every so often to calculate things, and then the application would be able to use this information.

I have to have just the page of listener.html send the information to a server, and then retrieve it via a server call the homepage?

Thank you.

What if you had both entry points to the same page (so background src="index.html" as well), would that change anything?

This would do the trick. This means that your page is already starting to load at startup, so if you placed your algorithms on your page 'onload' event, it should work.

And the payment of a bonus, I also used this tip to load my scripts (in particular the JQuery that takes a while to load) so that when the user opens your application after startup, you'd be on your home page.

Hope this helps

Tags: BlackBerry Developers

Similar Questions

  • No communication between the Bluetooth SD - BT2 and PocketPC SD card

    I use an SD - BT2 (PA3271U) card in a Microsoft Pocket PC (also referred to as 'Microsoft PocketPC 2003') 4.20.00. I use the latest driver Toshiba 5.01 C and the card is recognized by the Pocket PC (Medion MD 95450 / MDPPC 150). I can connect to my mobile phone and GPRS connection is accumulation with no problems.

    But later at this point in time, the connection is established but dead... no connection to anyone. It seems that the communication between the Pocket PC and the card SD - BT2 is broken on the software side.

    Anyone have an idea (or a working driver) for this problem?

    Thanks in advance

    Karl

    Hello

    Have you tried to reinstall the drivers or software for SD - BT2?
    In my opinion, you should check this option.
    Also, I found a brand new version for PDA Bluetooth Stack (Bluetooth software and drivers).
    Check out this site.
    http://APS.toshiba-tro.de/Bluetooth/pages/download.php.

    Good bye

  • No communication between the printer and the Red computer on switch flashing printer does on every time I turn it off

    I get a message there is no communication between the printer and the computer. Printer is all-in-one HP Officejet 4315v. Have uninstalled and reinstall the software and unplug the USB port and plug it back. Repeated several times. Still no communication. Exclamation red light next to 'on' and green button 'on' butter is flashing all the time.

    You have a hardware failure of the printer.  Contact the manufacturer for support.

  • Encrypted L3 Communications between the TOWER and WLC?

    Hi all

    I work with a client who wants to put the towers away to their WLC (a 4402). The problem is that communications between the TOWER and WLC must be secured, even through their private Wan! I have a few questions that result, if someone is able to help you;

    1. I can't know if and what method of encryption is (is it AES etc.?) used on connections between towers and the WLC and what are the steps?

      1. The terminology can be a problem here, it's not a wireless mesh, just classic LAP for WLC
    2. EXTENSIVE customer network is already encrypted (IPSec VPN via VPLS) in parts - what is the consequence of execution of AP<-->WLC with end to end (if possible) on a network encryption EXTENDED with IPSec, i.e. double encryption?

    Strange but true - pointers will be greatly appreciated... Phil.C

    With a controller of the 4400 series, the control traffic between the AP and the regulator is already encrypted AES.  The user traffic is not encrypted.  If you use a 5508 controller all traffic between the AP and the controller is encrypted AES.

    For what is running the traffic through a VPN, it should work.  The issue I see with this is with the MTU in general.  The controller will drop all packets with a payload of less than 32bytes data.  According to the MTU over the VPN I've seen packets getting fragmented and it is a question.  If you use one of the versions CAPWAP (5.2 or newer) discovery dynamic MTU is part of the Protocol and this MTU problem does not really exist.

  • No communication between the primary and standby

    Hello

    I have configured the DG,

    primary-> testprod
    standby mode-> testprod_s
    I started, standby machine instance watch with testprod and its place...
    but there is no communication between the primary and standby...

    How can I ask/check communication?

    Heartbeat PING [ARC3]: Unable to connect to the day before "testprod_s". Error is 12514

    eve of post form

    status of $lsnrctl
    $lsnrctl services

    When oracle not registered with listener service, this kind of errors occurred.
    The value of register LOCAL_LISTENER & manually as below in sleep mode and post

    SQL > alter the registry system;

  • Disable communication between the host and the virtual machine

    I have VM Server 2.0 and one of the virtual machines has the same name as the server and even if the virtual computer is connected to the host only network it generates the Windows error message: duplicate names exist on the network.

    is there a way to disable communication between the host and the virtual machines? I just need a virtual network that is isolated from my network complete and host also.

    Thank you.

    The GUI Server2 is not to choose the other unused vmnets.  Then edit your file VMX use a different vmnet of 0, 1 or 8.  (which are bridged, host-only and NAT)

    Thus, for example, if your VMX has a line that says:

    Ethernet0.VNET = "VMNet0.

    change to:

    Ethernet0.VNET = "VMNet2.

    (This assumes that you have not used the network Editor to fill the vmnet2 either).

  • communication between the printer and the computer stops

    Original title: printer problem

    Without rhyme or reason communication between our computer and the printer just stops (often!)   Why?  and how to fix it?

    Hello

    ·                         try to uninstall and reinstall and use the latest printer drivers VISTA for your model of the manufacturer of the printer

    You can also track information to try to solve your problems of printer below

    read the printer correct that information the slot microsoft, including the 'fix - it' and the information of the links to the other

    Solve printer problems

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

    and read this microsoft tutorial too

    Introduction

    This tutorial is designed to help you identify and fix the problem printer common windows problems, including print errors, or errors, and other issues that could prevent you from printing. This tutorial does not cover printing problems related to specific programs. Printing problems can be caused by cables that are not properly connected, corrupt, drivers, incompatible drivers, the printer settings, missing updates and problems with your printer.

    How to use this tutorial

    For best results, complete each step before move you on to the next. Try to print after each step before moving on to the next step.

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

  • Communication between the device IDS and router test

    I use a 4210 sensor, S47 Version 4.0 (2). I'm waiting on the upgrade memory provided under the contract until I can update above.

    Is there a way to test telnet between the detection device and the router? Stop ping at the firewall (we allow all ICMP traffic). I can't find a command 'telnet'.

    Thank you!

    John Kingston

    You must create a service account configuration mode (conf t) then:

    user service private service pass

    Sign out then as cisco, then reconnect you as a service. Telnet now works

  • Best method of communication between the Application LV

    Hello together,

    I'm looking for the best way of communication between two Applications LabVIEW. As VI is clear, I can use a queue or a global variable and so on.

    But what is the best, when I compile the screw later for DLLs or Applications. So far, we always use the TCP/IP Protocol, but I think that there must be a better way instead.

    So if someone has an idea - he is welcome.

    Thanks in advance

    Markus

    TRAXX wrote:

    What I don't like with TCP/IP you still need a second thread (looped) who manages the TCP/IP communication. I thought that there must be an easier way.

    I also thought that shared variables are always limited to a single application. Thanks for the ideas...

    This second loop is a loop that YOU control. If you go with shared variables you are a slave to what they can or cannot do. In addition, they work over TCP/IP is not out of the picture.

    Its your call.

    Ben

  • Lack of communication between the host computers

    Hello

    We have a small installation demo (2 x ESXi5.1 build 799733 hosts) of vCloud Director 5.1.1868405 running build and meet a strange communication with the VMS problem when they sit on different hosts.

    That we have tested with several organizations and different types of OS etc and the behavior is the same, an example would be that if one of the VMS is a Web server of the site can be displayed if from VMs on the same host, however when you separate guests cannot view the Web site. Virtual machines can ping each other wherever they are.

    I hope someone here can help point me in the right direction to solve this

    Thank you

    Marc

    Looks like your pool of network is down.  If you are using a paralytic, routed Org or Org... isolated network looks that transport between the two does not work.

    If virtual machines are on one of these network types and on the same host, it works.  If they are on different hosts, it fails.

    Is what kind of network pool?  VCNI, VXLAN etc.?

    Make sure that the physical network is actually configured to transport data.  for example, VCNI uses a VLAN and MTU to 1524 (suggested min) for transportation between the hosts.  However, you need to configure it on the fabric of network (switch, etc.).

    VXLAN has its own requirements, but it has a way to test the virtual wire.

  • Need help configuration IOS IPsec to enable communication between the VPN client

    Hi, I need help with the configuration of IPsec VPN router 2811. I want to allow communication between VPN clients, is that possible? I know that ASA, you can do this by using the command "permit same-security-traffic intra-interface".

    The fact is that each Client IP communicator installed, but when they tried to call each other, he failed. I guess that's because the connectivity between them is not permitted because of the VPN connection.

    Thanks in advance...

    Hello

    Try this: -.

    local pool IP 192.168.1.1 ippool 192.168.1.5

    access-list 1 permit host 192.168.1.2< vpn="" ip="" addr="" of="" client="">

    access-list 1 permit host 192.168.1.3< vpn="" ip="" addr="" of="" client="">

    access-list 1 permit 10.10.10.0 0.0.0.255

    < lan="" behind="" the="">

    ISAKMP crypto client configuration group vpnclient

    key cisco123

    ACL 1< binding="" the="" acl="">

    !

    --------Done-------------

    If you do NAT on the router then you might want to exempt your VPN traffic to be NAt had

    Assuming that the NAT of your router is

    overload of IP nat inside source list 111 interface FastEthernet1/0

    !

    ! - The access list is used to specify which traffic

    ! - must be translated to the outside Internet.

    access-list 111 deny ip 10.10.10.0 0.0.0.255 192.168.1.0 0.0.0.255

    access-list 111 deny ip 192.168.1.0 0.0.0.255 192.168.1.0 0.0.0.255

    Above two statements are exempt from nat traffic.

    access-list 111 allow ip 10.10.10.0 0.0.0.255 any<, permits="">

    I would like to know if it worked for you.

    Concerning

    M

  • problems of communication between the computer and printer (wireless)

    I installed a wireless printer and its not connect with my laptop

    each model is different.  You will need to read the manual on this.  Most likely the IP address assigned to the printer is no longer valid in your current setup.

    from a command like use ping to see if the network route works

    Ping 1.1.1.1 (change the config page IP address 1.1.1.1).

    If you have configured the IP address as static you return to DHCP on the network.

    Alan Morris Windows printing team; Here Microsoft Knowledge Base search: http://support.microsoft.com/search/Default.aspx?adv=1

  • No communication between the computer and the printer Photosmart D100 HD series

    Pentiun4 computer and HP Photosmart D110 seriesmy problem computer is HP but not accept the printer sends the signal to the printer. Thank you

    Hello

    1. what operating system is running on your computer?

    2. it worked earlier? If so, remember you have changed your computer?

    3. What is the exact error you receive?

    Follow the steps in this link and check if that helps: http://windows.microsoft.com/en-us/windows/help/printer-problems-in-windows

  • How to enable the communication between the host and the virtual from Windows 7 computer

    Host: Mac OS X 10.6

    Setting of networking: NAT (also connected to the VPN work)

    VM: Windows 7

    I use my mac for my development. I have an application running with the Web Server server. I also use the hosts so that I can map the URLS of different web site with the same ip address.

    For example:

    On my Mac in/etc/hosts

    127.0.0.1 www.testsite1.com www.testsite2.com

    On my virtual from Windows machine in the hosts file

    987.78.125.125 www.testsite1.com www.testsite2.com

    When I'm at the office and using bridged connections, it works very well. However, I prefer to use NAT all the time.

    Is this possible?


    Thank you!

    I actually already answer your question but now I know the details, and by the way you have explained so much better the second time!

    When not connected to the VPN on the host computer and the guest knows the IP address of the Web server on the host (an appropriate entry in the guest hosts) then it should work but when connected to the VPN, if you are administrator does its job well, that you should not be able to connect the host to the guest for the reason mentioned previously...  Authenticated/no unapproved system (guest) cannot access an authenticated / trust system (host), while the VPN on the host computer is set up to your corporate network.

  • communication between the spring and cache-config

    Hello

    I have the following definition in one of the plans.
    <distributed-scheme>
         <scheme-name>data_distributed</scheme-name>
         <service-name>DistributedDataCache</service-name>
         <listener>
              <class-scheme>
                   <class-name>spring-bean:AbcMapTriggerListener
                   </class-name>
              </class-scheme>
         </listener>
         <backing-map-scheme>
              <local-scheme>
                   <listener>
                        <class-scheme>
                             <class-name>
                                  a.b.c.AbcBackingMapListener
                             </class-name>
                             <init-params>
                                  <init-param>
                                       <param-type>com.tangosol.net.BackingMapManagerContext
                                       </param-type>
                                       <param-value>{manager-context}</param-value>
                                  </init-param>
                             </init-params>
                        </class-scheme>
                   </listener>
              </local-scheme>
         </backing-map-scheme>
         <backup-count>0</backup-count>
         <autostart>true</autostart>
    </distributed-scheme>
    I'll need to get the AbcBackingMapListener initialized with another reference to cache and some custom objects. How can I pass these references to the manufacturer (or by using the set accessors)?

    I tried to use < class-system > inside the < param-value > element, but that has not worked.
    <param-value>
         <class-scheme>
              <class-name>spring-bean:CustomObject
              </class-name>
         </class-scheme>
    </param-value>
    Any suggestion would be appreciated.

    Hi magali,.

    To use another program like an init-param, you should use a plan-Ref as described here in the macro documentation settings section:
    http://download.Oracle.com/docs/CD/E18686_01/CoH.37/e18677/cache_config.htm#BABHCCHI

    
        data_distributed
        DistributedDataCache
        
            
                spring-bean:AbcMapTriggerListener
            
        
        
            
                
                    
                        
                            a.b.c.AbcBackingMapListener
                        
                        
                            
                                com.tangosol.net.BackingMapManagerContext
                                {manager-context}
                            
                            
                            
                                {scheme-ref}
                                custom-object-scheme
                            
                            
                            
                                {cache-ref}
                                anotherCache
                            
                        
                    
                
            
        
        0
        true
    
    
    
        custom-object-scheme
        spring-bean:CustomObject
    
    

    It works very well, we use it for sources of data in the cache stores and also create the ContinuousQueryCaches via the config cache.

    JK

Maybe you are looking for

  • How to transfer music from my old hardrive itunes library?

    I am trying to transfer mp3 files that have been in my old laptop to my previous hardrive library iTunes on my new computer, without having to transfer all the mp3 files on hard drive across and hoping someone might be able to advise me how to do thi

  • HP Probook 455 g1: HP Probook 455 g1 - A4 to A10 upgrade?

    Hello I recently bought a HP Probook 455 g1, running an AMD A4 - 4300M.  Would it not possible/feasible to upgrade at A10 - 5750M?  I heard it can use the same socket, but may have problems...?  Or I will have to settle a few flavors of A8? Thanks in

  • HP 8500 A909g scanner does not work

    Recently my HP 8500 A909g scanner does not work.  I did not change my system.  I use Windows 7.  When I click on scan in the HP Solution Center, I get the message that the HP imaging device is not found.  Several solutions are listed I tried each of

  • Vista stops my PC?

    My hard drive has failed recently so I bought a new one and reinstalled Vista and it activated fine then after a few hours of use the laptop he just closed and now it does not start and Best Buy told me that this is because the hardware has changed a

  • Firewall for PC

    I have a general query related to the firewall for small LAN. We have two PC that connects to the internet via ADSL line. They want to access certain resources of the local network of the company by establishing another NIC on the PC and plug it into