Forum Xamarin.Android

Start Service for class in Binding dll

ZePingDingZePingDing USMember ✭✭
edited June 2018 in Xamarin.Android

Hi guys,

I notice that if we want to create a service/broadcast receiver in Xamarin.Android we need to use Service/Broadcast Receiver attribute on top of the specific class to achieve that, but currently I want to start a service for class in Binding dll and I unable to add the attribute on top of the class in Binding dll, how should I achieve that?

Thanks guys!

Edit:
The service not getting started during Debug with VS only, if I just open the Apps on my phone without debug, the service is working.

Answers

  • BillyLiuBillyLiu Member, Xamarin Team Xamurai

    Hi ZePingDing,

    What's the Binding dll are you using? And how do you start the service?
    Could you share your code?

  • ZePingDingZePingDing USMember ✭✭

    Hi BillyLiu,

    The Binding dll file is too big and I unable to upload. It is a live streaming related SDK.

    I add the service details in AndroidManifest like this:-

Sign In or Register to comment.