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

Comment by Liyun Zhang - MSFT on Is it possible to opt out of the validation...

I can't understand your question clearly. Did you mean you want the compiler ignore the binding error when you declare the x:DataType and do an invalid binding?

View Article


Answer by Liyun Zhang - MSFT for How to Wake Up a .NET MAUI App in the...

First of all, you can read the official document about the Restrictions on starting activities from the background.And then you can refer to the official document about Start an Activity from a...

View Article


Comment by Liyun Zhang - MSFT on How to preserve original icon colors in Shell

Did you mean you want to keep the icon color on the shell tabbar? In addition, you said: I managed to remove tint on iOS using custom ShellBottomNavViewAppearanceTracker. But the...

View Article

Comment by Liyun Zhang - MSFT on Getting 401 Unauthorized response for Apple...

The official document said: "Unauthorized" means the JSON Web Token (JWT) in the authorization header is invalid. Did you read Generating JSON Web Tokens for API requests?

View Article

Answer by Liyun Zhang - MSFT for Scaling ListView Items at Runtime .NET MAUI

You can try to add the TapGestureRecognizer for the Grid:<DataTemplate x:Key="LessonButton"><ViewCell><Grid Scale="1"><Grid.GestureRecognizers><TapGestureRecognizer...

View Article


Answer by Liyun Zhang - MSFT for How to preserve original icon colors in Shell

For the Android, you can use the ShellBottomNavViewAppearanceTracker to do that.Declare the color in the \Platforms\Android\Resource\values\colors.xml:<color...

View Article

Answer by Liyun Zhang - MSFT for Is Google Maps Sdk programmatically added...

First of all, you can check the offcial document about the Android Google Map Marker. And you can add the marker by calling the platform native code.Give a name to the Map control in the xaml:<Map...

View Article

Answer by Liyun Zhang - MSFT for .net Maui list zebra profiles

According to the official document about Get Profiles List, the intent should be: global::Android.Content.Intent dwIntent = new global::Android.Content.Intent();...

View Article


Answer by Liyun Zhang - MSFT for Unable to find bluetooth devices using...

Scanning and connecting bluetooth also need the Location Permission. I reproduced your problem and fixed it by following steps:I intalled the nuget package InTheHand.BluetoothLE version 4.0.37 and...

View Article


Comment by Liyun Zhang - MSFT on Close login browser in .NET MAUI app after...

There is no way can close the browser programmatically and different users may use different browsers. If you implement login/sign up in the webview of your app, you can close it.

View Article

Answer by Liyun Zhang - MSFT for Confused on C# MAUI - how does #if work?

First of all, you can check the official document about Conditional compilation. The #if <Platform> is preprocessor directive.The C# compiler compiles the code between the #if directive and...

View Article

Comment by Liyun Zhang - MSFT on How to have multiple EvergineView in one page?

What's the namespace of the EvergineView? I can't create it in my project.

View Article

Answer by Liyun Zhang - MSFT for Access cookies in Maui Blazor Hybrid App?

However, if I then try to get the CookieManager from that WebView2, I run into a nullrefThis is because the BlazorWebview is not initialized when the Page's OnHandlerChanged method excuted.You can try...

View Article


Image may be NSFW.
Clik here to view.

Answer by Liyun Zhang - MSFT for No Simulator runtime version from...

This is because the necessary iOS platform support isn't installed on the macOS machine. You can fix it by:open Xcode, go to the menu "Xcode (top left) -> Settings -> Components", and make sure...

View Article

Comment by Liyun Zhang - MSFT on "The breakpoint will not currently be hit"...

Did you mean you want the breakpoint can be hit in the release mode? And is your project type of maui or Xamarin.Android?

View Article


Answer by Liyun Zhang - MSFT for Refresh/Reload MAUI Blazor Hybrid page

That seems to work but it seems like that the memory consumption increases a lot for each refresh/reload so bit worryingThis is not matter. If you open the Task Manager and refresh the brower you will...

View Article

Comment by Liyun Zhang - MSFT on "The breakpoint will not currently be hit"...

Did you mean you want the breakpoint can be hit in the release mode? And is your project type of maui or Xamarin.Android?

View Article


Comment by Liyun Zhang - MSFT on .NET MAUI app solution: Error (active)...

Did you get this error if you create and build a new maui project? In addition, you can create the styles.xml in the \Platforms\Android\Resources\values manually.

View Article

Comment by Liyun Zhang - MSFT on Maui CollectionView problems with...

I can't create a sample to reproduce the problem because you didn't provide the code about the viewmodel and the converter. And I can't under your first problem clearly.

View Article

Comment by Liyun Zhang - MSFT on HttpResponseMessage ReadAsStringAsync -...

Did you test on iOS or windows to check if the problem will happen or not?

View Article
Browsing all 444 articles
Browse latest View live


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