• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android Service - Cannot access location

Hello Experts,
I am new to Android ... so just exploring ...

I created an application that starts a service. This service has to access the Location.
I am currently unable to do so ... I have given permission to my Manifest file ..

I think the issue is that the application has the permission, but the Service does not !
What happens is that the service keeps running even if the application is stopped ..

Does the Service need special / different permissions ?
How do I assign permissions to Service ( my service class extends : Service)


Please help.

Thanks in advance.

Regards
Varun
 
Back
Top Bottom