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