How to get Context from Service

Asked 2 years ago, Updated 2 years ago, 103 views

Is there a way to get context from the service?

android broadcastreceiver android-service

2022-09-21 16:10

1 Answers

Service is Context. You can say this like Context = this;.


2022-09-21 16:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.