BlackBerry app Push Notifications using PushWoosh does not receive notifications when closed and in the background

I'm developing an application of crossed with phonegap and Jquery mobile platform. I'm trying to implement push notifications for the blackberry application using PushWoosh.

I noticed that I'm not able to receive notifications when the application is in the background, or when it is closed. I get notifications only when the application is in the foreground.

Any suggestions on this problem?

I can use all the help.

The app is a phonegap application Webworks.

Thank you.

Info:

PhoneGap 2.8.0

jQuery 1.9.1

jQuery 1.3.1 Mobile

SDK WebWorks

PushWoosh

Hello

We just push our BB HTML5 / Webworks sample to our github repo:

https://github.com/shaders/push-notifications-SDK/tree/master/SDK%20Sample%20Projects/BlackBerry-htm...

Team Pushwoosh

www.pushwoosh.com

Tags: BlackBerry Developers

Similar Questions

  • My iphoto does not open. When I click on the circle still turns but nothing happens. I tried to open it with option to order and reconstruction, and nothing happened. I have version 9.2.3. Any advice will be greatly appreciated.

    My iphoto does not open. When I click on the circle still turns but nothing happens. I tried to open it with command + option and reconstruction and nothing happened. I have version 9.2.3. Any advice will be greatly appreciated.

    If you recently updated to El Capitan, your version of iPhoto is not compatible with this OS.

    What version of Mac OS X are you running?

  • Outlook does not open. -When I click on the e-mail icon

    My outlook does not open. When I click on the email icon, it opens a Web link of the Explorer of Windows Live.

    For questions of Outlook:

     

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-AU/Office/default.aspx?tab=2#tab=3

    Outlook Help Forums at the link above.

    They will help you with your Outlook questions when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • My sistem 5.1 audio does not work properly when I connect to the internet

    Hello!

    I just bought a Genuis 5005 5.1 audio sistem and I have a problem with him: it will not work properly when I get on the internet (the center speaker does not work).

    I also bought an Asus Xonar DG 5.1 soundcard which works perfectly. I installed and also installed the driver for it.

    When I play music/videos to my hard drive, all speakers work fine, but when I enter the internet videos/Music Center speaker does not work...

    I hope someone can tell me how to solve this problem... Thank you

    Later edit: I managed to solve the problem by selecting the "2 channel" option in my sound card driver.

    I managed to make it work with my audio driver 2-channel. Thank you for your time :)

  • "Windows Vista Security Center" close browser windows, precise I have a virus, and now no programs will be opened. Windows does not start in safe mode, and all the system restore points have already disappeared.

    Hello

    I have a Dell laptop under Windows Vista Premium. I got it for about three years, and he is upset enough ok tonight. In the middle of browsing the internet, check my email, etc., all but one of my browser windows close at random, and a message appears "windows vista Security Center" whenever I try to open a new window, blocking of the site and to say that the site is dangerous and my system has been infiltrated by a Trojan horse. Then he starts the scan and says that I must buy the full to get everything to work again. I closed everything, since I already have McAfee antivirus and internet security, but it does not, and neither did any other progams. I tried restarting in safe mode to restore a backup point, but Windows does not open in safe mode, rather stick for half an hour in the middle of loading. When I managed to start windows in normal mode, I found that all my past restore points had been erased.

    This happened to someone else, and it is fixable without wiping everything?

    Thanks in advance,
    Emma

    Hi Emma,

    This could be due to a virus on your computer.  Try to make a virus on your computer scan to check if your computer is infected.

    http://www.Microsoft.com/Security_Essentials/

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/ba80504b-61f1-4D71-960f-b561798b7b42

    Previous post: the result.

    Bindu S - Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • LocationListener does not receive updates when BrowserField 2 renders in 6.0

    I have an application that calls a mobile web site using BrowserField 2.  The application needs make the current GPS position to the mobile website with each request to the site.

    I used code MultipleFixDemo to get a LocationListener job.  Everything worked very well in the Simulator and all manual updates of location were received by the LocationListener in the application.

    I changed the display to include a component BrowserField 2 and the LocationListener does not update the location of the Simulator.

    Y at - it something I need to do something different when the user interface includes the BrowserField.  Can I have some kind of thread problem?  I only tested on OS 6.0 in the Simulator.  I don't have access to a real device.

    In the code below, I have two defined screens.

    If the pushScreen (new MultipleFixScreen() is uncommented and the pushScreen (new BrowserFieldScreen() is commented out, the LocationListener receives updates.)

    If the pushScreen (newMultpleFixScreen () is commented out and the pushScreen (new BrowserFieldScreen() is uncommented, the LocationListener gets no updates.)

    Here is my code:

    public class MultipleFixDemo extends UiApplication
    {
        private double longitude;
        private double latitude;
        BlackBerryLocationProvider myProvider;
    
        public static void main(String[] args)
        {
            new MultipleFixDemo().enterEventDispatcher();
        }
    
        public MultipleFixDemo()
        {
            startLocationUpdate();
    
            pushScreen(new BrowserFieldScreen());
            //pushScreen(new MultipleFixScreen());
        }
    
       private void startLocationUpdate()
        {
            try
            {
                BlackBerryCriteria myCriteria = new BlackBerryCriteria();
                myCriteria.enableGeolocationWithGPS(BlackBerryCriteria.FASTEST_FIX_PREFERRED);
                try
                {
                    myProvider = (BlackBerryLocationProvider)LocationProvider.getInstance(myCriteria);
    
                    if ( myProvider == null )
                    {
                        Runnable showUnsupportedDialog = new Runnable()
                        {
                            public void run() {
                                Dialog.alert("Location service unsupported, exiting...");
                                System.exit( 1 );
                            }
                        };
                        invokeLater( showUnsupportedDialog );
                    }
                    else
                    {
                        myProvider.setLocationListener(new LocationListenerImpl(), 2, -1, -1);
    
                    }
                }
                catch (LocationException le)
                {
                    System.err.println("Failed to retrieve a location provider");
                    System.err.println(le);
                    System.exit(0);
                }
            }
            catch (UnsupportedOperationException ue)
            {
                System.err.println("Require mode is unavailable");
                System.err.println(ue);
                System.exit(0);
            }
            return;
        }
    
        private class LocationListenerImpl implements LocationListener
        {
            public void locationUpdated(LocationProvider provider, Location location)
            {
                System.out.println("update location called");
                if(location.isValid())
                {
                    longitude = location.getQualifiedCoordinates().getLongitude();
                    latitude = location.getQualifiedCoordinates().getLatitude();
                    float altitude = location.getQualifiedCoordinates().getAltitude();
    
                    StringBuffer sb = new StringBuffer();
                    sb.append("Longitude: ");
                    sb.append(longitude);
                    sb.append("\n");
                    sb.append("Latitude: ");
                    sb.append(latitude);
                    sb.append("\n");
                    sb.append("Altitude: ");
                    sb.append(altitude);
                    sb.append(" m");
                    System.out.println("!!!!!!!Location update: " + sb.toString());
                    //MultipleFixDemo.this.updateLocationScreen(sb.toString());
                }
            }
    
            public void providerStateChanged(LocationProvider provider, int newState)
            {
                System.out.println("providerStateChanged called");
                // Not implemented
            }
        }
    
        class BrowserFieldScreen extends MainScreen
        {
            private BrowserField _browserField;
            private boolean _documentLoaded = false;
            private BrowserFieldRequest _request;
    
            /**
             * Creates a new BrowserFieldScreen object
             * @param request The URI of the content to display in this BrowserFieldScreen
             * @param enableScriptMenu True if a context menu is to be created for this BrowserFieldScreen instance, false otherwise
             */
            public BrowserFieldScreen()
            {
                super(Screen.HORIZONTAL_SCROLL | DEFAULT_CLOSE | DEFAULT_MENU);
                BrowserFieldRequest request = new BrowserFieldRequest("http://www.google.com");
    
                BrowserFieldConfig config = new BrowserFieldConfig();
                _browserField = new BrowserField(config);
                _browserField.addListener(new DemoBrowserListener());
                add(_browserField);
                _request = request;
            }    
    
            /**
             * @see Screen#onUiEngineAttached(boolean)
             */
            protected void onUiEngineAttached(boolean attached)
            {
                if(attached)
                {
                    try
                    {
                        _browserField.requestContent(_request);
                    }
                    catch(Exception e)
                    {
                        deleteAll();
                        add(new LabelField("ERROR:\n\n"));
                        add(new LabelField(e.getMessage()));
                    }
                }
            }
    
            /**
             * Returns this screen's BrowserField object
             * @return This screen's BrowserField object
             */
            public BrowserField getBrowserField()
            {
                return _browserField;
            }
    
            /**
             * A class to listen for BrowserField events
             */
            private class DemoBrowserListener extends BrowserFieldListener
            {
                /**
                 * @see BrowserFieldListener#documentCreated(BrowserField, ScriptEngine, Document)
                 */
                public void documentLoaded(BrowserField browserField, Document document)
                {
                    _documentLoaded = true;
                }
            }
        }
        private final static class MultipleFixScreen extends MainScreen
        {
            MultipleFixScreen()
            {
                super(DEFAULT_CLOSE | DEFAULT_MENU);
    
                RichTextField instructions = new RichTextField("Waiting for location update...",Field.NON_FOCUSABLE);
                this.add(instructions);
            }
        }
    }
    

    Any suggestions would be greatly appreciated.

    Thank you

    Jackie

    This is a limitation of the BrowserField.  The BrowserField also recorded a LocationListener that is use to power the GPS updates via JavaScript to pages it restores.  This LocationListener / that your application has already registered (given that the application can only record 1).

    There are two ways you can work around this problem.  You can save your LocationListener again after posting the BrowserField.  Note that if you take this approach methods JavaScript GPS won't within your BrowserField.

    The second approach is to poll for updates location, instead of using a LocationListener.  It should continue to work after posting a BrowserField.

  • Safari does not receive message safari can't verify the identity of the site message

    sasafari does not keep to message safari can't verify the identity of the Web site. Please help ASAP

    Hey Donna,.

    I understand that you are getting a pop up that Safari cannot verify the identity of the Web site you want to visit. Let's go over some troubleshooting to get this sorted out.

    The first thing I would look at is to see if you have an Extensions on which can cause this to happen. Take a look at the article below to review this as compensation to cache and cookies in Safari.

    If Safari does not load a page or a page Web elements are missing
    https://support.Apple.com/en-us/HT204098

    Take it easy

  • Wireless Mouse 5000 does not work correctly when moved away from the transmitter.

    I have the mouse as shown in the title with new batteries.
    Link: http://www.microsoft.com/hardware/en-us/p/wireless-mouse-5000/MGC-00017
    My installed OS Windows 7 x 64 SP1. A clean installed on the computer without additional software in the meantime.
    When I connect the transmitter (2.4 ghz v7.0 model 1423) the mouse to the computer, it identifies only, and the mouse works.
    In devices and printers, the transmitter is under indefinite and after installing IntelliPoint 8.2 64-bit for Windows 7, it remains the same.
    Sometimes the mouse does not react on the screen, as it got stuck and moving in parts rather than sequentially. Including the mouse buttons that do not meet at the moment.
    If I bring the mouse close to the transmitter, the problem goes away and it works fine.
    After the test, no relation to the load on the processor, the problem appears randomly.
    I tried to replace USB ports but no change, the problem goes away only if I put the mouse close to the transmitter.
     
    Original title: Wireless Mouse 5000

    Hello Tomer,.

    Thanks for the reply.

    You can check the following items and check if it helps to solve this problem:

    The wireless keyboard or mouse may not respond and may start and stop at irregular intervals
    Troubleshoot a wireless mouse that does not correctly
    Troubleshoot the incidents of the response to the mouse or wireless keyboard

    If the problem persists always, as mentioned above, contact Microsoft Hardware support for assistance. All material related to problems are treated by them.

    Email us if you have any other issues related to Windows.

  • Adobe AIR 22 beta (April 6, 2016), 'Download AIR SDK & compile for Windows' file does not? After I download and visualize the 'air - SDK - description.xml', the version is 21?

    Adobe AIR 22 beta (April 6, 2016), 'Download AIR SDK & compile for Windows' file does not? After that I have download and view the 'air - SDK - description.xml',

    < name > AIR 21.0.0 < / name >

    < version > 21.0.0 < / version >

    Hello

    We have fixed this problem. Please download a second time to get 22 AIR beta build.

    Thank you

    Krati

    Adobe AIR Team

  • BlackBerry Z10 Z10: Synchronization of emails does not work since yesterday (calendar and contacts are ok but)

    Hello

    Since yesterday for (at least for me) reasons unknown my Z10 refuses to synchronize emails with gmail; has worked without any problems for months before.

    Symptoms: calendar and contacts are synchronized but not e-mail.

    I tried to delete the account and setting up again. Same results: contacts and calendar works, but not by e-mail.

    Error message: "your contacts and your calendar accounts have already been added. Currently, the server imap.gmail.com is unavailable and your email account cannot be added. "Please try again later".

    Please note that I sync with gmail via IMAP old plain - and IMAP synchronization works smoothly on my PC (thunderbird).

    Does anyone else has experienced this problem since yesterday?

    Any cure?

    Thank you very much in advance for your help.

    Read on other forum there is a Gmail 'outtage.  FWIW

  • Firefox does not allow me to copy and paste the content of Web sites. How can I solve this problem?

    When I enter this site, there are some areas that FIrefox will allow me to copy and paste. However, if the content is in the pictures, I get a message indicating that options copy/cut/paste is not available in Mozilla and Firefox. Then, the info box wonder if I want more information or to cancel the request. When I ask for more information, the system provides information on changing preferences; However, these measures do not seem to work for me. Help, please.

    Thank you.

    What measures have you tried - prefs.js or user.js edition?

    My recommendation would be to use Windows shortcuts to cut, copy and paste: Ctrl + x, Ctrl + c and Ctrl + v. You can also use the context menu for these actions. On most websites, you don't really need to use the buttons for these features.

  • My CDRom device does not i.e.when I put in the disc there is no result.

    The driver displays no icon to start to open the contents of the disc.

    Hi VesselinPirindev,
     

    -Were you able to read/write CD/DVD without any problem before?

    -Have you done recent changes made to your computer after this problem started to happen?

    -You get an error message or error code trying to read the contents of the CD/DVD? If Yes, indicate the same.

    Try running the Fixit tool from the below mentioned link and see if this is useful to fix the problem.

    Your CD or DVD drive cannot read or write media

  • Receiving UDP does not receive messages

    Hello. I have problem with UDP receiver.

    I can receive messages from the same port you write.

    Stream: open vi--> vi--> read vi UDP UDP writing.  Transmitter and receiver usinf th test port.

    When I try to use vi UDP listen port to just read, I get all the data.

    Program flow. I use vi to send the command on the serial port to MCU. Answer MCU return by sending data to the network port using UDP.

    I start vi to listen to a port UDP (see attached), then I sent the order to MCU. I can see the response on Wireshark, but UDP vi does not receive anything.

    I checked the IP address. Lokks all the same. IP address of the PC and decice is the same as when I write and read at the same time. Any other port.

    Any help please.

    Is the port that you want to use to open? For safety that many IT services will be blocked in ports that don't think they are necessary, or don't want to use.

  • 12 c on the repository server management agent does not start due to a failure of the system

    My environment architecture for 12 c Cloud Control (used for the purpose of personal practice) can be explained as follows:

    @DBSERVER: (OEL6.5, x 86-64)

    -12 c Enterprise Manager Cloud Control (EMCC)

    -Database 11.2.0.4 which acts as a repository for 12 c EMCC

    Monitored host is on a virtual machine (VM12) which is currently in the DBSERVER:

    VM12: (OEL6.5, x 86-64)

    -12 c Management Agent which monitors host and database (12.1.0.1)

    The server worked fine for months until recently when the computer has restarted abruptly. Abrupt restart has occurred several times in the past, but this time, he had a problem when restarting. The DBSERVER when a startup starts the SGC and the AGENT. WHO starts perfectly, but the AGENT does not start. On trying to start the agent, it displays the following error message:

    [orcl11204g@dbserver bin] $. / emctl start agent

    Oracle Enterprise Manager Cloud control 12 c Release 3

    Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

    Starting Agent... failed.

    Manager of target failed to startup: targets.xml was rejected: loaded with a token incorrect agent

    See emctl.log and emagent.nohup in: / home/u01/oemrel3/agent/agent_inst/sysman/log

    [orcl11204g@dbserver bin] $

    The targets.xml file contains the following information, which do not seem to be of any help:

    [orcl11204g@dbserver emd] $ cat targets.xml

    <? XML version = "1.0"? >

    <>targets

    < / objectives >

    [orcl11204g@dbserver emd] $

    Anyone can provide assistance in such circumstances?

    The DBSERVER repository database, the auditor and the who are running, while the agent is down. VM12, listener and agent database is running. Is there another file that should be checked for more information?

    --> $/ AGENT_INST/bin/emctl stop agent

    If the agent does not stop is free then kill all the background process agent first grepping for agent perl and java process only

    --> Move your existing target.xml file

    MV target.xml target.xml.old

    --> Create an empty file targets.xml under/AGENT_INST/sysman/MDTs with the below content

    --> Start the agent of

    $AGENT_INST/bin/emctl start agent

    That starts agent but without all the targets in targets.xml

    To the discovery of targets saw agent console resynchronization

    Concerning

    Krishnan

  • Why Magic Trackpad 2 does not allow me to drag-and - drop

    I bought a Magic Trackpad 2

    and it does not allow me to drag and drop the most basic functions

    Why?

    Click the icon, not the file name, and do not press too hard.

Maybe you are looking for