You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I need some advice please. I need to create a simple application that allows control over the "Volume up" and "Volume down" buttons on the display of an Android device by pressing the device's volume. I couldn't find instructions for this application, so I'll try to ask you.
Thanks for all the advice.
MainPage.xaml.cs:
`using Microsoft.Maui.Devices;
using Microsoft.Maui.Controls;
using Android.Media;
using Android.Content;
using Microsoft.Maui.Controls.Xaml;
using Microsoft.Maui.Essentials;
using Microsoft.Maui;
namespace device;
public partial class MainPage : ContentPage
{
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I need some advice please. I need to create a simple application that allows control over the "Volume up" and "Volume down" buttons on the display of an Android device by pressing the device's volume. I couldn't find instructions for this application, so I'll try to ask you.
Thanks for all the advice.
MainPage.xaml.cs:
`using Microsoft.Maui.Devices;
using Microsoft.Maui.Controls;
using Android.Media;
using Android.Content;
using Microsoft.Maui.Controls.Xaml;
using Microsoft.Maui.Essentials;
using Microsoft.Maui;
namespace device;
public partial class MainPage : ContentPage
{
}
`
MainPage.xaml:
`
Beta Was this translation helpful? Give feedback.
All reactions