开发者

Send data from activity to running service

I have a short question. How can I send data from an activity to an already running service?

The approach is as following, I have a service running in the background, which is starting a new activity that is just showing an input window. And now I want to send the typed data back to the service. How can this be done?

开发者_如何学Python

Thanks in advance for helping! Best regards Tobi


Are you aware of onBind method of Service class?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