I want to have a quick settings button to toggle mic streaming or not without switch back to app or launch the app from my desktop.
And maybe we also need to add an action to quickly stop the streaming.
I have try three hours with copilot but I have no idea about how to to call the function in MainPage from a TileService.
Document:
https://developer.android.com/reference/android/service/quicksettings/TileService
I want to have a quick settings button to toggle mic streaming or not without switch back to app or launch the app from my desktop.
And maybe we also need to add an action to quickly stop the streaming.
I have try three hours with copilot but I have no idea about how to to call the function in
MainPagefrom a TileService.Document:
https://developer.android.com/reference/android/service/quicksettings/TileService