Notifications delivered from Thin Client application to Standard application

asked 2014-07-30 14:53:00 -0700

andrell24 gravatar image


For example, I have an AllJoyn Standard app and AllJoyn Thin Client app that runs on an Android device and an Embedded device respectively. The Thin Client app implements the Notification Service Framework so that it can send notifications to the android device when such events happen on the Thin Client. I have noticed that the app on the android device only receives notification from the Thin Client if it is running, otherwise, it will not receive notifications. Is it possible for the android device to still receive notifications from the Thin Client even if the app on the android device is not running in foreground and background?

Thank you in advance for the response.

Best Regards, Darrell

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-30 21:41:03 -0700

mitchw gravatar image

Thin Library applications/devices require a Standard Library routing node running on the same network in order to be able to work. If you only have the Android device and the embedded device on a network, and your AllJoyn application is not running on the Android device, then the thin library app on the embedded device will not have a routing node to use, and therefore won't be able to send any notifications (or do anything via AllJoyn for that matter).

The "Thin Library Overview" section in this guide provides a good explanation of this concept, along with some diagrams. The "Intro to the Thin Library" document covers these scenarios in more detail.

One option would be to have an application like the notification viewer that runs as a background service on boot.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-07-30 14:53:00 -0700

Seen: 87 times

Last updated: Jul 30 '14