Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 77050 articles
Browse latest View live

Native Linking Error on iOS Binding library

I'm not quite sure how to troubleshoot this and was hoping for some insights. I've got a Xamarin Forms solution that uses an iOS binding library I created from a 3rd party. I got new files and was able...

View Article


How can I open a local PDF on Xamarin Forms?

Lets say I saved a PDF file to my local project. How can I have a button in Xamarin Forms open the PDF in the devices default viewer? How would I be able to open it in a web browser? I tried opening it...

View Article


using scrollview with grid

how can use scrollview for this code? <StackLayout> <RelativeLayout> <Grid BackgroundColor="White" RowSpacing="1" > <Grid.RowDefinitions> <RowDefinition Height="7*" />...

View Article

Custom sound from FCM Notification?

Is there any way to play custom sound on notification receive(firebase notification) for both iOS and Android?(even if app is closed).

View Article

Playing a notification Sound on Android

I am trying to create a notification and play a sound. the following code mostly works. NotificationManager notificationManager =...

View Article


Section Index feature in Xamarin Forms

Hello everyone Is there a way to create a "Section Index" (Xamarin Android feature) in a Listview using Xamarin Forms? I´ve been searching for a while without result except for this one...

View Article

Best way to iterate through a selection of Xamarin.Forms controls?

Does anyone know a better way to loop through the children of than this: void OnSliderValueChanged(object sender, ValueChangedEventArgs args) { double value = args.NewValue; foreach (Label label in...

View Article

3D Carousel?

Hello everyone! Curious if there are any projects out there that show a carousel with the active item as larger than the two items on either side, and animate larger as the focused item is dragged into...

View Article


University Course XAM130 Step 19 Add a name to the XAML Label

I have an unresolvable error at this step, "Error CS1061 'MainPage' does not contain a definition for 'resultText' and no accessible extension method 'resultText' accepting a first argument of type...

View Article


Forms9Patch: Simplify multi-device image management in your PCL Xamarin.Forms...

Announcement of Form9Patch Xamarin Forms is great for developing apps on Android and iOS but it is missing two important tools for developers: scalable images and PCL multi-screen image management....

View Article

Assigning an id to a listview item and getting that id when that list item...

I am populating my list view with data I get from a JSON call. I get a name and a corresponding id. I populate the list view with the names as follows....

View Article

Camera access with the media plugin

Hi, I do my first steps in Xamarin Forms following a Udemy course. In order to access the the phone camera I was getting some ideas from a youtube tutorial using the media plugin. After pressing a...

View Article

How to draw using real sizes on Xamarin.Forms using SkiaSharp?

Hi. My goal is to draw a line in a fixed size in millimeters I have tried to achieve this by converting from mm to dp. I'm using this formula: private void canvasView_PaintSurface(object sender,...

View Article


Focusing on Entry Field Each Time a ContentView View Shows

I have MyView.xaml.cs and MyView.xaml (which is a ContentView) defining MyView view. MyView has an Entry field. How do I focus on that Entry field each time MyView is shown on screen? Originally, I...

View Article

set custom font in webview

I want to set my own custom font in webview. WebView Description = new WebView(this.Context); WebSettings settings = Description.Settings; settings.FixedFontFamily = "DIN-Condensed-Bold.ttf"; I have...

View Article


Browser support plans?

Hi, the company I work for is considering different C# based solutions for a industry focused product re-write that has a VERY strong desktop user interface (touches many Win32 features) and a VERY...

View Article

How can I allow only my Xamarin App to access Easy Table and Easy API?

Hi, I'm a newbie with Xamarin but have done C# programming in the past, I'm currently using Azure's Easy Table and soon Easy API. To increase security, I'd like to prevent other apps from accessing my...

View Article


How do you implement a filter on a listView?

Hi guys, So here is the current situation: I have a ListView on a page full of ListView items (like price, sort of product etc) and I have another page where I designed a filter on it (filter by price,...

View Article

Environment.SpecialFolder.Personal is a good place to store photos in my app?

I use this code in IOS var documentsDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal); but it seems that the photos are deleted every time I update the app, is there another...

View Article

IsPullToRefreshEnabled not available

IsPullToRefreshEnabled is not available when it is full. But if you remove InitializePage (); in MainPage, then everything works as it should. xaml: ListView x:Name="TasksView"...

View Article
Browsing all 77050 articles
Browse latest View live