How to send an event data to android app from a web service SmartApp?


(Nayeon Bak) #1

hi

I am developing an android app working and communicating with a web service.

To build an android app which gets the event data, whenever the event from devices configured by a web service occurred, should I send the request to a web service to get data periodically in android app?

I hope to know the way a web service sends a data to android and the android notices there is the request that it should know like the broadcast receiver.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #2

Use the new API.

It is designed for this scenario. In the current groovy API, this scenario is more complicated.

https://smartthings.developer.samsung.com/


(HousePanel Author) #3

Will apps developed with the new API work in the legacy mobile app?