AndroidStreamingAudio icon indicating copy to clipboard operation
AndroidStreamingAudio copied to clipboard

Help

Open gimidia opened this issue 7 years ago • 2 comments

how can i solve this?, i use android 7

    private void SendAudioCommand(string action)
    {
       var intent = new Intent(action);
        StartService(intent);


    }

Service Intent must be explicit: Intent { act=com.xamarin.action.PLAY launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } }

gimidia avatar Aug 24 '18 13:08 gimidia

You can't use a string

Cheesebaron avatar Aug 24 '18 18:08 Cheesebaron

Here is what I did : var intent = new Intent(Android.App.Application.Context, typeof(StreamingBackgroundService)); intent.SetAction(action); StartService(intent);

ZeAleks avatar Sep 19 '20 03:09 ZeAleks