Update Xamarin Forms libraries before start a new app

When you create a new Xamarin Forms project, the template download 28.0.1 Android libraries, but them are old because there is a new 28.0.3 version. If you try to upgrade the package, NuGet returns some errors. There are also some other libraries to update like Xamarin.Forms, Xamarin.Essentials and Microsoft.NETCore.UniversalWindowsPlatform for UWP Project. Here a sequence … Leggi tutto Update Xamarin Forms libraries before start a new app

Xamarin Forms 4.0 and AltBeacon library

Some years ago I have used AltBeacon library to interact with some Estimote beacons. Do you know AltBeacon library? I think you can read this to have all informations you need. With the help of Chris Riesco Binding and sample I have been able to create a little project that I have published on GitHub. After some years, a customer has … Leggi tutto Xamarin Forms 4.0 and AltBeacon library

Update NuGet packages before start to write some code in a Xamarin.Forms app

Hi guys. When you create a Xamarin Forms project, you can see that Xamarin.Android project has some Xamarin.Android NuGet packages that are not updated. I don't know why the Xamarin.Forms template does not download the last version of default packages. By the way we could try to update all needed packages before start to write … Leggi tutto Update NuGet packages before start to write some code in a Xamarin.Forms app

Xamarin Android and DataWedge scanning process

Hi guys, how are you? I have already written some pages about scanning barcodes. Every day I work with devices that have to scan barcodes. To add this functionality to my softwares I have always used native APIs because them give the best control to barcode scanner. Another solution is to use DataWedge,  DataWedge enables all apps … Leggi tutto Xamarin Android and DataWedge scanning process

Communication between Xamarin PCL project and Xamarin Android (iOS) project in Xamarin Forms Application

A lot of people ask how is it possible to pass data from Xamarin Android (or iOS) to Xamarin PCL project in a Xamarin Forms Application. I had the same problem in the past, when I tried to write an application that had a Barcode Reader connected via Bluetooth (you can find something here...) to … Leggi tutto Communication between Xamarin PCL project and Xamarin Android (iOS) project in Xamarin Forms Application

Open a PDF inside a WebView in Xamarin Forms (Android)

I am developing an App that should visualize a PDF document hosted online. I searched in the web but I have found nothing useful. Also this Xamarin documentation has not been useful for me. But on StackOverflow I have found two posts that have put me on the right way. The first is this. <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" … Leggi tutto Open a PDF inside a WebView in Xamarin Forms (Android)

Zebra EMDK for Xamarin and Android Virtual Device

I have a Xamarin Forms app that is deployed to a Zebra TC51 device. It works very well. TC51 is a very interesting rugged device. I use EMDK to work with integrated barcode reader. You can find a lot of information and code samples here. Now I would like to use my app without a TC51 … Leggi tutto Zebra EMDK for Xamarin and Android Virtual Device

Create a GridView with Xamarin Forms

Hi friends. Today I would like to write something about how to create a ListView with a "Grid" layout. Xamarin Forms has not a "DataGrid" component. There are some external Packages like DevExpress data grid, Telerik ListView or something on GitHub. First of all I have created a "Model" that I use to fill the ListView using System.ComponentModel; namespace ListViewWithGrid { … Leggi tutto Create a GridView with Xamarin Forms

The “XamlCTask” task failed unexpectedly

Hi folks. I continue to write some rows about Xamarin bugs because I would like to help people to solve problems I have encountered during my days with Xamarin products. Today is XamlCTask the problem. I started to encounter this problem after I have update Xamarin Forms to 2.3.4.247 (it should be last stable...) and it … Leggi tutto The “XamlCTask” task failed unexpectedly

How to create a nice rouded icon

In a post I have already described how to have a Image inside a Circle, using James Montemagno's plugin. James' plugin works with Images. Today I would like to use https://github.com/jsmarcus/Xamarin.Plugins/tree/master/Iconize that permits to use icon fonts in your Xamarin.Android, Xamarin.iOS, or Xamarin.Forms application! It uses fonts like Font Awesome and Ionicons. Results are wonderful ("ion-help-circled"):  This is the "ion-information-circled" from … Leggi tutto How to create a nice rouded icon