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

Answer by Liyun Zhang - MSFT for Maui Project giving warning XC0103 (markup...

I cloned your project and reproduced the problem. I have checked the dependnecies of the nuget package and found that the CommunityToolkit.Maui 9.1.1 didn't have the dpendency for .net 9.0.And the...

View Article


Comment by Liyun Zhang - MSFT on How to add a progressbar shared with all...

You can just declare a base page that insert the progressbar in the constructor. And then the sub page inherit from the base page can call the base constructor.

View Article


Comment by Liyun Zhang - MSFT on Unable to Capture Memory dotnet-gcdumps from...

You can capture the memory by the Andorid Sutudio. For more information, you can check my old answer: Use the Android Studio to trace memory/cpu usage of your application.

View Article

Comment by Liyun Zhang - MSFT on CollectionView has worse performance on...

Did you try test the same code on the iOS? In addition, you can try to add the CollectionView into a parent control and set the height for it.

View Article

Comment by Liyun Zhang - MSFT on .NET MAUI localhost API running out of...

Did you mean the var httpClient = new HttpClient(); is null on the Android? You can try to use HttpClientFactory instead of newing. In addition, you can check the official document about the Connect to...

View Article


Comment by Liyun Zhang - MSFT on In .NET Maui, how would I use a...

You can design different MainPages for the phone and tablet. Or you can change the UI at runtime when the devices' orientation changed.

View Article

Comment by Liyun Zhang - MSFT on Error of shell after adding onboarding page...

Did you try to inject the AppShell by the example code in the official document? In addition, did you try to get the AppShell by IPlatformApplication.Current.Services.GetService()?

View Article

Answer by Liyun Zhang - MSFT for .NET Maui - Update UI from bluetooth events

The method is not async so you can just call it directly. Such as:private void OnDiscoveryFinished(){ isDiscovering = false;}And for the ObservableCollection, you can use the CollectionChanged...

View Article


Comment by Liyun Zhang - MSFT on Android Simulator Screen keeps black

Did you try to wait for more seconds? In addition, did you try to create some other instances of the different android emulator and run them in the Android Device Manager?

View Article


Comment by Liyun Zhang - MSFT on UI carousel view in .NET MAUI

You can use the bindable layout in the Carousel to achieve this effect. In addition, you can also use some third party control such as data grid to do that.

View Article

Comment by Liyun Zhang - MSFT on CollectionView Items not showing on...

xmlns:model="clr-namespace:MyProject.Model" this is an example. Just replace MyProject.Model with the namespace of your Player class. @Jack

View Article

Comment by Liyun Zhang - MSFT on Resolver for the current activity is not...

I used your code and didn't meet this error. The CrossFingerprint.Current.AuthenticateAsync will invoke the Fingerprint.

View Article

Comment by Liyun Zhang - MSFT on How to pack existing SQLite Database in MAUI...

You can copy and save the database file to the device local folder and then use it when you install the maui app.

View Article


Answer by Liyun Zhang - MSFT for Where to locate reference files for multiple...

The easiest way is copying the files in the Resources/raw into the ProjectName.Web. And then you can access the file by the following code in the ProjectName.Web: var a =...

View Article

Comment by Liyun Zhang - MSFT on Updating .NET MAUI app to android version 34...

How did you update your app to android version 34? In addition, why did the errors contains both .net7.0 and .net8.0?

View Article


Comment by Liyun Zhang - MSFT on Property Command from EventToCommandBehavior...

I created a new project to test the command and the dependency injection. The appearing method will be hit in my project. Can you show more details to reproduce this problem?

View Article

Comment by Liyun Zhang - MSFT on Deeplink in MAUI...

Did you try to register the Intent Filter with the [IntentFilter] attribute instead of the AndroidManifest.xml? You can refer to the official document about Configure the intent filter.

View Article


Comment by Liyun Zhang - MSFT on Need help to interpret log as Android app...

I installed the vscode for the windows and created a new maui project. Then I can debug it on my RedMi physical device with Android version 14.0. Did you have any other physical device to test?

View Article

Comment by Liyun Zhang - MSFT on MAUI App Crashes Immediately After...

Can you install the apk file successfully if you just get it from the pc by the usb?

View Article

Comment by Liyun Zhang - MSFT on FlyoutItem or MenuItem navigation not...

Did you test on the other platforms and get the same problem? In addition, did you mean the aboutItem.Clicked event did not navgate in release mode? Did you try to use await...

View Article
Browsing all 444 articles
Browse latest View live


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