1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Android Service - Cannot access location


Last Updated:

  1. varun_masti

    varun_masti New Member This Topic's Starter

    Joined:
    Sep 24, 2010
    Messages:
    1
    Likes Received:
    0
    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
     

    Advertisement

Share This Page

Loading...