How To Use .NET MAUI to control the Android mobile hotspot on and off?

志轩 张 0 Reputation points
2023-08-31T14:36:01.5866667+00:00

JAVA can use reflection or android.net.TetheringManager to control the opening of mobile hotspots, so how can MAUI do this function?

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-08-31T15:32:59.8033333+00:00

    you would a java library to do the work, then call from Maui:

    https://learn.microsoft.com/en-us/dotnet/maui/android/internals/java-interop

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.