5,297 questions with Xamarin tags

Sort by: Updated
0 answers

Print a map in xamararin forms

How do I print a map, or export to pdf?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-29T18:51:55.767+00:00
Pio Luca Valvona 1 Reputation point
commented 2021-01-30T05:24:23.493+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
2 answers

Receiving chat messages with SignalR

I tested the SignalR solution in Xamarin Forms and .net core backend and it works great: https://montemagno.com/real-time-communication-for-mobile-with-signalr/ However, I am wondering how to keep receiving the messages when the app is in background…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 questions
asked 2021-01-23T01:29:59.907+00:00
Stesvis 1,041 Reputation points
commented 2021-01-30T03:16:35.06+00:00
TheSloth 1 Reputation point
0 answers

Xamarin ios, SSL pinning : Public key hash does not match

Hi, We are trying to implement SSL pinning in our Xamarin.ios app. POC : As a proof of concept, we calculated public key hash of https://www.google.co.uk . We used openssl s_client -servername www.google.co.uk -connect www.google.co.uk:443 | openssl x509…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-29T15:53:12.833+00:00
Amol Sarmalkar 1 Reputation point
0 answers

How to show thumbnail image when mediaelement loads on page?

I want the thumbnail to be displayed with play icon in center. When user clicks on the play icon, video should start playing. Also some more customisations as shown in the attached image. Thumbnail will show video title at the top left corner …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-29T07:58:24.073+00:00
Vinayak Nikam 56 Reputation points
commented 2021-01-29T12:03:17.757+00:00
JarvanZhang 23,951 Reputation points
2 answers

Gray BackgroundColor in StackLayout Hides RadioButton(s)

I have the following StackLayout: <StackLayout Orientation="Horizontal" BackgroundColor="Gray" HorizontalOptions="Fill" VerticalOptions="Center" Margin="0" Padding="5,0,0,0"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-27T22:09:53.01+00:00
Nathan Sokalski 4,121 Reputation points
answered 2021-01-29T10:02:05.18+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
0 answers

Cancelling Collapsing of Xamarin Community Toolkit's Expander

