Soumya Simanta
Soumya Simanta

Reputation: 11751

Alternatives for Pushing data from an Android Service to an Activity

I've a service that is receiving UDP data from the network. I want to push this data from the service to a UI activity.

One way to do it is using broadcast Intents. What is the performance overhead of sending broadcasts frequently from the service to the activities?

Are there any other alternatives for doing this ?

Thanks.

Upvotes: 0

Views: 2335

Answers (1)

Robby Pond
Robby Pond

Reputation: 73494

Not sure of the overhead of Broadcasting Intents but a topic similar to this was discussed a few days ago.

Upvotes: 1

Related Questions