I have a service and I need to get access to context from the service onStartCommand.
How could I do that. I'm new to Android.
You can use ServiceName.this to get Context, Service extends Context
Service is a Context. You can use this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With