5,296 questions with Xamarin tags

Sort by: Updated
1 answer

Delete SMS

I am unable to delete an SMS. Allways I try, I get no error but nothing is deleted (count = 0) I have permission to ReadSms and WriteSms. This is my code, called in MainActivity: public int DeleteSMS(string number) { int count =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-02T09:27:17.897+00:00
DanielGr 1 Reputation point
commented 2020-12-02T11:43:42.93+00:00
JarvanZhang 23,951 Reputation points
0 answers

How to set different items in Flyout menu and bottom bar in Xamarin Forms 4.8 version using Shell?

I am developing an application in Xamarin Forms 4.8 version with Shell feature and I need both side menu and bottom bar for navigation. In VS 2019, my AppShell.xaml page is like below, <Shell xmlns="http://xamarin.com/schemas/2014/forms"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-27T12:19:53.943+00:00
Thamaraiselvan T 1 Reputation point
commented 2020-12-02T09:46:16.607+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to assign BindableLayout.ItemsSource to StackLayout

Hi How to assign BindableLayout.ItemsSource to StackLayout through backend when click any button event i want dynamically bind through list

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-02T08:16:02.89+00:00
Anonymous
commented 2020-12-02T09:28:58.607+00:00
JarvanZhang 23,951 Reputation points
0 answers

gRPC and Xamarin.Forms

Hello, I'd love to develop a cross-platform app...and I'm learning Xamarin. I migrated my code from WCF to gRPC, as Microsoft recommends. Unfortunately, my shiny brand new gRPC server can't be reached by my shiny brand new Xamarin.Forms app. Is there a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-29T18:07:19.18+00:00
Roberto DALMONTE 1 Reputation point
commented 2020-12-02T08:59:18.877+00:00
Roberto DALMONTE 1 Reputation point
1 answer

Microsoft.AspNet.Core InvalidOperationException

I've followed James Montemagno's Real Time Communication for Mobile with SignalR which works great until I select Linking: Sdk and User Assembilies. After that I get: a suitable constructor for type…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-01T10:45:36.897+00:00
Neil Glastonbury 1 Reputation point
commented 2020-12-02T08:56:20.743+00:00
JarvanZhang 23,951 Reputation points
2 answers One of the answers was accepted by the question author.

Shell tab navigation

I have a shell tabs and everything works fine, but I have an aesthetic question. When navigating to another page from any page of the tabs (without modal), the tabs are still displayed. In applications like Linkedln, Instagram that have lower tabs, when…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-27T09:34:45.553+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
accepted 2020-12-02T08:31:39.77+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
2 answers One of the answers was accepted by the question author.

What does it mean to use a compiled binding?

Use compiled bindings Compiled bindings improve data binding performance in Xamarin.Forms applications by resolving binding expressions at compile time, rather than at runtime with reflection. Compiling a binding expression generates compiled code that…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-02T05:01:52.527+00:00
TS44 81 Reputation points
accepted 2020-12-02T07:51:11.323+00:00
TS44 81 Reputation points
2 answers One of the answers was accepted by the question author.

UDP Socket wont receive data on android

I have an issue with UdpClient.Receive(ref IPEndpoint) on android devices: for some reason the same code works on PC, but android devices (or emulators) have a 50% chance to get stuck on Receive() method. It doesn't depend on networking type (wired,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 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,302 questions
asked 2020-12-01T08:10:31.997+00:00
Я есть 96 Reputation points
accepted 2020-12-02T07:05:10.393+00:00
Я есть 96 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a way to turn Off/On Android Device Location using Xamrine UItest?

I have a test Case in my App where Location should be Off. Is it possible using Xamarin.UItest

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-20T01:46:18.94+00:00
Gnanaprakasam, Kalaimamani 21 Reputation points
accepted 2020-12-02T04:19:00.81+00:00
Gnanaprakasam, Kalaimamani 21 Reputation points
1 answer One of the answers was accepted by the question author.

Screen transition when tapping ListView

When I tap ListView, another screen is displayed. If you tap continuously, multiple screens will open. Please tell me the solution. private async void List_ItemTapped(Object sender, ItemTappedEventArgs e) { try { await…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-01T22:58:30.953+00:00
TS44 81 Reputation points
accepted 2020-12-02T01:55:25.737+00:00
TS44 81 Reputation points
1 answer

Read_Logs permission- do we need this at all?

One of my app using Read_logs permission which I added back in 2017 according to my git history. I am not sure what for I added this permission. That time i was using respectively Xamarin.Insights and hockeyapp and my git history has only changes…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-01T23:38:58.407+00:00
Emil Alipiev 271 Reputation points
answered 2020-12-02T00:33:22.337+00:00
James Montemagno 351 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

HttpClient freezing on Android

I have a very simple MVVM application using Xamrin Forms and Prism, built from the Prism Xamarin Template. When I initialize a new ViewModel I am trying to make a call to an API, on UWP this is working without any issues but on Android it is just…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-29T17:10:06.66+00:00
Guy 96 Reputation points
accepted 2020-12-01T13:44:51.843+00:00
Guy 96 Reputation points
1 answer One of the answers was accepted by the question author.

Shell Bottom Tab Bar Hide if set to True SetTabBarIsVisible

Hi I am facing issue on iOS devices if SetTabBarIsVisible="True" set on Xaml file then below tabbar is not visiable but same also work on Android devices. can anyone help on this. in previous page tabbar shell is hide when click on button then…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-12-01T08:50:00.687+00:00
Anonymous
accepted 2020-12-01T12:58:43.623+00:00
Anonymous
4 answers

Xamarin Forms CollectionView not showing on iPhone but on Android and Android simulator

Hello guys, I have a problem and a question regarding Xamarin.Forms and CollectionView. I implemented a CollectionView as a Main Menu and on Android it is working fine. But on my iPhone it is not showing the CollectionView. The ScrollView is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-24T15:49:24.353+00:00
Az0th 1 Reputation point
commented 2020-12-01T09:05:36.963+00:00
Az0th 1 Reputation point
1 answer

Why does using Voice Control when a Xamarin.Forms Picker is open result in the app terminating?

With a Xamarin.Forms Picker open on iOS (so the wheels are usable) when using the Voice Control accessibility option, the app is prone to crashing. A wide variety of spoken words or phrases will result in the app crashing, "Next", "Thank…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-26T18:59:58.46+00:00
John Hardman 261 Reputation points
commented 2020-12-01T08:55:25.537+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
0 answers

Xamarin on VS for Mac - iOS Build Fails with Error "resource-rules has been deprecated in Mac OS X >= 10.10!"

Hi! I'm trying to build my Xamarin iOS app on Mac and failing on an error related to a deprecated command line parameter. I tried targeting iphone 10, 11 and above but still failing on same error. I Updated NuGets to latest versions, also…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-23T05:36:00.273+00:00
Yuval Tirosh 1 Reputation point
commented 2020-12-01T06:21:54.737+00:00
Nicole Lu-MSFT 96 Reputation points
1 answer

About continuous shooting method of camera application

With the code below, I started the camera app and took a picture, but once I took a picture, the app closed. What should I do when taking multiple shots? private async void OnImageClicked() { try { await…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-30T23:03:09.217+00:00
TS44 81 Reputation points
answered 2020-12-01T05:15:27.637+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
0 answers

I want get signle text value from WEB API in xamarin

i was tried like below in xamaring forms, pls. help public class ItemListClass { public string Item_Name { get; set; } public string Price { get; set; } public string Total { get; set; } } public async void saleItems_bind() { HttpClient…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-27T07:05:16.03+00:00
wenkket 1 Reputation point
commented 2020-11-30T23:15:38.467+00:00
Joe Manke 1,091 Reputation points
1 answer

How to send a Xamarin iOS app to clients so that they can deploy it on their apple account

The client is asking us an unsigned xcarchive but it looks like it can't be produced with Xamarin. What's the suggested way to deploy a Xamarin iOS app to a client so that he can deploy it with his Apple account? The client is asking us to remove our…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-27T15:27:42.33+00:00
Anonymous
commented 2020-11-30T17:09:11.937+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

How to resolve cannot convert from 'Foundation.NSObject[]' to 'Foundation.NSObject?' in iOS dependency service?

The following code is work-in-progress. Once working, the intention is that it can be used on iOS to set the accessibility order of controls on a Xamarin.Forms ContentPage using a dependency service. I am currently hitting two problems with this. The…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-30T13:07:34.647+00:00
John Hardman 261 Reputation points
accepted 2020-11-30T15:56:17.11+00:00
John Hardman 261 Reputation points