xamarin.forms

Xamarin Forms: How to Change the textcolor of Collectionview SelectedItem?

怎甘沉沦 提交于 2021-02-11 13:57:40
问题 I have a CarouselPage having 5 children and every child has a horizontal collection view. When selecting an item in Collectionview or swiping the pages, I need to give a different text color and need to add an underline for the selected item. I have tried like below: CarouselHomePage.cs public partial class CarouselHomePage : CarouselPage { public List<Activity> activityList { get; set; } public CarouselHomePage() { InitializeComponent(); activityList = new List<Activity>(); AddActivities();

Xamarin.Forms using Firebase Cloud Message to send notification [duplicate]

我的未来我决定 提交于 2021-02-11 13:49:16
问题 This question already has an answer here : How to setup FCM in Xamarin forms (1 answer) Closed 1 year ago . I'm need to send my Web API notification when user order something on my app, but i dont know how to send Notification to Firebase on Xamarin.Forms. Does anyone have some sample or source code to follow ? 回答1: You need to set up the Notification in specific Xamarin.Android project and Xamarin.iOS project. For Xamarin.Android : You can have a look at official document here and Remote

Webview Video fullscreen

走远了吗. 提交于 2021-02-11 13:48:09
问题 I am loading a YouTube video in my app using web-view. But the full screen option is not working. How can i achieve the full screen. My Code <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="Player.MainPage"> <StackLayout> <Label Text="Hello"/> <WebView x:Name="browser" Source=

Xamarin forms: How to parse HTML Data having video links?

和自甴很熟 提交于 2021-02-11 13:41:46
问题 I have video links(Vimeo video) and normal texts in my HTML data. I am using Xam.Plugin.HtmlLabel for parsing the HTML data. But it is not effective, the links are not clickable on the iPhone. Also, the video links are missing when coming to UI. I have added my sample HTML data here. I am using a webview for showing videos. So the video links should open on the app itself using webview or any other property. And show the remaining description as normal text. I need a UI like this. How can I

Xml parse and binding to listview on xamarin forms

自闭症网瘾萝莉.ら 提交于 2021-02-11 13:27:42
问题 Hi I am trying to parse XML in my xamarin.forms app.The xml data contains one transactionID and couple of questions with multiple answers. What Iam trying to achieve is Bind the questions in to label and and answers into dropdowns in a listview. The XML Iam getting from API <?xml version="1.0" encoding="utf-8" standalone="yes"?> <PlatformResponse> <TransactionDetails> <TransactId>39562</TransactionId> </TransactionDetails> <Response> <Questions> <Question type="1" text="Which one is correct?"

Rename a recorded file every time I save a record in xamarin

别等时光非礼了梦想. 提交于 2021-02-11 13:26:04
问题 I am saving my records using this code: string path = Android.OS.Environment.ExternalStorageDirectory.AbsolutePath; public string fileName { get; set; } fileName = Path.Combine(path, "sample.wav"); if (!recorder.IsRecording) { recorder.StopRecordingOnSilence = TimeoutSwitch.IsToggled; //Start recording var audioRecordTask = await recorder.StartRecording(); BtnDoneRec.IsEnabled = false; await audioRecordTask; RecEditor.IsEnabled = true; BtnDoneRec.IsEnabled = false; PlayButton.IsEnabled = true

Missing arm64-v8a on 64bit compatible tablet

南楼画角 提交于 2021-02-11 13:13:58
问题 I'm developping an Android app in Xamarin Forms. This development in for a specific tablet, a Galaxy Tab active 2. I'm facing constraints and want that app to be 64 bits only. In the Android options on my project, I have only arm64-v8a selected in supported architectures. During deployment of the app, I'm unable to do it because the arm64-v8a is not supported. Android ABI mismatch. You are deploying an app supporting 'arm64-v8a' ABIs to an incompatible device of ABI 'armeabi-v7a;armeabi'. You

Missing arm64-v8a on 64bit compatible tablet

眉间皱痕 提交于 2021-02-11 13:12:54
问题 I'm developping an Android app in Xamarin Forms. This development in for a specific tablet, a Galaxy Tab active 2. I'm facing constraints and want that app to be 64 bits only. In the Android options on my project, I have only arm64-v8a selected in supported architectures. During deployment of the app, I'm unable to do it because the arm64-v8a is not supported. Android ABI mismatch. You are deploying an app supporting 'arm64-v8a' ABIs to an incompatible device of ABI 'armeabi-v7a;armeabi'. You

Missing arm64-v8a on 64bit compatible tablet

你说的曾经没有我的故事 提交于 2021-02-11 13:12:15
问题 I'm developping an Android app in Xamarin Forms. This development in for a specific tablet, a Galaxy Tab active 2. I'm facing constraints and want that app to be 64 bits only. In the Android options on my project, I have only arm64-v8a selected in supported architectures. During deployment of the app, I'm unable to do it because the arm64-v8a is not supported. Android ABI mismatch. You are deploying an app supporting 'arm64-v8a' ABIs to an incompatible device of ABI 'armeabi-v7a;armeabi'. You

How to load a Picker in Xamarin forms with data received from the Web Api?

≯℡__Kan透↙ 提交于 2021-02-11 12:46:08
问题 So, this is my Model Class "Usuario" This class has the Foreign key "IdTipoUsuario" that was declared in my database from SQL Server Management Studio. So I placed it here with the "IList" property: namespace APPiGarbage.Models { public class Usuario { public int IdUsuario { get; set; } public string Nome { get; set; } public string Foto { get; set; } public string Descricao { get; set; } public string Email { get; set; } public string Senha { get; set; } public IList<TipoUsuario>