Microsoft Q&A

Xamarin

5,048 questions

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.

Browse all .NET tags

5,048 questions with Xamarin tags

Sort by: Updated
1 answer

is any alternative package for Xamarin.google available in .Net MAUI with .net7 support?

We are upgrading from Xamarin native to .Net MAUI with .net7 support. As we need xamarin.google related package that support for .Net MAUI with .net7 support. Please suggest alternatives for the below mentioned packages. Xamarin.Google.iOS.TagManager …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,550 questions
asked 2023-07-11T10:01:20.61+00:00
krithika raghupathy 0 Reputation points
answered 2023-07-12T03:00:00.4266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 18,116 Reputation points Microsoft Vendor
1 answer

Xamarin Android push notifications not received

My Xamarin Android app used to receive push notifications after a device re-boot. When I started targeting API 33, devices no longer receive notifications after a re-boot until the app is restarted. When targeting API 26 and above, what is necessary to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-07-11T14:12:16.67+00:00
MohamediAIJH-8327 261 Reputation points
commented 2023-07-11T17:15:31.1533333+00:00
Sibalik, Mike 6 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin Forms: Implement push notification tapping on android platform

I have implemented push notification on my Xamarin forms application using FCM. My code [Service(Enabled = true, Exported = true)] [IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })] public class FirebaseNotificationService :…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-06-07T14:54:25.0666667+00:00
Sreejith Sreenivasan 171 Reputation points
commented 2023-07-11T15:40:19.02+00:00
Sreejith Sreenivasan 171 Reputation points
0 answers

How to do xamarin.forms (uwp) app migration with using .Net MAUI?

I have a Xamarin. Forms (iOS, android and UWP) app. I need to migrate the app from Xamarin. Forms to .NET MAUI. I have red the documentation and understand that the .NET upgrade assistant provide support for ios and android, but not uwp. in my case my…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,550 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.
8,447 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
656 questions
asked 2023-07-11T13:55:15.07+00:00
Raja Karumanchi 0 Reputation points
0 answers

How to make game for 2 player in xamarin android

Hello It's more a general question .Supposing that i wrote a tic tac toe game. I would to play with an other play. So both of us see the same game. May be xamarin android is not for this ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-07-11T12:26:31.01+00:00
Shay Wilner 1,586 Reputation points
0 answers

Is there any equivalent packages available in .NET MAUI for Xamarin.GooglePlayServices

We are migrating the xamarin native app to .net MAUI, so I want to know if some one is using any equivalent packages in .net MAUI for the below NuGets Xamarin.GooglePlayServices.Base Xamarin.GooglePlayServices.TagManager …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,550 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-07-11T07:37:09.44+00:00
achukrisgnan mp 0 Reputation points
edited the question 2023-07-11T11:40:42.5566667+00:00
achukrisgnan mp 0 Reputation points
1 answer

How to use internal storage to store files on Android 11

Hi Yonglun, Android 11 has a restriction to access external storage, and need users give the permission. I need to find a way to skip the "users' permission". Is it possible to store files in a public folder of internal storage without…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,291 questions
asked 2023-07-07T13:20:53.7233333+00:00
Lou, Kecheng 40 Reputation points
commented 2023-07-11T08:03:31.6733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 49,576 Reputation points Microsoft Vendor
0 answers

Xamarin iOS - programmatically trusting CA (certificate authority)

Good afternoon. Could you help with the following problem? I need to connect a third-party certificate, for example "test.cer" for WebView to work correctly. In Android, I solved the problem as follows: 1. Added the certificate file to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-07-11T07:57:05.8266667+00:00
Akmal Mursalimov 0 Reputation points
0 answers

Xamarin Tilt Compensated Compass

Xamarin Essentials has a compass......which works great except for tile compensation. For instance if I hold the phone vertical versus flat you will get a different azimuth reading. I have spent hours googling. Hours on Chat GPT....I cannot find a…

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.
8,447 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,291 questions
asked 2023-07-10T20:37:27.4166667+00:00
Seth Isaacks 46 Reputation points
commented 2023-07-11T06:25:40.2666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 18,116 Reputation points Microsoft Vendor
0 answers

VS 2022 Xamarin Toolbox

Since it appears that the XAML Previewer is no longer in VS22, how does one use the toolbox to drop controls onto a XAML page? I tried hot-reload and that did not work

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
656 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,373 questions
asked 2023-07-07T20:20:46.42+00:00
Stobbe, Jeffery D 0 Reputation points
commented 2023-07-10T05:40:59.22+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 49,576 Reputation points Microsoft Vendor
2 answers

