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 <[email protected]>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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

