5,363 questions with Xamarin tags

Sort by: Updated
1 answer

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
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
asked 2024-11-08T04:18:59.33+00:00
mc 4,596 Reputation points
answered 2024-11-08T09:36:56.8033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
1 answer

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2024-10-28T11:21:17.2066667+00:00
Yohanes AI 0 Reputation points
answered 2024-11-01T17:34:21.9866667+00:00
Bruce (SqlWork.com) 66,706 Reputation points
1 answer

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.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2024-10-31T01:32:37.48+00:00
mc 4,596 Reputation points
answered 2024-11-01T16:27:15.4333333+00:00
Bruce (SqlWork.com) 66,706 Reputation points
0 answers

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2024-10-28T12:41:01.3533333+00:00
Ben Horton 0 Reputation points
commented 2024-10-29T06:43:50.6733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2021-03-05T11:11:07.6+00:00
Gordon S 501 Reputation points
commented 2024-10-27T18:13:29.6933333+00:00
kareem srour 0 Reputation points
1 answer

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-10-22T11:54:19.0933333+00:00
Nilas Kjærup 0 Reputation points
answered 2024-10-24T08:10:22.3466667+00:00
Nilas Kjærup 0 Reputation points
0 answers

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-10-21T09:39:45.34+00:00
Md Mosabbir Alam 20 Reputation points
commented 2024-10-22T15:42:19.2833333+00:00
Bruce (SqlWork.com) 66,706 Reputation points
1 answer

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" …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2021-06-12T19:53:40.423+00:00
Carlo Goretti 121 Reputation points
commented 2024-10-22T13:22:15.8766667+00:00
Parsa Gachkar 21 Reputation points
2 answers

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
asked 2022-10-05T07:31:48.867+00:00
Bernhard Pollerspöck 1 Reputation point
commented 2024-10-22T08:01:01.5233333+00:00
TS 0 Reputation points
5 answers

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2021-09-17T16:33:28.817+00:00
Nagarjuna Gadikota 1 Reputation point
commented 2024-10-22T04:33:46.1366667+00:00
Денис Шишпор 0 Reputation points
0 answers

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. …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2021-03-02T01:38:53.627+00:00
larry leach 91 Reputation points
commented 2024-10-22T01:36:35.51+00:00
larry leach 91 Reputation points
0 answers

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
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-10-18T18:02:52.0833333+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-21T00:59:25.4366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
1 answer

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-10-19T02:14:17.65+00:00
Jimmy Oku 0 Reputation points
answered 2024-10-21T00:35:23.5266667+00:00
Jimmy Oku 0 Reputation points
2 answers

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
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2022-04-15T03:17:54.517+00:00
answered 2024-10-18T08:06:28.9766667+00:00
Emanuele DI EMANUELE 1 Reputation point
1 answer

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"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-10-15T21:53:23.4933333+00:00
Nathan Sokalski 4,106 Reputation points
answered 2024-10-16T21:44:29.47+00:00
Graham McKechnie 416 Reputation points
0 answers

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
asked 2024-10-13T02:22:46.6466667+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-14T07:54:44.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points Microsoft Vendor
0 answers

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,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2024-10-10T14:52:45.45+00:00
Muthu Madhavan 0 Reputation points
edited a comment 2024-10-11T08:04:18.9266667+00:00
Muthu Madhavan 0 Reputation points
1 answer

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-09-30T17:53:56.1433333+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-10T01:09:56.3033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
2 answers

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 ->…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
asked 2024-07-02T11:18:30.5366667+00:00
Andrea Christy 5 Reputation points
commented 2024-10-09T09:07:30.5466667+00:00
BackNot 46 Reputation points
1 answer

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
asked 2024-09-27T18:59:44.78+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-09T07:12:00.1+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor