Questions tagged [xamarin]

Xamarin is a platform consisting of Xamarin.iOS, Xamarin.Android, Xamarin.Mac and Xamarin Test Cloud. It allows you to write cross-platform native Apps for iOS, Android and Mac and follow your app through its entire lifecycle. The introduction of Xamarin.Forms supports Native UI development for iOS, Android and Windows

0
votes
0answers
7 views

Login Page can not find SQLite database in Xamarin Android app

Hello I am working on basic login and create account app. The app stores the information locally to a .db3 file when the user makes a account. The issue I'm having is when I go to login to the app ...
0
votes
0answers
11 views

Converting MOV to H.264/MPEG-4 with iOS?

In the app we're writing the user needs to be able to pick and submit media attachments, including video recorded with her device. Those videos then needs to be viewed with web browsers in other apps ...
0
votes
1answer
18 views

Exception thrown in NPOI while opening a file, but only in release mode

I just made a class that can translate an Excel file into a list of C# objects. I am currently working on Xamarin.Android. All worked fine in debug mode, the file was opening correctly. But when I ...
0
votes
1answer
38 views

App freezes on connection loss, no debugging tools available

I have a bit of a problem as I have developed a C# Xamarin app for Android, which is a client, and in parallel, a server in another language. They interact with each other via TCP/IP sockets. The ...
0
votes
0answers
9 views

Xfinium remove the border in the specific table cell

I want to remove borders in the specific table cells, so I set borders width to 0, like in the code below cell.Borders = new PdfFlowContentBorders(new PdfPen(PdfRgbColor.Black, 0)); I expect that ...
0
votes
2answers
24 views

Xamarin: set labelText with an instance of ViewModel isnt updating UI

I defined a Label in Xaml <Label Text="{Binding DeviceGuid}"/> set the BindingContext inside my Page BindingContext = new BluetoothViewModel(); and wrote the code for the getter and setter ...
0
votes
1answer
21 views

Delegate was deprecated in iOS 12.0. Please adopt WKWebView. How do I fix this in Xamarin?

I am trying to create a Custom WebView Renderer for iOS and Android. My main goal is to make the WebView fit it's HTML contents; After googling, I soon realized that this is only possible by making ...
0
votes
0answers
24 views

Google Play Leaderboard - Cannot Submit Score

I would like to pick your brains on something that might be as simple as a config issue. I am developing a game using Xamarin Forms and I have an issue when I am trying to submit a time score to ...
-2
votes
0answers
25 views

How to integrate google maps in xamarin? [on hold]

I am doing R&D on integrating google maps in xamarin for ambulance booking(Uber like concept). I tried searching for the solution but I have not found any complete solution. Till yet I have ...
0
votes
0answers
12 views

Plugin.InAppBilling throws System.InvalidOperationException

I'm using James Montemagno's Plugin.InAppBilling library for Xamarin. I can make IN APP purchases ok. However i have a problem that when the user starts the purchase process but then hits the back ...
0
votes
0answers
19 views

How to use Flex Layout inside Listview Xamarin Forms?

How to create a Flex Layout Inside Listview Item Template? Cant find any solution to create a dynamically data binding like listview I want to create this layout using flex layout,How to create this?
0
votes
0answers
24 views

Preload DialogFragment

I have a problem. I created a Android.Support.V4.App.DialogFragment. Now I use this code to show the DialogFragment: var TransDialogFragment = SupportFragmentManager.BeginTransaction(); ...
0
votes
0answers
30 views

how to fix conflict system.Net.http

Hello I try to install the todo list azure https://developer.xamarin.com/samples/xamarin-forms/WebServices/TodoAzure/ when i compile i get a warning about systeme.net.http i found this about it but i ...
1
vote
1answer
30 views

How to Intercept Android Device Volume Up/Down Buttons to Open Camera in Xamarin Forms App?

I'm working on a Xamarin Forms app that uses a Bluetooth shutter clicker to take photos. Currently, the Bluetooth shutter activates the volume up/down buttons when being clicked. I am trying to ...
0
votes
1answer
24 views

unable to hide rows/ shrink listview items in a list view using visible property and mvvm binding

I have a toggle button and list (which has rows or labels, stack-layout in a grid). Toggle(Switch) and List View are declared in Xaml file where list's Data-cell is generated programmatically in cs ...
0
votes
0answers
27 views

