0

I am trying to create an app for Sony Smart Watch which will notify the user on his watch whenever he gets a notification on his android phone. Whenever my phone gets a notification , I need to check whether it is for my app , If yes then call my already running ExtensionService and pass the extras (containing details of the event). Similar to how Facebook and Twitter apps send their notifications to the smartwatch whenever they have a new one. Is there a way by which android can start a service whenever it gets a notification for my app ?

Nirav Sanghvi
  • 408
  • 3
  • 14
  • Services run all the time, say to catch notifications. Doesn't make sense to start a service when you receive a notification. – weston Sep 27 '13 at 07:17

1 Answers1

0

Did you take a look at the SampleNotificationExtension in the SDK samples? It should show you how to capture notification Events and display them on the watch.

mldeveloper
  • 2,253
  • 1
  • 13
  • 14