Qt World Summit: Register Today!

Can someone help me with the provided Qt notification code?

  • I used the android Qt notification example code provided to add notifications to my app.
    I created an android service that runs in the background.
    I now have an app that can produce android notifications and has a service running in the background.

    My problem now is that I cannot issue notifications from the service code!
    In the C++ app code i simply do this to get a notification:

    NotificationClient *notificationClient = new NotificationClient(&engine);
     s="App Hi!";

    But, if I do the same from the C++ service code, nothing happens!

Log in to reply