Not getting 'Apple Two step authentication' window while adding a new apple developer account-Xamarin

I am trying to add a new apple developer account in my visual studio.I am getting a dialogue box after entering the login credentials.But no devices are listed or my phone number is not showing here to send a verification OTP.How can I proceed with…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
292 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,373 questions
asked 2023-07-04T08:22:23.34+00:00
XamarinInn 1 Reputation point
commented 2023-07-07T09:59:19.5533333+00:00
XamarinInn 1 Reputation point
1 answer

Migrating from Xamarin.Android to .Net7

@Leon Lu (Shanghai Wicresoft Co,.Ltd.) as requested Nov 25 2022. Sorry for the delay, it took longer than I expected. Most of you will be aware that we are approaching the end of Xamarin.Android support as we know it. The present release of…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2022-12-21T00:01:52.81+00:00
Graham McKechnie 241 Reputation points
answered 2023-07-06T13:05:11.23+00:00
Graham McKechnie 241 Reputation points
1 answer

How to detect the event click button in class A and the click is implemented in Class B

Hello i have class A and class B and class data Class B { data Data Public B( data thedata) { this.Data = thedata } //btn is a button btn.Click += (o, e) => { Data.idKey = Convert.ToInt32(btn.Tag); …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-06-30T11:46:47.8366667+00:00
Shay Wilner 1,586 Reputation points
commented 2023-07-06T09:18:01.7733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 18,116 Reputation points Microsoft Vendor
0 answers

How can I make Xamarin.Form perform hot modifications like Android?

How can I make Xamarin.Form perform hot modifications like Android? The app does not need to be reinstalled and is updated through patches.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-07-05T07:31:20.6766667+00:00
AIR 周 0 Reputation points
commented 2023-07-06T02:58:24.1+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 18,116 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Android 11 external storage access

Hi Yonglun, I have two questions below; #1 For Android version 11, is it possible to access /storage/emulated/0/ folder, and if yes, how to do it? #2 For Android version 11, is it possible to access some public storage, and how to do it? If it is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,291 questions
asked 2023-06-27T13:40:24.3266667+00:00
Lou, Kecheng 40 Reputation points
accepted 2023-07-05T12:03:14.45+00:00
Lou, Kecheng 40 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin android and net android are the same?

Xamarin android and net android are the same? or can we create fully functionality android app with .net android. P.S. I can't create bottom tabs with .net android

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-06-29T10:05:52.51+00:00
commented 2023-07-05T09:30:51.8066667+00:00
0 answers

getting error when i am trying to build the ios using xamarin forms from window

I am using xamarin forms for my project using visual studio 2022 on window. When I am trying to take IPA file from the project with the "Remote Device" as target platform, i got the following error. Severity Code Description Project File …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-06-29T09:00:49.7866667+00:00
Manthiram Arun 0 Reputation points
commented 2023-07-05T07:35:58.8333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 18,116 Reputation points Microsoft Vendor
2 answers

Xamarin iOS WasCancelled Issue in UIDocumentPickerViewController

I'm writing a document editing app. I am trying to use a Document Picker in iOS to 'Save As' or create a new file that I need to maintain write access to. From what I can tell, the Document Picker is supposed to return the DidPickDocumentAtUrls event to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,291 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2023-06-28T14:18:36.1333333+00:00
Liz 0 Reputation points
answered 2023-07-04T15:36:46.1933333+00:00
george727 0 Reputation points
3 answers

Apple Developer Account: Individual - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I have an issue when trying to sign in with my apple developer account on visual studio 2022 (v17.4.1). Firstly, I when trying to sign in as an 'individual account' I get this error ‘there was an error while loading your certificates: The Apple Developer…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,373 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2022-11-22T08:48:18.217+00:00
Brian Kekana 6 Reputation points
answered 2023-07-03T08:11:53.8433333+00:00
gf 0 Reputation points
4 answers One of the answers was accepted by the question author.

How can I specify a custom extension with Xamarin.Essentials.FilePicker.PickAsync()?

In my app I have the ability to save, export, and restore a sqlite database. When the user exports the database it is saved as MyFile.db3 in the app's own storage folder under the public Documents folder Documents/MyApp When the user restores a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,048 questions
asked 2022-03-06T18:19:07.57+00:00
Jesse Knott 666 Reputation points
answered 2023-07-02T23:29:27.7966667+00:00
Sergey Svinolobov 0 Reputation points