Xamarin.Forms dropdown menus (ValidatablePicker) are not responsive in Android 9.0

It seems an issue that only affect Android devices running Android 9.0 A Xamarin.Forms app using MVVM pattern when deployed to an Android 9.0 device, the dropdown menus (ValidatablePickers in a ...
0
votes
0answers
33 views

HttpClient.GetAsync() hangs [duplicate]

I'm trying to consume a .NET web API with my Xamarin.Forms application. When I try to call a get command, it hangs indefinitely and never returns content. using AspireITMobileSupport.Models; using ...
0
votes
1answer
18 views

How to apply Rotation animation of line on canvas in android

I have done the code its working also but the problem is when ever i change the rotation angle its always starts from the first point not from the point where its ends in last rotation. I want like ...
0
votes
1answer
21 views

How to solve trouble with references in Xamarin project

I have a Xamarin project with Visual Studio 2017, how could I do to solve this trouble with this references that is appearing with exclamation mark?,screenshot 1, because after with the NuGet packages ...
0
votes
1answer
34 views

Xamarin.Forms bindingContext in MVVM

Further to This Question regarding BindingContext I'm looking at a Xamarin.Forms project that implements MVVM , when I look into a XAML page, for example SomePage.xaml and I want to find the ...
0
votes
0answers
33 views

How to properly save an image from android device into bitmap file?

I am creating an application with Xamarin.Android that sends an image from the camera to a web API, and on server side that image have to be saved. I have already written server server side code and ...
0
votes
1answer
23 views

How to download file in Xamarin.Forms that are in Base64 format?

I am creating an application that download and upload attachment from the Xamarin.Forms application. I am using .Net standard project and try to use with the "CrossDownloadManager" Nuget but it is ...
0
votes
0answers
17 views

Conditionally Stop or Cancel Intent in Broadcast Receiver

I am running an enerprise app in Xamarin.Android that should only disable app as Device Admin when a certain condition is true Example of my code is below: using System; using System.Collections....
1
vote
0answers
34 views

After cloning Xamarin documentation from Git repo, how can I browse it locally?

I need access to the complete Xamarin documentation locally considering the fact that the one provided through Visual Studio Help Viewer is incomplete and unpleasant to the eyes when browsing through ...
0
votes
0answers
21 views

Xamarin Long Press event in all 3 platforms (Android,iOS,UWP) on Stacklayout

Hi I want any nuget package or any custom component for Long press event which I want to use in listview for all 3 platforms .I have got solution regarding android and iOS but didn't find any solution ...
0
votes
2answers
26 views

Should I be setting the text of my ViewModel fields in the constructor or OnAppearing methods?

I have this code and I would like to know if I should be setting the value of VersionLabel here or in OnAppearing: public HomeTabPage() { InitializeComponent(); BindingContext = vm = new ...
0
votes
2answers
27 views

What does an await Task.Yield do when in a Xamarin Forms OnAppearing?

My OnAppearing code looks like this. I don't understand what this is added for: `await Task.Yield()` Can someone explain what this does? protected override async void OnAppearing() { ...
0
votes
0answers
27 views

Send data from Android Activity to Xamarin Form

I want to send data from android activity to Xamarin form. I have one content page, from where I am opening the android activity and passing the data from Xamarin app to Android activity. Now I need ...
0
votes
0answers
25 views

How to do dynamic design in xaml in xamarin forms

I need to dynamic design in xaml. Is there a method such as asp.net mvc razor or another method?
0
votes
0answers
17 views

Xamarin.Forms iOS Facebook SDK Update Not verify

I use Xamarin.Forms, but I do the necessary actions on the iOS side, but Facebook does not verify the update. and I'm new to this problem I had no such problems in advance. I using plugin: Xamarin....
0
votes
1answer
31 views

Tap event not firing command in android

I have listview template in xamarin forms as follows <ListView x:Name="lstSections" Grid.Row="0" Grid.Column="1" ItemsSource="{Binding DataList}"> <ListView.ItemTemplate> <...
0
votes
2answers
36 views

Hide header Tabbed Navigation Page Xamarin/FreshMvvm

I'm struggling with hiding the header of my TabbedNavigation Page. public class NavigationContainerNames { public const string AuthenticationContainer = "AuthenticationContainer"; public ...
0
votes
1answer
46 views

Get input from Android EditText without changing the content view

I am using Monogame and Xamarin to create a game for android. A major problem I face is accurately getting keyboard input from the soft keyboard. I am attempting to put text into an EditText and then ...
0
votes
0answers
26 views

How to open app when input url of this app on Google Chorme?

I'm coding about open app when input url of app on Google Chrome. uri-scheme But I can't open my app when I input url on Google Chrome. This is my code: <activity android:configChanges="...
1
vote
1answer
33 views

DevOps CI error for Xamarin iOS build No valid iOS code signing keys found in keychain

I have created a YAML build configuration for my Xamarin iOS app and have provided the certificate files ( p12 and mobileprovision ) but when the pipeline runs, it fails on the build step for the app. ...
0
votes
1answer
40 views

Xamarin Forms Android JSON.net Serialization

iOS is working perfectly, but Android builds are posting any empty JSON object "{}" to the webservice instead of the actual object with this line of code: myClient.Post(url,JsonConvert....
0
votes
0answers
50 views

Change RecyclerView MvvmCross for widget.RecyclerView

I have a module of my app where you can answer different questions such as text, boolean, multiple selection etc... It's built with MvvmCross RecyclerView with its adapter and its viewHolders. ...
0
votes
1answer
37 views

DidRecieveRemoteNotification not inwoked immediately when app in background

I'm trying to use Apple push notifications. Everyting works fine except when app is in background. The callback method DidRecieveRemoteNotification is sometimes not called immediately after ...
0
votes
1answer
19 views

Show a UWP Custom control within Xamarin Forms

How do I consume a custom UWP control within the Xamarin Forms project?
-4
votes
3answers
59 views

Is Anyone have a Listview Renderer for chat

I need a ListView Renderer for Chat like whatsapp. when if the new Message comes its automatically scroll down. Please let me know if have a sample for this. thanks
0
votes
0answers
30 views

xamarin - fill the text inside circle

I have been trying to make a circular TextView. Its a circle in which I want to accommodate whole space above a circular bubble as shown in image below. As text length increase. It must reduces in ...
0
votes
0answers
32 views

How to display a route?

I Followed Microsoft Docs for Highlighting a Route on a Map . It worked perfectly on an independent project (one thread application) , I'm getting the Latitude and the Longitude from a JSON file , and ...
0
votes
0answers
32 views

FFImageLoading package throws error while building [on hold]

every time i try to build in xamarin.ios the following error is shown. Can't resolve the reference 'System.String System.String::Trim(System.Char)', referenced from the method 'System.Threading....
0
votes
0answers
25 views

Camera and gallery in xamarin ios

I have an application where you need to upload a photograph taken from the camera or the gallery, if you allow me to enter the camera without problems and take the photo, likewise enter the gallery ...
-1
votes
0answers
40 views

Is it possible to found a todo list preconfigured to save data on line or have some help to build it with xamarin [on hold]

1427/5000 if you think you can help a novice looking for help, you can continue, otherwise you will lose your time;) I see that I have a -1 it's a shame it seemed to me in the description that this ...
0
votes
0answers
17 views

How could I add more android emulator devices in Visual Studio for Mac for Xamarin?

I want to add some new virtual devices for Android using Visual Studio for Mac so I could use them with Xamarin. I've followed https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/...
0
votes
0answers
20 views

Visual Studio 2019 Mac removes Android Settings and cannot revert

I am using Vs 2019 on Windows and Vs 2019 mac for the same Xamarin forms project. When I open project on VS 2019 mac, Android project has some auto changes on Droid.cs files and comparing what was ...
0
votes
0answers
26 views

How to implement a selection control like Outlook with Xamarin

I am creating an event screen like Outlook's. The issue I am coming across is that the autocompletebox I am using from Syncfusion doesn't automatically grow in height as more tokens are added. The ...
1
vote
2answers
49 views

Xamarin Forms Default value for Picker

I want to get the first data when opening my page but it doesn't. I don't know where I made the mistake. Can someone help? This my Code; Xaml <Picker FontSize="15" SelectedItem="{Binding ...
1
vote
1answer
46 views

Binding a Command not Working for ListView with Itemsource

I'm trying to add a Clickable ListView-Cell, but I'm probably getting conflicts with the binding. Each cell should be like a button navigating to a new Page including a given Object. I already tried ...