Questions tagged [maui-android]

40 questions
0
votes
2 answers

Download files in MAUI Android WebView

I have a WebView in a MAUI app that generally works, but whenever I click a link on Android that is supposed to download a file (link returns a Content-Disposition header) nothing happens. How is this supposed to be implemented? I can't find any…
Edgar
  • 4,348
  • 4
  • 40
  • 59
0
votes
1 answer

How to call native android getWindow() API in .NET MAUI

I am trying to disable touchscreen input for the user. This will be used to try and get a camera app to work underwater (where the phone is kept inside a diving case) to prevent conductive sea water touches. I did come across suggestions on how to…
Zenovak
  • 25
  • 4
0
votes
1 answer

Unresponsive MAUI Android app, no user interaction possible

I have some rare cases where users of my app complain that the entire app becomes unresponsive and that no further interaction is possible with all controls and buttons (Clicked event handlers and Tapped GestureRecognizers). However, according to a…
Daniel
  • 67
  • 1
  • 6
0
votes
1 answer

Azure Cognitive Speech Service returning "No Match" always in MAUI application

I am trying to build simple speech to text android application using .Net MAUI but always getting result as - Microsoft.CognitiveServices.Speech.ResultReason.NoMatch. Same code if I tried using console application and it is working as expected and…
0
votes
0 answers

How to share media using Twilio Conversation API? - in .NET MAUI

I am developing an android chat application using Twilio Conversation API in.NET MAUI. I don't get a sample in Twilio documentation. How to share media here? I tried this stack overflow solution. It doesn't work for my case. I don't find any method…
0
votes
1 answer

MAUI Android tablet not detected, can't activate tethering

I want to debug my MAUI app on an Android device. The Android API version is in the allowed range. I connect the device to the PC where I use Visual Studio. Developer options are enabled. USB debugging is enabled. I go to Tethering & Mobile Hotspot…
Frank Mehlhop
  • 1,480
  • 4
  • 25
  • 48
0
votes
1 answer

Deep Link for Android with .Net Maui error - Error when navigate other page

I'm trying to use Deep Link for Android in Maui, but when I open my application from the link newapp://result, it opens either the home page or the last page that was open in my application. And when I try to navigate to another page, the…
0
votes
1 answer

New MAUI Project Won't Build - Error not compatible with net6.0-android31.0

I'm creating a new MAUI project and have set to long term support version .NET 6.0. Out of the gate the project will not build and throws the below error. How will the project not build right after being created? I have downloaded Android SDK…
billy_comic
  • 867
  • 6
  • 27
0
votes
0 answers

MAUI Android Binding not able to find static method switchMap

I have an Android Java Library Binding project to wrap a 3rd party proprietary aar file. I have references to all of the gradle dependencies from Nuget. When I include this in my MAUI project and invoke a method in the 3rd party library, it fails…
Ball
  • 2,591
  • 3
  • 19
  • 26
0
votes
0 answers

How to access the body of an IWebResourceRequest object in Android?

I'm working on an Android app, and I need to access the body of a Android.Webkit.IWebResourceRequestInvoker object to extract some data from a HTTP request. However, when I try to access the Body property using reflection, it returns null. Can…
ephramd
  • 561
  • 2
  • 15
  • 41
0
votes
0 answers

Workload installation failed: No space left on device when clearly there is

When I'm executing command sudo dotnet workload install maui-android --temp-dir $(HOME)/.temp It installs packages, but at the end it outputs: Workload installation failed: No space left on device df -h ~/.temp output Filesystem Size Used…
Taskavan
  • 1
  • 1
0
votes
1 answer
0
votes
3 answers

Prevent show SoftKeyboard on entry focused .NET MAUI

I need to hide Softkeyboard when an entry is focused on Net MAUI on .net7 in Android in order to input data from a barcode Scanner. So far I tried to disable/enable entry when focused, but the behavior is not correct. I also tried a KeyBoardHelper…
0
votes
1 answer

MAUI Databinding with CommandParameter for SwipeItem and TapGestureRecognizer return null

I follow the tutorial .Net MAUI Full CRUD with SQLite to develop a feature in a MAUI app for CRUD with SQLite. I use Microsoft.Toolkit.Mvvm to fullfill MVVM requirements. But now when I click Delete button, nothing happens (fig 1). Also when I click…
BabyHai
  • 89
  • 1
  • 9
0
votes
1 answer

Customize Picker in .NET MAUI with handlers

I would like to customize a Picker as well as DatePicker in .NET MAUI using handlers for Android. I want the dialog to have rounded corners to match the overall style of my application. I have tried to follow the Microsoft documentation for handlers…
FabianK
  • 23
  • 6