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

Comment by Liyun Zhang - MSFT on Local Network permission working on Debug...

Did you try to Publish an iOS app using the command line? Or did you try the release mode on the simulator?

View Article


Comment by Liyun Zhang - MSFT on .NET MAUI QueryProperty: Data not passed to...

Did you try to put the code await _viewModel.LoadDrawingAsync(DrawingId); into some other contentpage lifecycle methods such as OnHandlerChanged.

View Article


Comment by Liyun Zhang - MSFT on when I upgrade MAUI to version 9, I get this...

I have createa a new .NET 9 maui project but can't reproduce your problem. And the error message you provided didn't mention the skiasharp nuget package.

View Article

Comment by Liyun Zhang - MSFT on Soft Keyboard Overlaps Input in Android...

I tested with the webview on the android, but the softkeyboard will not overlap input.

View Article

Comment by Liyun Zhang - MSFT on .NET MAUI unable to execute EF migration

You can refer to this case that has the same error message as yours: How to fix DbContextOptions resolving properly from services to apply EF migration to create database?

View Article


Answer by Liyun Zhang - MSFT for AppThemeBinding on FontImageSource property...

I cloned your project and reproduced the problem. The cause is the Source property changed event not called when the FontImageSource's Color property changed, and so the Handler's MapSource method will...

View Article

Answer by Liyun Zhang - MSFT for BlazorWebView in a Shell app opens, but...

I reproduced your problem:On the .net 8, this problem only appear on Android platform and it worked well on Windows and iOS.For the workaround on the .net 8, you can use...

View Article

Comment by Liyun Zhang - MSFT on Copy-Paste Context Menu Not Displaying on...

Could you please show th full code? I got some errors when I copied your code in the OpenInWindow method. Such as no namespace about WindowOverlayHelper and this.GetWindowManagerLayoutParams();

View Article


Answer by Liyun Zhang - MSFT for Copy-Paste Context Menu Not Displaying on...

I cloned your project and reproduced your problem. And then I find the simialr issue in the native android:Android default cut/copy/paste not showing in EditText.So I created a native android project...

View Article


Answer by Liyun Zhang - MSFT for MAUI Android webview proxy

You can try to use the Xamarin.AndroidX.WebKit nuget package for the android. In addition, for the windows, there is no CoreWebView2Environment.CreateAsync(null, null, Options); method. The full...

View Article

Comment by Liyun Zhang - MSFT on .NET MAUI Blazor iOS Keyboard issue

I have edited the answer and please check it. @iPXvD

View Article

Answer by Liyun Zhang - MSFT for MAUI: Resize all view components by default...

First of all, you can avoid using fixed size of the control if you want to fit UI on different size of the screen. You can use the weight on size instead of the fixed value. Such as:<Grid...

View Article

Comment by Liyun Zhang - MSFT on Publishing Ad-Hoc .aab on Maui gives...

Did you use the jarsigner to sign your app and published it by the visual studio? In addition, you can check the official document about Publish an Android app for ad-hoc distribution and sign you app...

View Article


Image may be NSFW.
Clik here to view.

Answer by Liyun Zhang - MSFT for Maui Tabbed Page - Setting the color of the...

First of all, please make sure you have declared the Title property of the child page. Or you can declare it in the TabbedPage:If you have the TabbedPage.xaml:<TabbedPage...

View Article

Comment by Liyun Zhang - MSFT on Maui 9 - Are 32bit arm builds possible?

But the default value is <TargetFrameworks>net9.0-android</TargetFrameworks>. And .net 9 target android 35.0 defaultly.

View Article


Comment by Liyun Zhang - MSFT on Maui Tabbed Page - Setting the color of the...

For more information, you can check the official document about Navigate within a tab.

View Article

Answer by Liyun Zhang - MSFT for MAUI read accounts ANDROID

First of all, please add the following permission in the AndroidManifest.xml:<uses-permission android:name="android.permission.GET_ACCOUNTS" /><uses-permission...

View Article


Answer by Liyun Zhang - MSFT for MAUI Migration -...

The Maui project uses AndroidX instead of the Android.Support. So please make sure that you have migrated the Android.Support package to AndroidX package when you migrate xamarin project to maui...

View Article

Answer by Liyun Zhang - MSFT for SafeArea not functioning on Android devices...

This issue began after updating the project from .NET 8 to .NET 9.This is because the .NET 9 android target Android 15.0 defaultly.SafeArea does not function as expected on Android devices with...

View Article

Comment by Liyun Zhang - MSFT on Plugin.InAppBilling: Acknowledge for Android...

Did you check if purchase.State == PurchaseState.Purchased? In addition, you can check the sample code : PurchaseConsumable.

View Article
Browsing all 446 articles
Browse latest View live


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