5,357 questions with Xamarin tags

Sort by: Updated
0 answers

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,357 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.
10,962 questions
asked 2024-10-19T02:14:17.65+00:00
Jimmy Oku 0 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,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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.
10,962 questions
asked 2024-10-18T18:02:52.0833333+00:00
Nathan Sokalski 4,106 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,357 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,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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.
10,962 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,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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,001 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,357 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,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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.
10,962 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.) 43,371 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,357 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,357 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.
10,962 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.) 43,371 Reputation points Microsoft Vendor
0 answers

Xamarin/MAUI iOS Local Push Connectivity

I have the local push entitlement from apple and also a separate bundle id for a new local push extension. I am project referencing this extension project from my main iOS .csproj and setting these flags: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
asked 2024-09-11T18:35:25.5966667+00:00
Kim, Do Hyung 0 Reputation points
edited the question 2024-10-09T06:49:12.9033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,976 Reputation points Microsoft Vendor
0 answers

Measuring A Slider Inside A Custom View Inheriting From GridLayout

I have a Custom View that inherits from GridLayout. The xml layout file is as follows: <?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,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
asked 2024-10-08T17:48:07.66+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-09T01:59:10.2766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,001 Reputation points Microsoft Vendor
0 answers

Measuring A Slider Inside A Custom View Inheriting From GridLayout

I have a Custom View that inherits from GridLayout. The xml layout file is as follows: <?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,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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.
10,962 questions
asked 2024-10-08T23:24:55.4166667+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-09T01:57:08.1366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,001 Reputation points Microsoft Vendor
0 answers

Previewing Xamarin.Android ScrollView Content In Visual Studio 2022 Designer

I have a Xamarin.Android app that contains a ScrollView. Everything functions perfectly, but because there is obviously more content than fits on the screen (which is, of course, why I am using a ScrollView), it is not all visible in the Visual Studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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,142 questions
asked 2024-10-08T20:31:29.3866667+00:00
Nathan Sokalski 4,106 Reputation points
edited a comment 2024-10-09T01:53:08.8033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,371 Reputation points Microsoft Vendor
2 answers

Xamarin Forms / API Level 34 / Deployment Failed

While migrating the mobile app to some new tech, we need to deploy an update to our current app which requires Android 14. I've updated the AndroidManifest.xml to 34: <uses-sdk android:minSdkVersion="28"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
asked 2024-10-04T15:53:27.25+00:00
CSharpest 0 Reputation points
answered 2024-10-08T23:10:52.17+00:00
Graham McKechnie 416 Reputation points
0 answers

Centering a VectorDrawable in a RecyclerView ViewHolder

I have a Xamarin.Android app that contains a RecyclerView, which uses a ViewHolder whose root element is a GridLayout. I have a VectorDrawable (a .xml file in my drawable folder) that I want to center in the ViewHolder. I have tried doing this several…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
asked 2024-10-06T22:00:08.9233333+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-07T02:13:46.4133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,371 Reputation points Microsoft Vendor
1 answer

Slider vs SeekBar on Xamarin.Android in Visual Studio 2022

I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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,142 questions
asked 2024-09-28T15:41:07.3533333+00:00
Nathan Sokalski 4,106 Reputation points
edited an answer 2024-10-04T06:41:58.22+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,371 Reputation points Microsoft Vendor
0 answers

Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

I can't run my Xamarin Forms application on Mac in the simulator, writes: Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
asked 2024-09-30T10:38:11.03+00:00
Vladimir Platun 0 Reputation points
edited a comment 2024-10-04T06:10:31.75+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,001 Reputation points Microsoft Vendor
0 answers

Xamarin ios push notification not working

I have a problem with push notifications on a xamarin project situation: I have a working xamarin android / ios code with bundle id com.xxxx.abc. I have to republish the same app with a different brand, I created a new plist, new registration on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
asked 2024-09-27T08:18:35.0266667+00:00
vincenzo cerbino 0 Reputation points
edited a comment 2024-10-04T06:08:17.3833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,976 Reputation points Microsoft Vendor
1 answer

How to add google tag manager in Xamarin forms app

I want to integrate Google Tag Manager into our existing Xamarin.Forms app, which is developed using the .NET Standard 2.1 framework. This integration will enable us to manage and deploy marketing tags and tracking scripts more efficiently without…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
asked 2024-09-19T12:31:50.18+00:00
Saurabh Yadav 0 Reputation points
commented 2024-10-04T00:37:39.7466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,371 Reputation points Microsoft Vendor
2 answers

Adding Ticks & Labels To A com.google.android.material.slider.Slider

I currently have a com.google.android.material.slider.Slider using the following code and creates the following screenshot: <com.google.android.material.slider.Slider android:id="@+id/sldPlayersPerTeam" …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
asked 2022-07-18T17:30:32.133+00:00
Nathan Sokalski 4,106 Reputation points
accepted 2024-10-02T18:58:42.5433333+00:00
Nathan Sokalski 4,106 Reputation points