Questions tagged [xamarin]

Xamarin boasts a suite of tools including Xamarin.iOS, Xamarin.Android, Xamarin.Mac, and Xamarin Test Cloud that empower developers to create high-quality native applications for iOS, Android, and Mac devices. This platform enables you to seamlessly navigate your app's lifecycle from creation to deployment. Additionally, the integration of Xamarin.Forms now enables developers to achieve Native UI development across iOS, Android, and Windows environments.

The Content property of the HttpRequestMessage is populated with characters that are invalid and cannot be

After receiving the return from HttpRequestMessage.Contenc, it appears to be encrypted. Has anyone else experienced something similar? var client2 = new HttpClient(); client2.DefaultRequestHeaders.Accept.Clear(); client2.DefaultReq ...

What are some strategies for resolving problems with implementing Selenium WebDriver in a Xamarin mobile app?

When attempting to download Selenium.WebDriver via the NuGet Solution, I encountered an error stating: Failed to add reference. The package 'Selenium.WebDriver' tried to add a framework reference to 'System.Drawing' which was not found ...

Retrieving web services with parameters in Xamarin

Hi there, I'm new to using xamarin and I need to incorporate some JSON data with a web service call. I've attempted the following: var response = await client.GetAsync("myurl" + "?applicationid=" + applicationId + "?siteid=" + siteId + "?userid=" + ...

Xamarin Refit encountering an issue: Newtonsoft.Json.JsonSerializationException

I'm encountering some hurdles with JSON Serialization. Whenever I attempt to deserialize my JSON Object, it throws the following error : Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Proj ...

The JSON Deserialization method returned a value of 0

Greetings! I'm facing some challenges in C# (Xamarin) after following various tutorials on parsing. My main focus is on extracting the value only. Does anyone have any insights on how to resolve this issue? Below is a snippet of my JSON data: { &q ...

What was the reason behind resolving the 0 height body problem by adjusting the WebView Layout Parameter?

My Xamarin WebView was not displaying my HTML correctly. Even though it was set to fill the whole screen, the body height in the HTML remained at 0px. In addition, I had a div in the HTML with the following style: position:absolute; top:0px; bottom:0px; ...

Challenge with Adding Padding to Icon and Label

https://i.stack.imgur.com/OSCnh.png Incorporating paddingtop to the Floating Label and positioning the DrawableRight Icon in the center. <android.support.design.widget.TextInputLayout android:id="@+id/input_layout_password" android:layout_wid ...

Learn how to extract information from a JSON data array and seamlessly integrate it into an ObservableCollection using C# in Xamarin

Reviewing my JSON data { "found": 501, "posts": [ { "ID": 2500, "site_ID": 1, "date": "2014-09-26T15:58:23-10:00", "modified": "2014-09-26T15:58:23-10:00", "title": "DOD HQ Visitors Parking", "metadata": [ { "id": "15064", "key": "city", ...

When attempting to send JSON data, I encountered an issue: Unable to read JObject from JsonReader. The error occurred at Path '', line 3, position 1

An error occurred while attempting to read JObject from JsonReader. Path '', line 3, position 1. Do you have any insights as to why this issue is happening? The code I am using works when sent to parse, but when trying to send it to my own domai ...

How can we unpack JSON data and retrieve the value in C#?

I am currently working on a Xamarin App project and successfully retrieving Json data from the server. However, I am now facing an issue with reading/viewing the value of "invitation". Json Value: {"invitation":"http://example.co ...