Notification in BB10 Server

Is there a mechanism of BB10 notification, when the application registers itself with the notification server (held by RIM) and an event related to the app is notified to the application on the device and the app is called... ?

You are probably wondering just what's called the Push Service: https://developer.blackberry.com/cascades/documentation/device_comm/push/developing_a_push_enabled_a...

Tags: BlackBerry Developers

Similar Questions

  • Read the value of configuration of BDS (BB10 Server)

    BES 5 and Java of BB, you could use a custom it political to store configuration values and read with ITPolicy.get...

    For example:

    http://www.BlackBerry.com/developers/docs/7.1.0api/NET/rim/device/API/itpolicy/ITPolicy.html#getStri...

    We use this mechanism to allow a client set up stuff that all users should have, such as a url to the server.

    Is there a similar mechanism on BB10?

    I asked this on several RIM events already, but it seems to be a too special question to be answered (or even understand).

    Not supported today, but it is planned for a future release. No timetable available now so.

  • NAC Notification comments Email Server problem

    Once I have create a guest account on the comment of the NAC server, he is unable to send e-mail notifications to the guest user. I get the following error.

    Unable to send e-mail. Please contact your system administrator.

    Only the very basic needs to be configured on the server of the NAC comments, as shown in the screenshot attached (replaced real domains). The exchange server is configured for any email from the NGS IP anonymous to any mail electronic id relay.

    Also is it possible to find the services that runs on the END to send emails?

    Thanks in advance.

    Hi Jenny,

    What version of NGS do you use?

    Your sponsor has permissions to send mails?

    What newspapers do you see on the mail server / SMTP relay?

    You can also view the logs under the Admin GUI to: Server > System Logs

    There, you can check what is the relationship to the 'application log' and also ' support newspapers > maillog.

    I hope this helps.

    Kind regards

    Federico

    --

    If this answers your question please mark the question as "answered" and write it down, so other users can easily find it.

  • Telepresence - Join/leave Notifications Audio - API server

    Hello

    I'm looking for how to add notifications audio leave/join for STM publishers. I thought that this was added to version 4.3, but looking through the API guide I only see references to the more personalized.

    Anyone had any experience adding these notifications to the a model of the Conference?

    D.

    Currently join/leave audio notifications are not yet supported, but will be in the next version of telepresence 4.4 server should be out later this year.

  • Cannot create a subscription to notifications vCloud Director (Server.setCustomProperty routine-cursor)

    Hello

    I'm having a problem when you use the workflow of subscription vCloud Director notification.

    When you try to add an AMQP broker using the workflow ' To create a subscription for notifications vCloud Director ' I get the error messages: "Value can not be supported by the custom property".

    The broker and the recipient are created.

    After doing some research, I see that the error occurs at the end of the workflow to the 'Set prop' custom task scriptable during the procurement of:

    If (routingKeyAtt! = null) Server.setCustomProperty (subscription, "routingKey", routingKeyAtt);

    No idea why I can't set this specific CustomProperty?

    no idea who to work around this problem?

    Thank you!

    All - I've updated the package of Notifications for 5.1 file found here: vCloud Director 5.1/5.5 blocking tasks and notification using AMQP package -please try this version, it should now allow the subscription as well as adding custom properties successfully create.

    UPDATED March 11, 2014: update to "Create a vCloud Director notifications subscription" workflow for working with vCloud Director 5.5. The change IS backward compatible with vCloud Director 5.1.

  • Architecture of client for Notifications of type server push in Blackberry OS < = 7

    Hi all

    Please guide me to solve the problem which would be the Architecture if I go with my current server settings for Android it gets the token device for each device and record in DB and against this device he unique token identifies the device and send the THRUST of this device through CMG.
    So now, I want to keep it as for Blackberry:
    to do this, I did research but could not finalise the side Structure of the customer and the final server that the customer must register with the initiator push then routing throug PPG and then go without using the software Push Blackberry SDK?
    Kindly give me the idea that how Client-side communicates with server-side?
    is that our client-side application communicates with our local server and local server communicates with the Server Push Blackberry then what are the steps to follow?

    Thank you

    Yep, you will need to write an application server (your Push initiator) that will send the shoot to the BlackBerry push Service PPG (it will be the public/BIS PPG if you send a push the public and not the users business/work).  If you're comfortable with Java, we offer a Push Service SDK that makes it easy to write a push initiator.

    A push-enabled application on your BlackBerry must register with your application on the PPG ID so that he knows he has allowed to receive the shoot.  You mentioned that you develop for BlackBerry OS<= 7="" so="" i'm="" guessing="" you="" will="" be="" writing="" your="" push-enabled="" application="" using="">

    We have an example of Java application and the developer's Guide that could be of assistance in the drafting of the present: https://developer.blackberry.com/devzone/develop/platform_services/push_apps.html

    Of your Push initiator, you want to send a big boost to your application that runs on a specific device of BlackBerry using your password, push application ID and the pin of the device (there are other required fields by PAP XML, but those are the essentials - well, and the content you want to push so ).

    Matt

  • notification of bb10 helmet

    Hi I was wondering if there is any support for notifications of headphones... I want to say do we receive any notification when we plug our headphones and also when we remove the helmet... or any event fires. If there is an event that fires at the moment so can us programatically access it...

    ``````````````````````````````````````````EDIT`````````````````````````````````````````

    Through QAnywhere for Adobe Air, I found a code and tried

    My code

    addEventListener (qnx.events.AudioManagerEvent.CONNECTED_INPUT_CHANGED, outputchanged);
    addEventListener (qnx.events.AudioManagerEvent.CONNECTED_OUTPUT_CHANGED, outputchanged);

    private void outputchanged (event:qnx.events.AudioManagerEvent): void
    {
    trace ("output is ' + event");
    }

    It does not work. I have not any trace output...? Any idea... ??

    Any advice/help is appreciated

    Thanks in advance

    Resolved, he changed the code of

    var audioManager:AudioManager = AudioManager.audioManager;
    audioManager.addEventListener (AudioManagerEvent.CONNECTED_OUTPUT_CHANGED, outputchanged);

  • Accommodation of sockets on BB10 (server) does not work. Advice?

    I saw a server FTP application in the app store, so I tried it. It hosts an open port that I can connect to with my FTP client, which is great. However, when my own application (which is an application of indigenous waterfalls) try to host an open port, I can't connect to it. I get a "connection refused" on the client. During my connection attempts, my request (which was accepting connections and being debugged) do not unlock the State listen to because it never received the connection. This situation is evident, even I'm debugging or just run the application launch manually.

    I can only conclude that there is a firewall any on the device that blocks incoming connections (and so, accommodation sockets). Or routing Sockets open is disabled somehow.

    My question is: why android applications are allowed to host a srever socket while the applications of stunts are not? And above all, y at - it a solution?

    EDIT: I enabled permission to acccess_internet.

    Hello

    I just created a test project and I can confirm that QTcpServer works using WiFi on Dev Alpha A:

    Newspapers of the device:

    15:58:04.371 may 08 server started

    15:58:55.953 may 08 new connection

    $ telnet 192.168.0.33 5335
    192.168.0.33 by train...
    Connected to 192.168.0.33.
    [Escape character is ' ^]'.

    This part of the code is not necessary. It blocks the event loop and the slot is not called:

    while ( _server.isListening() ) // Server constantly waits
        {
            // If a new connection is available, onNewConnection() will be triggered
            _server.waitForNewConnection( -1 );
        }
    

    Here is my code:

    TestProj.hpp

    #ifndef TestProj_HPP_
    #define TestProj_HPP_
    
    #include 
    #include 
    
    namespace bb { namespace cascades { class Application; }}
    
    class TestProj : public QObject
    {
        Q_OBJECT
    public:
        TestProj(bb::cascades::Application *app);
        virtual ~TestProj() {}
    
    protected slots:
        void onNewConnection();
    
    protected:
        QTcpServer *tcpServer_;
    };
    
    #endif /* TestProj_HPP_ */
    

    TestProj.cpp:

    #include "TestProj.hpp"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    TestProj::TestProj(bb::cascades::Application *app)
    : QObject(app)
    {
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        AbstractPane *root = qml->createRootObject();
        app->setScene(root);
    
        tcpServer_ = new QTcpServer(this);
        QObject::connect(tcpServer_, SIGNAL(newConnection()), this, SLOT(onNewConnection()));
    
        if (!tcpServer_->listen(QHostAddress::Any, 5335))
        {
            qDebug() << "Unable to start the server:" << tcpServer_->errorString();
        }
        else
        {
            qDebug() << "Server started";
        }
    }
    
    void TestProj::onNewConnection()
    {
        qDebug() << "New connection";
    }
    
  • How to configure the push notification in BB10?

    Hi all

    I want to do an application based on the concept of send and receive push notification. I'm having difficulties in your Setup. can anyone describe the steps to configure.

    Thanks in advance.

    Have you watched this...

    http://developer.BlackBerry.com/native/documentation/Cascades/device_comm/push/developing_a_push_ena...

    There are also some examples of applications that illustrate push them...

    http://developer.BlackBerry.com/native/sampleapps/

    After that if you're still stuck, it is better to ask questions of Push in this dedicated forum...

    http://supportforums.BlackBerry.com/T5/BlackBerry-push-development/BD-p/Applications_using_Push_Tech...

  • Icon of the Red Star (sparkle) of unexpected notification (native BB10)

    I have a headless application that uses the classes NotificationMode, NotificationGlobalSettings and NotificationPolicy.

    Not so long ago I was using the Notification class to publish notifications of hub. It was a temporary solution, for logging / debugging only, and it has been deleted completely, when there was no more need in there.

    The question is, when I recharge my camera (Z10, 10.2.1), red sparke notification appears on my icon of the application, but there is no sign of all the messages involved in the hub. As the part of the user interface is not yet launched, I guess that something is wrong with the game without head. This issue takes place only upon reboot. When I install set bar or run the application in debug mode, everything is fine.

    I can't even imagine, what could cause this. Notification icon is right there without any particular reason.

    There may be a known issue/bug? Some cached, parameters, or errors in application, who could publish this red spark?

    Thanks in advance!

    Solved myself.
    Posted the notification of hub, deleted manually, then rebooted the device and called deleteAllFromHub and clearEffectsForAll. Deletion of unnecessary imported classes and functions, again rebooted the device and sparkle red had disappeared.

  • BB10 Push notification: PushPayLoad

    I'm developing a c# application that can send a push notification to BB10 devices using Blackberry Internet Service, I found a code it works well, however I don't know how to add custom to the push, data data that can be access with the push as pushPayLoad and used that is when user click on the push notification , it will run my native application bb10 then navigate to the user window or any other open window as required bussiness

    Here are my c# code:

    HttpWebResponse HttpWRes = null;
                HttpWebRequest HttpWReq = null;
    
                string pin = "push_all";
                string applicationID = "ApplicationID";
                string BOUNDARY = "ASDFaslkdfjasfaSfdasfhpoiurwqrwm";
                string msg = "Good morning"; // the message to send
    
                string userName = "ApplicationID";//"YOUR_APPLICATION_ID";
                string userPW = "YourPassword";//"YOUR_PASSWORD";
    
                string url = "https://pushapi.eval.blackberry.com/mss/PD_pushRequest";
    
                HttpWReq = (HttpWebRequest)WebRequest.Create(url);
    
                //SetProxy(HttpWReq); //if proxy needed, use this
    
                HttpWReq.Method = ("POST");
                HttpWReq.Accept = "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2";
                HttpWReq.KeepAlive = true;
                //HttpWReq.Credentials = new NetworkCredential(userName, userPW);
    
                HttpWReq.PreAuthenticate = true;
                HttpWReq.ContentType = "multipart/related; boundary=" + BOUNDARY + "; type=application/xml";
    
                SetBasicAuthHeader(HttpWReq, userName, userPW);
                StringBuilder dataToSend = new StringBuilder();
    
                dataToSend.AppendLine("--" + BOUNDARY);
                dataToSend.AppendLine("Content-Type: application/xml; charset=UTF-8");
    
                dataToSend.AppendLine("");
                dataToSend.AppendLine("http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd\">");
                dataToSend.AppendLine("");
                string myPushId = DateTime.Now.ToFileTime().ToString();
                string deliverBefore = DateTime.UtcNow.AddMinutes(5).ToString("s", System.Globalization.CultureInfo.InvariantCulture) + "Z";
                dataToSend.AppendLine("");
    
                dataToSend.AppendLine("
    "); dataToSend.AppendLine(""); dataToSend.AppendLine(""); dataToSend.AppendLine(""); dataToSend.AppendLine("--" + BOUNDARY); dataToSend.AppendLine("Content-Type: text/plain"); dataToSend.AppendLine("Push-Message-ID: " + myPushId); dataToSend.AppendLine(""); dataToSend.AppendLine(msg); dataToSend.AppendLine("--" + BOUNDARY + "--"); dataToSend.AppendLine(""); Stream requestStream = null; string pushResult = ""; try { requestStream = HttpWReq.GetRequestStream(); } catch (Exception ex) { pushResult = "Push failed! " + ex.ToString(); } byte[] outStr = new UTF8Encoding().GetBytes(dataToSend.ToString()); requestStream.Write(outStr, 0, outStr.Length); requestStream.Close(); try { HttpWRes = (HttpWebResponse)HttpWReq.GetResponse(); } catch (Exception ex) { //push failed } if (HttpWRes != null) { HttpWRes.Close(); }

    What are the changes that I must code to send data as well as the thrust as profileId = 123?

    After much trial and error, I finally found the answer: adding "msg" I can add all payload elements I want:

    MyStringBuilder.AppendLine ("profileId"+":" + "AAB123");

    MyStringBuilder.AppendLine ("postId"+":" + "4567");

    MyStringBuilder.AppendLine (msg);

  • Define expired password notification

    Hello

    I have a small network with Active Directory on the server 2008r2 and we do not use Exchange to send. I want to put password expiry notification, when obtaining password user expires he forced a notification e-mail server as 'your password will expire after 2 days so please reset your password '.

    Hi AkhileshRawat,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please ask your question in the Forums in TechNet Windows Server. .

  • Client/server Push application: how to run the thread listening on basis of the necessity?

    Hello

    To receive the broadcast content from the server, a thread of listening to the need to run in the back ground on the BlackBerry.

    For a client application to receive the server put grows optimally updated, what is the best way?

    1. run the thread listening on the installation of the client application using auto-run on start up?

    What happens to the thread if there are reboot the device? The listener would start again?

    2. run the thread listening on the launch of the client application?

    (or)

    3. is there a way to run the thread to listen according to the need, when there is dissemination of the server, as some notification (called by server) to the client that there is dissemination of the server and the client then begins the listening thread?

    Please contribute your valuable and suggest most commonly followed and best practices.

    Kind regards

    Suresh.

    you don't know. If it's a good thing to do is another question.
    You can use an inboxlistener to receive an email or even a text message with a command to start the pushlistener. But why you want to do something like that? listening on a port, there's nothing that drains the battery.

  • Cannot log into PeopleSoft, through application server

    Hi, I'm almost finished installing and currently at the trial stage of connection 3-layer by the application designer after you have configured the application server domain.

    Here are the details of app server configuration:

    ----------------------------------------------

    Fast configuration menu - field: HRDEMO

    ----------------------------------------------

    Characteristic parameters

    ==========                    ==========

    (1) pub/Sub servers: No. 16) DBNAME: [HRDEMO]

    (Server 2) Quick: No. 17) DBTYPE: [ORACLE]

    (Query servers 3): n ° 18) username: [PS]

    ((4) shock: Yes 19) UserPswd: [PS]

    ((5) Jolt relay: No. 20) Networkid: [TESTSERV]

    ((6) WSL: No. 21) AddToPATH: [C:\app\Administrator\product\11.

    2.0\dbhome_1\BIN]

    (Debugger 7) PC: Yes 22) ConnectID: [people]

    (Event notification 8): Yes 23) ConnectPswd: [peop1e]

    [(Serveurs de 9) MCF: No. 24) name of the server:]

    (10 assembler) Perf: No. 25) Port of WSL: [7000]

    ((11) Analytics servers: Yes 26) JSL Port: [9000]

    (Bridge 12) areas: No. 27) Port of JRAD: [9100]

    In the configuration manager, here are the values I gave:

    Name of the server App - HRDEMO

    The computer name or IP - address localhost

    Port - 7000

    Password login area - PS

    Confirm password login area - PS

    But when I try to log in the application in mode 3 designer levels I get following error:

    Could not connect to HRDEMO (//localhost:7000) application server.  Possible causes are: the server name/IP address and port for application server alias is incorrect, the application server is not started, or the network is inaccessible.  Contact your system administrator or see Tuxedo log for more information.


    I checked the connection to the application server with telnet as domain

    telnet localhost:7000

    but he did not, got this message-

    Connecting to localhost:7000... could not open connection to the host, on port 23

    : Connection failed

    I don't have where where I am doing wrong. Could someone please help me here.

    First, you should enable the option 6) WSL.

    Did you try to replace "localhost" default IP 127.0.0.1? You don't have a fixed IP address?

    In addition, 'localhost' is to be replaced with the name of the server that is present in the C:\WINDOWS\system32\drivers\etc\host file, such as

    192.168.1.1 myservername

    I don't know your exact OS (ok, it's windows but which), but what about disabling the firewall for the moment of the test?

    And not tied directly but most likely you don't want PC debugger, Event Notification and Analytics Server, do you think? If not, turn them off.

    Nicolas.

  • Debug Notifications by mail electronic vCAC

    I've enabled e-mail notifications and a server abroad I know set up works. In the var/log/vmware/vcac/catalina.out log, I see an error containing 'Exception during the message to add to the queue'. Screen turned newspaper attached. Did someone had problems with notifications by e-mail to vCAC? Is anyway to debug email settings?  Thank you.

    email log.png

    This problem was caused by the the field users email account not being is not a valid e-mail address. Example, I was logged in as [email protected] but my email is [email protected]. If you go to Administration > users and search for my username, the email field is empty. I added my actual email account in AD and the issue has been resolved.

    TL; DR - check user names, emails and other properties using the Administration > users to ensure that vCAC has the right information.

Maybe you are looking for

  • Magenta print C7280 striped

    I searched and searched all the options solve my problem of print head... my c7280 does not print the 3rd area of magenta or 3rd band of magenta in the horizontal bar for a long time in the process of cleaning print head.  I recently replaced the mag

  • image titles

    How can I generate titles automatically the name of the album

  • no battery persentage notification

    Motorcycle g3 no battery percentage displayed in the bar at the top of the page...

  • Using Windows XP Home - number svchost.exe - CPU to 100% for a whole day

    I have updates, set up in XP Home so that I am asked to install the updates downloaded stop. After that I did yesterday and restarted my PC, svchost.exe has operated at 100% usage for a full day. It will kill my laptop - it is almost 5 years and will

  • C drive full (not restoration) cannot identify/search hidden files

    I can't identify which occupies all the space on my C drive. Currently, the operating system is Windows Vista Ultimate Edition. My hard drive has 86.5 GB. C:\ drive shows 80 GBs used and I can only half of this use. All files and folders are currentl