the skbitmap not work why paint on it?
SkiaSharp.SKBitmap bitmap = new SkiaSharp.SKBitmap(309, 60); var canvas = new SkiaSharp.SKCanvas(bitmap); var paint = new SkiaSharp.SKPaint(); paint.TextSize = 12; paint.Typeface = SkiaSharp.SKTypeface.FromFamilyName("Arial"); paint.Color =…
Xamarin support for Android API 34 (14)
Hi I have a project and trying to update to API 34 with no luck even I create a blank project (Start new project with basic hello world template) also giving me the same error. Here is the error The TargetFrameworkVersion (Android API level 33) is lower…
can I use c++ to develop xamarin.android?
can I use c++ to develop android application ? and I know I can not use .net library. but I just wonder If I can use c++ to developt it.
Azure Dev Ops pipeline failing for Xamarin Native android app when installing SDK platforms
Hi, I have a Xamarin Native android project which is held in Azure Dev Ops. I have a pipeline which builds the app. The last time it ran in April it worked fine, but now after making only a few small code changes (UI changes) of which none were related…
Unique idenifier for device
I am new to Xamarin Forms development and new to this forum, so sorry if this is a stupid question! I am working on a Xamarin Forms app that is using oAuth style of login / authentication. I can pass a "device id" when requesting a token, so…
Xamarin.Forms Android Resource.Designer generating without layout xml
Hello! Running VS22 and Xamarin.Forms 4.8.0.1269 I've got an app in Xamarin.Forms used for Windows and Android. We've recently had to rename the entire project and in doing so changing the name of all the namespaces and folders. I've triple checked and…
How to implement Firebase Realtime Database in .NET MAUI with complex data
I am using NET MAUI and Firebase Realtime Database , I ma uploading some user data in Firebase Realtime Database , and i fetch my all data from my view model but it's take to much time to load and when i add some more new data then it's takes to much…
Trying to bind RadioButtonGroup.SelectedValue to a vaiable....
Hey, im trying to bind RadioButtonGroup.SelectedValue to a vaiable but dosent get it to work... Can someone see what im doing wrong here? Here is my XAML Code: <StackLayout RadioButtonGroup.GroupName="TrainingStyleRB" …
Provisioning Profiles and all iOS integration in VisualStudio 2022 Windows still not working properly?
Afer some update beginning/mid this year vs 22 began to have problems with the following points: Tools/Options/Xamarin/Apple Accounts the Details for the team beginning having issues loading the profiles(and certificates... both lists are and stay…
XA0137: The 'run-as' command failed with 'run-as: couldn't stat /data/user/0/com.test.demo: No such file or directory '.
Hi all, My app not installing in release mode, Even I tried generating apk and installing but app is crashing every time. I'm getting following error Start debugging Android application failed Start debugging Android application ... am start -a…
FlexLayout - System.Exception Message=something is deeply wrong
I'm attempting to rewrite a page (ContentView, actually) built with grids--replacing all grids with FlexLayouts. While admittedly a newbie, it seems obvious Xamarin wasn't prepared for what I've written. Sorry for the long piece of code that follows. …
ImageView not updating in RecyclerView
I have a RecyclerView with the following item layout: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"…
Xamarin iOS How to File.ReadAllBytes a file inside /private/var/mobile/Containers/Shared/AppGroup/
string filePath = "/private/var/mobile/Containers/Shared/AppGroup/7E6455EB-2EF9-417E-BC79-71BA25B53853/File Provider Storage/file.pdf" byte[] byteFile = File.ReadAllBytes(filePath); When I run the code above on Xamarin iOS I get an…
Cannot create an IOS archive... Process cannot be executed on XMA server. There was an error unzipping the file... The specified path, file name, or both are too long.
I am working on an update to a Xamarin.Forms app In Visual Studio Community 2022 on a Windows 11 Pro machine. I receive the following error when I try to archive the iOS project for distribution: Cannot create an IOS archive 'XXXXXXXX.iOS'. Process…
Xamarin.Android ViewPager2 Requires match_parent
I have a Xamarin.Android app in which I am trying to use ViewPager2. The ViewPager2 is defined in my layout as follows: <androidx.viewpager2.widget.ViewPager2 android:id="@+id/vpStartScore" android:layout_width="match_parent"…
Pre-Measuring a RecyclerView
I have a Custom View that inherits from RecyclerView. Once created, the RecyclerView will always have the same number of items, all of which will remain the same size once created. All other items on the page will remain the same size as well (except of…
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
I have a Xamarin Android application that integrates the uGrokit RFID library. Recently, I updated the targetSdkVersion to 34 in the Android Manifest. After deploying the build, the app works without crashes on devices running Android 13. However,…
Theme.MaterialComponents.Light.NoActionBar Causes Visual Studio 2022 to Ignore My Styles in Designer
I am attempting to add a com.google.android.material.slider.Slider to my Xamarin.Android app. This forced me to change my AppTheme is styles.xml to Theme.MaterialComponents.Light.NoActionBar instead of Theme.Design.NoActionBar. Doing this caused the…
Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.
I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…
Customizing Layout / Position of RadioButton Without RadioButtonGroup
I want the layout of my app to have several RadioButton(s) that are arranged in very unusual ways, there are other View(s) in the layout that make RadioButtonGroup inappropriate because it would contain many other View(s) and be hard to layout. I am…