If your service is a part of a different application, then you can't. If
it's the same application, then the service itself would have your
application's context.

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Fri, Jan 14, 2011 at 12:29 AM, androiddevelopers <gauth...@gmail.com>wrote:

> Hi,
>
>   i have a service , which application  binds to it.
>   i need to check the permissions of the calling application.
>
> can i retrieve the calling applications  context without the calling
> apllication passing it to my service .
>
> Newbie
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to