BIS push to more of an app?

Newbie here. We move a lot on our application to receive the impulses and it works great so far. We had a simple newbie question: can two apps on a single device to register for push notification? (We target device 5.0 and liked if it matters). I am not the person responsible for the coding for this section of the project, and I'm curious to know if it is possible. Thanks in advance!

Two applications cannot share the sample application IDs. It's supposed to be a 1 to 1 mapping. But nothing to say can't you register receive a second application id.

Tags: BlackBerry Developers

Similar Questions

  • How long does take to BIS PUSH

    How long the BIS push to reach the appliance from the server of the content provider?

    Hello

    in MS? Joke. Its really instant.

    Best, bert2002

  • What is Blackberry Bis push Service different development of BlackBerry Java development?

    Hello

    I develop applications using blackberry java development. I want to develop an application that uses blackberry push service, pls suggest is different from the java development?

    What do you mean with 'different '?
    BIS push uses the infrastructure of the RIM and is a service, it is independent of the programming language.

    You can use BIS push with java bb, you can use it with webworks/html5, and you can also use it on bb10 with c ++.

  • Where a BIS Push request form?

    I want to apply Push BIS at my request.

    But I can't find where is a form of BIS Push on site? Can you provide URLS?

    http://us.BlackBerry.com/developers/platform/pushapi.jsp

    Found this

  • Smartphones blackBerry's BIS PUSH really 20 minutes?

    I got BlackBerry for years, connected to BES society and got email immediate.  Now I am on leave and using BIS PUSH for emails from the company and it takes up to 20 minutes (which then goes down to a few minutes after the first email).  Should it take 20 minutes?

    jmurra wrote:

    Thank you for your prompt response and thorough, I appreciate your help.

    I wonder if WinMob, anddroid or a different operating system pushes emails faster?  I can't go company BES but need to e-mail faster than 15-20.

    Sorry, those ^^ will not impose on your device. It is a completely different technology.

  • BIS push registration for lack of client app

    Hi all

    I'm trying to implement the push BIS service in the client application.

    I got the Port number, appId, BPA URL & using that i'm trying to register using the code below

    public boolean registerBpas() {}

    Logger.info ("MyScreen.registerBpas ()");
    /**
    As the suffix of the connection is fixed I just use a Thread to call the code of connection
    *
    **/

    isValue Boolean = false;
           
    try {}
    Logger.info ("-step 1");
    String conparam = getConnParam();
    Logger.info ("---> conparam:" + conparam);
    final String registerUrl = formRegisterRequest (null, BPAS_URL, APP_ID), + conparam / * Conn.getConnectionParameters () * /;
    Logger.info ("\n\n\n msg registerBPAS URL is:" + registerUrl);
    HttpConnection httpConnection = (HttpConnection), Connector.open (registerUrl);
    InputStream is = httpConnection.openInputStream ();
    Response string = new String (IOUtilities.streamToBytes (is));
    Logger.info ("\n\n\n\n\n\n msg RESPOSE CODE:" + response);
    Close (httpConnection, is, null);
    String nextUrl = formRegisterRequest (BPAS_URL, APP_ID response) + conparam / * Conn.getConnectionParameters () * /;
    Logger.info ("\n\n\n\n\n\n msg nextUrl:" + nextUrl);
    HttpConnection nextHttpConnection = (HttpConnection), Connector.open (nextUrl);
    InputStream nextInputStream = nextHttpConnection.openInputStream ();
    response = new String (IOUtilities.streamToBytes (nextInputStream));
    Logger.info ("\n\n\n\n\n\n msg RESPOSE CODE 1:" + response);
    Close (nextHttpConnection, is, null);
    If (REGISTER_SUCCESSFUL.equals (response) |) {USER_ALREADY_SUBSCRIBED. Equals (Response))}
    Logger.info ("saved successfully to push BIS msg");
                            
    Returns true;
    } else {}
    Logger.info ("msg record BPA rejected");
    isValue = false;
    Returns false;
    }
    } catch (final IOException e) {}

    Logger.info ("IOException msg on register()" + e + "" + e.getMessage ());
    isValue = false;
    Returns false;
    }
                    
    Return isValue;
    }

    public static close Sub (conn connection, InputStream is, OutputStream os) {}
    If (OS! = null) {}
    try {}
    OS. Close();
    } catch (IOException e) {}
    }
    }
    If (is! = null) {}
    try {}
    is. Close();
    } catch (IOException e) {}
    }
    }
    If (conn! = null) {}
    try {}
    Conn.Close ();
    } catch (IOException e) {}
    }
    }
    }

    Public Shared Sub errorDialog (final String message)
    {
    UiApplication.getUiApplication () .invokeLater (new Runnable()
    {
    public void run()
    {
    Dialog.Alert (message);
    }
    });
    }

    private static String formRegisterRequest (String bpasUrl, String appId, string token) {}
    StringBuffer sb = new StringBuffer (bpasUrl);
    SB. Append("/MSS/PD_subReg?");
    SB. Append ("ServiceId ="). Append (appid);
    SB. Append("&OSVersion="). Append (DeviceInfo.getSoftwareVersion ());
    SB. Append("&Model="). Append (DeviceInfo.getDeviceName ());
    If (token! = null & token.length () > 0) {}
    SB. Append("&"). Append (Token);
    }
    Return sb.toString ();
    }
        
        
        
    public static String getConnParam() {}
    String connectionParameters = "";
    If (WLANInfo.getWLANState () == WLANInfo.WLAN_STATE_CONNECTED) {}
    Connected to a WiFi access point
    connectionParameters = «;» deviceside = true; interface = wifi. "
    } else {}
    int coverageStatus = CoverageInfo.getCoverageStatus ();
    ServiceRecord record = getWAP2ServiceRecord();
    If (record! = null)
    & (coverageStatus & CoverageInfo.COVERAGE_DIRECT) ==
    CoverageInfo.COVERAGE_DIRECT) {}
    Having network coverage and a book of WAP 2.0 service record
    connectionParameters = «;» deviceside = true; ConnectionUID ="
    + record.getUid ();
    } else if ((coverageStatus & CoverageInfo.COVERAGE_MDS) ==)
    CoverageInfo.COVERAGE_MDS) {}
    Have a book cover and SDM service network
    connectionParameters = «;» deviceside = false;
    } else if ((coverageStatus & CoverageInfo.COVERAGE_DIRECT) ==)
    CoverageInfo.COVERAGE_DIRECT) {}
    Have the network coverage, but no trace of service WAP 2.0 book
    connectionParameters = «;» deviceside = true;
    }

    }
    Return connectionParameters;
    }
    private static {ServiceRecord getWAP2ServiceRecord()
    Full book sb = ServiceBook.getSB ();
    Reviews [] ServiceRecord = sb.getRecords ();
    for (int i = 0; i)< records.length;="" i++)="">
    String cid = records [i] .getCid () .toLowerCase ();
    String uid = records [i] .getUid () .toLowerCase ();

    If (cid.indexOf ("wptcp")! = - 1 &)
    uid.indexOf ("wifi") ==-1 &.
    uid.indexOf ("mms") ==-1) {}
    Returns records [i];
    }
    }
    Returns a null value.
    }

    But I m getting the error below

    Timeout occurred while processing the operation.

    Check the log of the unit below

    INFO: File created successfully
    INFO: MyScreen.registerBpas)
    INFO:-step 1
    NEWS :---> conparam:; deviceside = true; ConnectionUID = WAP2 trans
    INFO:

    registerBPAS MSG URL is: http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=2350-7la145e5r36mi1n42M6037M9600e95a1155&... trans
    INFO:

    MSG RESPOSE CODE:

    Timeout occurred while processing the operation.

    INFO:

    MSG nextUrl: http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=2350-7la145e5r36mi1n42M6037M9600e95a1155&...

    Timeout occurred while processing the operation.

    ; deviceside = true; ConnectionUID = WAP2 trans
    INFO:

    MSG RESPOSE CODE 1:

    Has received a bad request formed.

    INFO: msg BPA rejected registration
    INFO:-isSub: false

    Hi Simon

    His work... Register register & to work...

    Thank you very much for your answer...

    In fact, in connection suffix, I used [deleted inappropriate content]

    There must be a hyphen (-) between mds & public, its not allow me to type this text because it's in this forum.

    And tested device in...

    This connection suffix is transposition BIS & now I am able to register and de-register my app to push.

    But still, I need to test the receiver push message part, once my server implementation is made.

    Once again thanks a lot...

    Thank you

    Lauriane


  • iOS 9.2 no more battery by app use?

    Hello

    Since the upgrade in the section of the battery, there is no more by app battery consumption.

    I'm the only one hit?

    Thank you

    I have it in IOS 9.2

    Try force reboot: http://support.apple.com/en-us/HT201559

  • HP Photosmart 7520 "Get More" icon for apps

    Old printer for only a few days.  The "Get More" icon on the online app on the home page the first day, but after the second day, he has disappeared from the App bar.  Any suggestions on how to recover the "Get More" (icon) app?  I use the printer wirelessly with an iMac OS X Lion 10.7.5.  Checked the HP connected in Apps for my printer, but it's not a way to reinstall the application "Get More"; It is not listed in the App section.  Thank you!

    Yes AnnaMarie57, to add applications to the Photosmart 7520 you should not use the website hpconnected.com. It really makes it easier (though a little less convenient), with a full text search to find and add apps on your printer. Have you ever subscribed to hpconnected.com and added to your printer?

  • PHP BB BIS push server works on push_all but not on PIN

    Well this time I already develop my client applications,.

    and I found this problem when I try to make PHP applications according to http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Push-API-sample-code-needed/td-p/...

    When I send the message to the address push_all:

    It works great on my device, but when I send the message with the specified PIN address:

    once more, the message is blocked by Firewall (THE firewall IS OFF) as MESSAGE NO FIGURE.

    This is my code:

    ';
            }
    
            // create a new cURL resource
            $err = false;
            $ch = curl_init();
            $messageid = microtime(true);
    
            $data = '--asdwewe. "\r\n" .
            'Content-Type: application/xml; charset=UTF-8' . "\r\n\r\n" .
            '
            http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd">
            
            '
            . $addresses .
            '
            
            ' . "\r\n" .
            '--asdwewe' . "\r\n" .
            'Content-Type: text/plain' . "\r\n" .
                    //'Content-Encoding: binary'. "\r\n" .
            'Push-Message-ID: ' . $messageid . "\r\n\r\n" .
            stripslashes($message) . "\r\n" .
            '--asdwewe--' . "\r\n";
    
            // set URL and other appropriate options
            curl_setopt($ch, CURLOPT_URL, "https://pushapi.eval.blackberry.com/mss/PD_pushRequest");
                curl_setopt($ch, CURLOPT_PORT , 443);
                curl_setopt($ch, CURLOPT_SSLVERSION, 3);
                curl_setopt($ch, CURLOPT_CAINFO, getcwd()."\cacert.pem");
                curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    
            curl_setopt($ch, CURLOPT_HEADER, false);
            curl_setopt($ch, CURLOPT_USERAGENT, "My BB Push Server\1.0");
            curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
            curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
            curl_setopt($ch, CURLOPT_USERPWD, $appid . ':' . $password);
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    
            $__extra_Headers = array(
                "Content-Type: multipart/related; boundary=asdwewe; type=application/xml",
                "Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2",
                "Connection: keep-alive",
                "X-Rim-Push-Dest-Port: ".$appport,
                "X-RIM-PUSH-ID: ".$messageid,
                "X-RIM-Push-Reliability-Mode: APPLICATION"
            );
            curl_setopt($ch, CURLOPT_HTTPHEADER, $__extra_Headers);
    
            // grab URL and pass it to the browser
            $xmldata = curl_exec($ch);
            if($xmldata === false){
                echo 'Error pada CURL : ' . curl_error($ch)."\n";
            }else{
                echo 'Operasi push berhasil'."\n";
            }
    
            // close cURL resource, and free up system resources
            curl_close($ch);
    
            //Start parsing response into XML data that we can read and output
            $p = xml_parser_create();
            xml_parse_into_struct($p, $xmldata, $vals);
            $errorcode = xml_get_error_code($p);
            if ($errorcode > 0) {
                echo xml_error_string($errorcode)."\n";
                $err = true;
            }
            xml_parser_free($p);
    
            echo 'Our PUSH-ID: ' . $messageid . "
    \n"; if (!$err && $vals[1]['tag'] == 'PUSH-RESPONSE') { echo 'PUSH-ID: ' . $vals[1]['attributes']['PUSH-ID'] . "
    \n"; echo 'REPLY-TIME: ' . $vals[1]['attributes']['REPLY-TIME'] . "
    \n"; echo 'Response CODE: ' . $vals[2]['attributes']['CODE'] . "
    \n"; echo 'Response DESC: ' . $vals[2]['attributes']['DESC'] . "
    \n"; } else { echo '

    An error has occured

    ' . "\n"; echo 'Error CODE: ' . $vals[1]['attributes']['CODE'] . "
    \n"; echo 'Error DESC: ' . $vals[1]['attributes']['DESC'] . "
    \n"; } } catch (Exception $e) { var_dump($e->getMessage()); } exit(); // --------------------------------------------------------------------------------------------------------------- ?>

    I appreciate any useful message... Thank you for your attention and help

    well, I'm a bit confused now...

    the problem is already solved without a single change in my code (device and server)...

    I think it is a problem of service blackberry... or something else, I don't know... * huff *.

  • "Workflow" for BIS-Push

    I downloaded the sample application, which contains a demo client.

    However, I find it very difficult to extract the correct workflow of this demo client and integrate it to my own project (with its own logging, factory connections etc.).

    Can someone with more experience in this field tell me the basic steps?

    Or y at - it a library that is not integrated into an overall sample recommended project?

    What I'm doing now:

    -Open a server socket on the device with the correct suffix (which I'm not allowed to say here as it looks, although it is available in the official documentation) and the port of our registration number

    -connect to this URL (xxx is the service of our registration id): http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=xxx&osversion=5.0.0.822&model=8900

    Here, I get a http 400.

    One thing to check is the same suffix of connection (I would RIM were more open about it) in your application for PD_subReg as in your connection to listen. I also believe that this will work only for a real device, not a simulator (never managed to get the Simulator to work).

    You can also visit the discussion forum BlackBerry push development - there is a certain messages like yours, ask questions about all sorts of things.

    And... you know how people here warn beginners to practice of banging their heads on the wall? Get ready for another round. RIM is very clever to take weeks to answer even the simplest questions.

  • Accordions pushing is more content down

    I just upgraded to the latest version Muse. I made a change fast on behalf of my contact form, downloaded, and now my menu accordion no longer works correctly. It's something I wasn't expecting, because I had not made any changes to the menu at all.

    Here's how my site had originally (it has been downloaded using the Muse 2015.0 version): http://www.kristinepaulsen.com/home.html

    And here's how behaves now in my site (updated with the latest version of Muse, 2015.1 version): http://www.kristinepaulsenphotography.com/museupdatephotojsite/home.html

    The menu on the left is supposed to push the other levels below, not overlap. I do not change settings, other than to convert the file to the new update of Muse.

    What I found to test in this new version of Muse, it's that if the accordion item is pinned through the old way of pinning (as it was originally in the old version of Muse), it does not correctly. It's strange for me, because I had pinned it before this update and everything worked very well.

    Now, in order to obtain the characteristics of the accordion to work, I need to detach the accordion, but that defeats the purpose of having the menu where it is, because if someone scrolls, the menu is more rest in place and loses itself in the upper part of the screen.

    Help, please! Thank you!

    -Kristine

    I also think using an Accordion with three points is the best and very well accepted in order to use the menu. No visitor will experience a disturbing difference using your menu, only being able to have a menu that is open at the same time. Very nice design, by the way!

  • Why cannot delete apps from the iphone 6 more pressing the app?

    Whenever I press the app he started to dance, but the x button not appeared.

    What app?

  • How can I remove this tool boring bar, my Add/Remove Programs does not, any more than the app handler.

    This is a toolbar of IObit.com, my system said it couldn't, t find the installation source. and my manage apps feature would not allow me access to the function 'delete '.

    Hi RandyThompsonXU,

    ·          What happens when you try to uninstall the tool bar by using the Add/Remove Programs tool?

    See the link below to download and run the uninstaller from IObit program to remove the toolbar from the computer.

    Remove a tenacious toolbar with new IObit Uninstaller

    http://blog.iobit.com/remove-stubborn-toolbar-with-new-IObit-uninstaller_1009.html

     

    For further assistance, please post your request in IObit forums using the link below.

    http://forums.iobit.com/

  • BIS push

    I watched customer simon simple example to push aside, it is said he download the two files, but there is only a single file attachment.   Am I missing something?

    I sent a message to MSohm to study why the second file is missing.

    I tried to attach to this post, but had an odd error:

    Content type of the attachment (application/octet-stream) does not match its file extension.

    You will find the file here:

    http://pastebin.com/sHmVqmhH

  • Impossible to add more accounts mail App. I've added everything I added all the accounts available for this application, said

    I added my outlook account then went to add my yahoo/Gmail account and it tells me that I have added all the accounts available for this application.  I'm doing something wrong?

    You must install the update to enable the feature.  Open the app 'Store' and click the 'Get Windows 8.1 free update' to get the update.

Maybe you are looking for