When the user taps the header of the Expander from Xamarin Community Toolkit (https://learn.microsoft.com/en-us/xamarin/community-toolkit/views/expander), it shows or hides the content, as expected. However, when the user taps the header to collapse the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-28T22:36:02.353+00:00
Nathan Sokalski 4,121 Reputation points
commented 2021-01-29T06:30:05.277+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Customizing a Map Pin local:CustomMap Error

why my local:CustomMap Error sorry I dollow https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map-pin my project name PTSSRU i'm beginner in english, my xaml code <ContentPage…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-27T21:14:53.533+00:00
CHATCHAI 21 Reputation points
accepted 2021-01-29T05:53:29.193+00:00
CHATCHAI 21 Reputation points
1 answer

Xamarin grant permission to read file.

I build a Xamarin.forms and with XlsIO . what i plan was when the app start up will check the permission was grant or not ? It work prefect and show what i wish in debug mode when PC connect to my phone but when install with signed.apk. After install…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-19T13:10:51.147+00:00
Jason Tho 1 Reputation point
commented 2021-01-29T02:55:49.543+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
1 answer

Sharing a Style Between Apps & Projects

I have a number of Style(s) that I want to use in multiple apps & projects. I basically need a project that contains Style(s) (or a ResourceDictionary) that can be accessed by the shared project of Xamarin.Forms. In UWP I was able to create &…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-28T00:09:16.73+00:00
Nathan Sokalski 4,121 Reputation points
commented 2021-01-29T02:22:45.547+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
2 answers

Failed to resolve Android.Gms.Common.Zzc in Release

I have a problem when I build this app in RELEASE mode only. In debug it works no problem, but in release I get this build error and I can't figure out what it could be.. Any idea? Severity Code Description Project File Line Suppression State …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-26T20:50:02.903+00:00
Stesvis 1,041 Reputation points
answered 2021-01-28T11:36:37.31+00:00
Simon Wainwright 1 Reputation point
2 answers

How can I access a specific collectionview child? In this case, the label “DataCadastroLabel”

I want to change the value of VerticalOptions. I can't directly access this label, even if I pass its name DataCadastroLabel. These layout changes are only to adapt some components to the device's landscape mode XAML <CollectionView…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 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,310 questions
asked 2021-01-27T16:24:12.817+00:00
answered 2021-01-28T10:16:59.763+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
0 answers

How to add permission to com.sec.android.provider.badge.BadgeProvider uri content://com.sec.badge/apps in Xamarin Forms

Am getting below error on my Samsung phone running android 10. i have been try to fix this for days now and no luck. I have added <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE" /> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-23T15:21:45.293+00:00
Sylvester Eze 1 Reputation point
commented 2021-01-28T09:17:38.64+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer

Xamarin Forms UWP. Nuget Package Downgrade whilst building

I am creating A UWP version of a Xamarin App from a previously successfully deployed XF Android version of the App (Simple? It seems not!) and I seem to be stuck in an interminable loop of updates and errors which I cannot resolve. Before the detail…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,417 questions
asked 2021-01-27T10:20:07.273+00:00
Matthew Robb 21 Reputation points
commented 2021-01-28T07:22:24.683+00:00
JarvanZhang 23,951 Reputation points
2 answers

Improve CollectionView Performance

We have a landing page that has this layout: When you click on one of the section buttons, the ObservableCollection in the ViewModel is set to another list as so: private async void processtableOfContentsListView_ItemTapped(object sender,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-27T15:02:30.253+00:00
Fink, Jacob 1 Reputation point
answered 2021-01-28T03:49:24.203+00:00
mc 3,701 Reputation points
4 answers

"Invalid file path" error

Hi there, I added a "icons1.ttf" file under \Android\Resources\Fonts directory and VS 2019 keeps on giving the error message : "invalid file path 'S:\Ulvi\Apps\samples\Mobile1\Mobile1.Android\obj\Debug\90\res\fonts\icons1.ttf'. And it…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-27T21:56:01.657+00:00
AUU 1 Reputation point
answered 2021-01-28T03:47:30.327+00:00
AUU 1 Reputation point
1 answer

Accessing / Downloading certificate from Xamarin.University

Hi there I know, Xamarin.University has gone for quite a while but I just wonder if there is a way to download or access my certificate I did there once ago? Mistakenly I forgot to download it back then. Please let me know. Thanks, Rafael

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-25T12:22:33.62+00:00
Rafael Stalder 1 Reputation point
commented 2021-01-28T02:16:49.137+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
1 answer

How can I utilize compiled binding inside Application.Resources for say a StyleTrigger of type DataTrigger bound to a feild in the ViewModel?

For example, If I have this Style block inside my Application.Resources. and lets say inside the contentview where I have the ViewModel binded and DataType set (x:DataType"ViewModels:MyViewModel"), let's say I have a …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-26T21:29:49.247+00:00
Tyler Tucker 1 Reputation point
commented 2021-01-28T01:33:34.697+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Multiple Build Configurations for XForms

I have a XForms application and I'm using Visual Studio for Mac. I use a different iOS plist file and Android manifest file based on the build configuration (AdHoc vs Release). Is there a way to specify which file to use in Visual Studio based on the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-27T20:47:39.66+00:00
Clay 61 Reputation points
commented 2021-01-27T22:07:56.5+00:00
Clay 61 Reputation points
0 answers

Compilation Error: MTOUCH: error MT1303

I am using some libraries to make use of firebase in my app (auth, storage, firebasefirestore) A few days ago I got the following error when trying to compile MTOUCH: error MT1303: Could not decompress the native framework 'FBLPromises.framework' …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-20T17:12:07.69+00:00
nnovalbos 371 Reputation points
commented 2021-01-27T18:33:19.13+00:00
nnovalbos 371 Reputation points
1 answer One of the answers was accepted by the question author.

How do you create a .net backend for Xamarin.Forms app?

All the tutorials seem to be outdated. Including Microsoft documentation. How can I create an Azure database and connect it to my Xamarin mobile application using web API?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-01-27T16:58:48.897+00:00
AJ 21 Reputation points
accepted 2021-01-27T18:23:19.21+00:00
AJ 21 Reputation points