Quantcast
Channel: User Liyun Zhang - MSFT - Stack Overflow
Browsing all 444 articles
Browse latest View live
↧

Comment by Liyun Zhang - MSFT on Navigating back and forth between views...

Could you please show the code about navigating between the pages? In addition, did you also register the route in the xaml? And what platform did your test on?

View Article


Comment by Liyun Zhang - MSFT on How to resolve Maui SQLite database Error

According to this similar thread: How to recover a corrupt SQLite3 database?. The .dump and .recover command can fix it. But the two are native commands of a sqlite3 command-line binary that can't run...

View Article


Comment by Liyun Zhang - MSFT on .NET MAUI - Get device model number

There is no api can get the number in maui and native iOS. So you can only get the number by the device name just as you did.

View Article

Comment by Liyun Zhang - MSFT on .NET Maui CollectionView Not Showing All...

Which collectionview didn't show all data? There are two in your code. In addition, there are only 5 rows in the grid. Please change Grid.Row="5" as Grid.Row="4" for the second collectionview.

View Article

Comment by Liyun Zhang - MSFT on Secure Network Request Filtering in .NET...

You can try to set a proxy for your app and then deal with the http request by the proxy.

View Article


Comment by Liyun Zhang - MSFT on MAUI App, HTTP API Basic authentication...

Did this problem both appear on android and iOS? In addition, can you try to use a token instead of user name and password? And you can try to enable the ClearTextTraffic in the AndroidManifest.xml...

View Article

Answer by Liyun Zhang - MSFT for .Net Maui CollectionView. Changes to one...

First, the TintColor="{Binding Source={x:Reference ThisComponent} and Label Text="{Binding Source={x:Reference Component} bind to different object. Are they correct?And then I created a new sample to...

View Article

Image may be NSFW.
Clik here to view.

Answer by Liyun Zhang - MSFT for Entry on .NET Maui 8 Goes to Top Left of...

I created a new project to test the xaml code you used. And I can only reproduce your problem on the Android 15.0. On the devices that android version is lower than 15 I got:And then I create a android...

View Article


Comment by Liyun Zhang - MSFT on The result of a sum is incorrect when all...

What's the urui:TextField? Did the problem only appear on the android? And did you try to set the value as 0 manually when the entry is empty?

View Article


Comment by Liyun Zhang - MSFT on .NET MAUI Community Toolkit V10.0 Popup...

This is an known issue on the github repo: MissingMethodException when using CommunityToolkit.Maui.Views.PopupExtensions.ShowPopupAsync.

View Article

Answer by Liyun Zhang - MSFT for The result of a sum is incorrect when all...

I can reproduce your problem and I used the trigger to fix it:<Entry x:DataType="local:MyViewModel" x:Name="entry" Keyboard="Numeric" Text="{Binding Notificado}" TextColor="Black"...

View Article

Image may be NSFW.
Clik here to view.

Answer by Liyun Zhang - MSFT for Binded property of child context not...

I created a new project to test your code. And I deleted the SelectedItem="{Binding SelectedString}" and Text="{Binding PropertyThatDisplaysCorrectly}" due to I didn't see where did you declare the two...

View Article

Comment by Liyun Zhang - MSFT on How To Disable Platform Button Effects in...

Did you want to remove the click ripple effect on the Android? I tested your code and the quickly click effect has been removed, but the ripple effect still showed when I pressed the button and...

View Article


Answer by Liyun Zhang - MSFT for MAUI - AndroidManifest uses-permission no...

Why do I need the uses-permission inside my AndroidManifest.xml when I need to request it manually anyway?The uses-permission in the AndroidManifest.xml is used to declare the permissions your app...

View Article

Comment by Liyun Zhang - MSFT on Compile MAUI .NET 9 project with external DLL

Actually, the gradle will auto change the vaule if you didn't set it manually in the AndroidManifest. But the third party dll makes you use tools:replace="android:debuggable" in the AndroidManifest. So...

View Article


Comment by Liyun Zhang - MSFT on Maui Local notification does not work when...

What device did you test on? Did you check the Scheduled Android notifications?

View Article

Answer by Liyun Zhang - MSFT for WebView Handler not loading on Android

I can reproduce your problem on the Android. This because you didn't set the source property for the webview. So the MapSource method of the WebViewHandler wasn't called. The Android webview's url is...

View Article


Comment by Liyun Zhang - MSFT on Cannot enable compiled bindings with source...

Did you set the x:DataType for the control in your library project?

View Article

Comment by Liyun Zhang - MSFT on Is there anyway to show synchronous popups...

You can bind the page's button's IsEnable property to a bool value. And set the value as false before the popup showing, set it as true after the popup disppearing. Or you can refer to this thread:...

View Article

Answer by Liyun Zhang - MSFT for MAUI Android Fine location permission is not...

First, according to your description, the android.permission.ACCESS_FINE_LOCATION didn't work correctly. You can clean and rebuild or restart the visual studio after you added it into the...

View Article
Browsing all 444 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>