How can I programmatically send an sms with a .net 8 maui app from the android platform?

Kjell Berstad 0 Reputation points
2024-10-04T15:13:04.4733333+00:00

I have tried to accomplish this but get an error when trying to implement the "Android.Telephony" class.

Developer technologies .NET .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2024-10-07T02:43:36.5+00:00

    Hello,

    Maui officially provides SMS tool class for sending messages, you can use it to send SMS directly. Please refer to the following document for details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.