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

Annunci

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

Change Label’s TextColor in a ListView’s SelectedItem, obviously in Xamarin Forms

ListView is a common control in a Xamarin Forms Project. It works pretty nice. When you select an Item in the list, the row change its color so you understand that it's the "Selected" row. Sometimes there is the need to change the color of the text, non only the color of the row (that … Leggi tutto Change Label’s TextColor in a ListView’s SelectedItem, obviously in Xamarin Forms

Another common mistake using Xamarin Forms (and XAML): Property Content is null or is not IEnumerable

It's the second or third time in a few days that in the forum or in StackOverflow some guys has problem with XAML files. I don't use XAML (I believe to be in error, but I am a "old school" programmer and write ALL using code). I don't like it very much and I think it's another … Leggi tutto Another common mistake using Xamarin Forms (and XAML): Property Content is null or is not IEnumerable

My App crash at startup with a MissingMethodException, and I don’t know why

Xamarin is a wonderful platform. You can build native apps for multiple platforms on a shared C# codebase, using the same IDE, language and API. Like all platforms, there are (sometimes) some problems and you have to loose your time to find a solution. Today I have tried to run on a Motorola WT6000 device … Leggi tutto My App crash at startup with a MissingMethodException, and I don’t know why